Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow,fileNamePrefix="IDEAS_IDEAS_Examples_TwinHouses_BaseClasses_Data_ValidationDataO5Exp1_Airflow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow,fileNamePrefix="IDEAS_IDEAS_Examples_TwinHouses_BaseClasses_Data_ValidationDataO5Exp1_Airflow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006177/0.006177, allocations: 99.45 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 192.2 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7731/0.7731, allocations: 132.2 MB / 422.7 MB, free: 6.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.89 kB / 0.5809 GB, free: 24.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1722, allocations: 80.2 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow): time 0.003578/0.1758, allocations: 2.009 MB / 0.6612 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002375/0.1782, allocations: 1.526 MB / 0.6626 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.1784, allocations: 3.938 kB / 0.6627 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000349/0.1788, allocations: 51.62 kB / 0.6627 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004541/0.1793, allocations: 123.3 kB / 0.6628 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.1796, allocations: 107.6 kB / 0.6629 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005631/0.1802, allocations: 0.5547 MB / 0.6635 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0144/0.1946, allocations: 16.3 kB / 0.6635 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006646/0.1953, allocations: 203.4 kB / 0.6637 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003795/0.1957, allocations: 243.4 kB / 0.6639 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.1959, allocations: 40 kB / 0.6639 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003154/0.1962, allocations: 112 kB / 0.664 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001886/0.1964, allocations: 183.4 kB / 0.6642 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003014/0.1967, allocations: 242.4 kB / 0.6645 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008084/0.1975, allocations: 0.607 MB / 0.665 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1975, allocations: 0 / 0.665 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.552e-06/0.1975, allocations: 0 / 0.665 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.713e-05/0.1976, allocations: 4 kB / 0.6651 GB, free: 4.719 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.004291/0.2019, allocations: 0.8425 MB / 0.6659 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.2019, allocations: 8.031 kB / 0.6659 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/0.202, allocations: 78.72 kB / 0.666 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.2022, allocations: 60.56 kB / 0.666 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.2036, allocations: 0.5185 MB / 0.6665 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.497e-05/0.2037, allocations: 33.3 kB / 0.6666 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002165/0.2039, allocations: 39.92 kB / 0.6666 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.2051, allocations: 490 kB / 0.6671 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003158/0.2055, allocations: 0 / 0.6671 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.135e-05/0.2055, allocations: 19.94 kB / 0.6671 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.2055, allocations: 11.98 kB / 0.6671 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002507/0.2081, allocations: 2.2 MB / 0.6692 GB, free: 324 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.21, allocations: 0.9849 MB / 0.6702 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003657/0.2137, allocations: 1.453 MB / 0.6716 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002738/0.214, allocations: 166.1 kB / 0.6718 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005004/0.2145, allocations: 32.41 kB / 0.6718 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008767/0.2154, allocations: 273.3 kB / 0.6721 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=48): time 3.507e-06/0.2154, allocations: 0 / 0.6721 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.002252/0.2176, allocations: 0.8073 MB / 0.6729 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.2178, allocations: 81.55 kB / 0.6729 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005985/0.2184, allocations: 413.9 kB / 0.6733 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.333e-05/0.2184, allocations: 49.69 kB / 0.6734 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.2186, allocations: 229 kB / 0.6736 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.2188, allocations: 190.5 kB / 0.6738 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.2189, allocations: 90.11 kB / 0.6739 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.2191, allocations: 358.7 kB / 0.6742 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/0.2194, allocations: 168.7 kB / 0.6744 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/0.2197, allocations: 203.3 kB / 0.6746 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005807/0.2203, allocations: 390.4 kB / 0.6749 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.2203, allocations: 0 / 0.6749 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00103/0.2213, allocations: 0.785 MB / 0.6757 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.2214, allocations: 7.984 kB / 0.6757 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2214, allocations: 0 / 0.6757 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002762/0.2216, allocations: 7.984 kB / 0.6757 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.222, allocations: 99.83 kB / 0.6758 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.222, allocations: 0 / 0.6758 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.2221, allocations: 27.8 kB / 0.6758 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.449e-05/0.2222, allocations: 20 kB / 0.6759 GB, free: 9.383 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.CONTAMdata.nextTimeEvent,$whenCondition1,CONTAMdata.nextTimeEventScaled,$PRE.CONTAMdata.nextTimeEventScaled,CONTAMdata.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002432/0.2224, allocations: 216.1 kB / 0.6761 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.2225, allocations: 47.72 kB / 0.6761 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001613/0.2227, allocations: 81.16 kB / 0.6762 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.2227, allocations: 8 kB / 0.6762 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.2227, allocations: 0 / 0.6762 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.2227, allocations: 3.984 kB / 0.6762 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005247/0.2233, allocations: 0.5052 MB / 0.6767 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.2233, allocations: 0 / 0.6767 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.2235, allocations: 87.91 kB / 0.6768 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.2235, allocations: 4 kB / 0.6768 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.505e-05/0.2236, allocations: 19.98 kB / 0.6768 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.2236, allocations: 7.984 kB / 0.6768 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.2236, allocations: 3.984 kB / 0.6768 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.2246, allocations: 0.7083 MB / 0.6775 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.2247, allocations: 132.7 kB / 0.6776 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.145e-05/0.2248, allocations: 19.98 kB / 0.6776 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.2249, allocations: 8 kB / 0.6777 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004199/0.2253, allocations: 40.39 kB / 0.6777 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.557e-05/0.2254, allocations: 23.98 kB / 0.6777 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003015/0.2257, allocations: 299.1 kB / 0.678 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2257, allocations: 0 / 0.678 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003783/0.2261, allocations: 115.8 kB / 0.6781 GB, free: 6.98 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,CONTAMdata.nextTimeEvent,CONTAMdata.nextTimeEventScaled) * Number of discrete states: 2 (CONTAMdata.nextTimeEventScaled,CONTAMdata.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005801/0.2319, allocations: 1.625 MB / 0.6797 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001821/0.2337, allocations: 413 kB / 0.6801 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.2338, allocations: 0 / 0.6801 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003736/0.2342, allocations: 214.4 kB / 0.6803 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004802/0.2346, allocations: 61.73 kB / 0.6804 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005571/0.2402, allocations: 4.283 MB / 0.6845 GB, free: 496 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004449/0.2407, allocations: 0.8603 MB / 0.6854 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000335/0.2411, allocations: 162.4 kB / 0.6855 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000331/0.2414, allocations: 223.3 kB / 0.6857 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of SimCode: time 1.182e-06/0.2414, allocations: 0 / 0.6857 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1588/0.4003, allocations: 10.35 MB / 0.6959 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.651/10.05, allocations: 7.203 kB / 0.6959 GB, free: 5.055 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe ; mkfifo IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe ; head -c 1048576 < IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe >> ../files/IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow_res.csv --start-time 1.5e+07 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 900.016 IDEAS_IDEAS_Examples_TwinHouses_BaseClasses_Data_ValidationDataO5Exp1_Airflow.fmu > IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe 2>&1)