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.008719/0.008719, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001648/0.001648, allocations: 201.7 kB / 16.68 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 2.033/2.033, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.185/1.185, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 59.91 kB / 0.5809 GB, free: 8.062 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5328/0.5348, allocations: 80.21 MB / 0.6592 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow): time 0.003522/0.5383, allocations: 2.011 MB / 0.6612 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002426/0.5408, allocations: 1.521 MB / 0.6626 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.541, allocations: 5.125 kB / 0.6627 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003873/0.5414, allocations: 52.17 kB / 0.6627 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003921/0.5418, allocations: 100.6 kB / 0.6628 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004077/0.5422, allocations: 109.9 kB / 0.6629 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006654/0.5429, allocations: 0.5543 MB / 0.6634 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.024e-05/0.543, allocations: 18.62 kB / 0.6635 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01209/0.5551, allocations: 196.2 kB / 0.6636 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004155/0.5556, allocations: 246.1 kB / 0.6639 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.407e-05/0.5557, allocations: 49.19 kB / 0.6639 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003869/0.5561, allocations: 116.1 kB / 0.664 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.5562, allocations: 178.9 kB / 0.6642 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002454/0.5565, allocations: 241.3 kB / 0.6644 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007733/0.5573, allocations: 0.6004 MB / 0.665 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.5573, allocations: 0 / 0.665 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5573, allocations: 1.562 kB / 0.665 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003953/0.5577, allocations: 0 / 0.665 GB, free: 6.016 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.004735/0.5624, allocations: 0.847 MB / 0.6659 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.19e-05/0.5625, allocations: 13.16 kB / 0.6659 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003816/0.5629, allocations: 71.84 kB / 0.6659 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.5631, allocations: 59.81 kB / 0.666 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.5646, allocations: 0.5236 MB / 0.6665 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003727/0.565, allocations: 28.38 kB / 0.6665 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.818e-05/0.5651, allocations: 41.45 kB / 0.6666 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.5671, allocations: 490.3 kB / 0.667 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004656/0.5675, allocations: 0 / 0.667 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/0.5676, allocations: 14.56 kB / 0.6671 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.5676, allocations: 16.78 kB / 0.6671 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002887/0.5705, allocations: 2.203 MB / 0.6692 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002253/0.5728, allocations: 0.9799 MB / 0.6702 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003867/0.5767, allocations: 1.453 MB / 0.6716 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000289/0.577, allocations: 167.1 kB / 0.6718 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003878/0.5774, allocations: 35.02 kB / 0.6718 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008546/0.5782, allocations: 272.9 kB / 0.6721 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=48): time 3.787e-06/0.5782, allocations: 4 kB / 0.6721 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48): time 0.002513/0.5808, allocations: 0.8009 MB / 0.6728 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.5808, allocations: 83.36 kB / 0.6729 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005436/0.5814, allocations: 412.1 kB / 0.6733 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.367e-05/0.5815, allocations: 49.34 kB / 0.6734 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.5816, allocations: 232.1 kB / 0.6736 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.5818, allocations: 188.1 kB / 0.6738 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.5819, allocations: 85.23 kB / 0.6738 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.828e-05/0.582, allocations: 364.6 kB / 0.6742 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002701/0.5823, allocations: 163.9 kB / 0.6743 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003207/0.5826, allocations: 207.8 kB / 0.6745 GB, free: 392 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006147/0.5833, allocations: 383 kB / 0.6749 GB, free: 192 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5833, allocations: 1.188 kB / 0.6749 GB, free: 192 kB / 0.4981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001336/0.5846, allocations: 0.7905 MB / 0.6757 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.5846, allocations: 5.688 kB / 0.6757 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.5847, allocations: 3.984 kB / 0.6757 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004174/0.5851, allocations: 6.531 kB / 0.6757 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.5854, allocations: 94.77 kB / 0.6758 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.5854, allocations: 2.281 kB / 0.6758 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.5856, allocations: 41.61 kB / 0.6758 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.985e-05/0.5857, allocations: 20 kB / 0.6758 GB, free: 15.87 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.0003527/0.586, allocations: 208.3 kB / 0.676 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.812e-05/0.5861, allocations: 49.75 kB / 0.6761 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000212/0.5864, allocations: 91.64 kB / 0.6762 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.5864, allocations: 8.109 kB / 0.6762 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.5864, allocations: 5.312 kB / 0.6762 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.5864, allocations: 3.984 kB / 0.6762 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006799/0.5871, allocations: 0.4988 MB / 0.6767 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.5871, allocations: 0 / 0.6767 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.5874, allocations: 84.66 kB / 0.6768 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.5874, allocations: 6.75 kB / 0.6768 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.799e-05/0.5874, allocations: 17.61 kB / 0.6768 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.331e-06/0.5874, allocations: 6.734 kB / 0.6768 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.5874, allocations: 0 / 0.6768 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.5886, allocations: 0.7057 MB / 0.6775 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.5888, allocations: 121.1 kB / 0.6776 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.901e-05/0.5889, allocations: 25.08 kB / 0.6776 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.44e-05/0.589, allocations: 10.94 kB / 0.6776 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004001/0.5894, allocations: 37.33 kB / 0.6777 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.836e-05/0.5894, allocations: 25.08 kB / 0.6777 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004426/0.5899, allocations: 305.5 kB / 0.678 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5899, allocations: 0 / 0.678 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004855/0.5904, allocations: 117.6 kB / 0.6781 GB, free: 14.52 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.004758/0.5952, allocations: 1.616 MB / 0.6797 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002451/0.5977, allocations: 416.6 kB / 0.6801 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.5977, allocations: 5.156 kB / 0.6801 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000406/0.5981, allocations: 208.9 kB / 0.6803 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006582/0.5988, allocations: 68.44 kB / 0.6803 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00669/0.6055, allocations: 4.283 MB / 0.6845 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005963/0.6061, allocations: 0.8666 MB / 0.6854 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004718/0.6066, allocations: 155.7 kB / 0.6855 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003731/0.607, allocations: 219.7 kB / 0.6857 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of SimCode: time 6.21e-07/0.607, allocations: 5.094 kB / 0.6857 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2057/0.8127, allocations: 10.35 MB / 0.6958 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.96, allocations: 11.16 kB / 0.6958 GB, free: 0.6094 MB / 0.5137 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)