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.006378/0.006377, allocations: 99.69 kB / 15.73 MB, free: 6.039 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.001383/0.001383, allocations: 187 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7811/0.7811, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001238, allocations: 59.91 kB / 0.5809 GB, free: 8.07 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4714/0.4727, allocations: 80.21 MB / 0.6592 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow): time 0.003144/0.4759, allocations: 2.004 MB / 0.6612 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002106/0.478, allocations: 1.525 MB / 0.6626 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.4781, allocations: 1.125 kB / 0.6626 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003298/0.4785, allocations: 52.55 kB / 0.6627 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003556/0.4789, allocations: 107.6 kB / 0.6628 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003491/0.4793, allocations: 105.3 kB / 0.6629 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005822/0.4799, allocations: 0.5585 MB / 0.6634 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.809e-05/0.4799, allocations: 22.98 kB / 0.6635 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003701/0.4803, allocations: 197.4 kB / 0.6637 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002873/0.4806, allocations: 245.6 kB / 0.6639 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.754e-05/0.4807, allocations: 40.78 kB / 0.6639 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002465/0.4809, allocations: 116 kB / 0.664 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.4811, allocations: 185 kB / 0.6642 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.4813, allocations: 235 kB / 0.6644 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005745/0.4819, allocations: 0.6064 MB / 0.665 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.4819, allocations: 0 / 0.665 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4819, allocations: 0 / 0.665 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.4819, allocations: 1.344 kB / 0.665 GB, free: 6.012 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.001018/0.4829, allocations: 0.8197 MB / 0.6658 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.483, allocations: 13.92 kB / 0.6658 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.152e-05/0.4831, allocations: 78.56 kB / 0.6659 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.4832, allocations: 61.25 kB / 0.666 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007566/0.484, allocations: 0.519 MB / 0.6665 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.484, allocations: 27.19 kB / 0.6665 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.398e-05/0.4841, allocations: 39 kB / 0.6665 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007012/0.4848, allocations: 488.7 kB / 0.667 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.4848, allocations: 1.219 kB / 0.667 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/0.4849, allocations: 14.16 kB / 0.667 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.4849, allocations: 13.53 kB / 0.667 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002523/0.4874, allocations: 2.204 MB / 0.6692 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.4888, allocations: 0.9743 MB / 0.6701 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003292/0.4921, allocations: 1.458 MB / 0.6716 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002687/0.4924, allocations: 174.9 kB / 0.6717 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.906e-05/0.4924, allocations: 35.5 kB / 0.6718 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004647/0.4929, allocations: 270.4 kB / 0.672 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=48): time 2.735e-06/0.4929, allocations: 0 / 0.672 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48): time 0.00136/0.4943, allocations: 0.7998 MB / 0.6728 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.4944, allocations: 90.33 kB / 0.6729 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004467/0.4948, allocations: 411.9 kB / 0.6733 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.825e-05/0.4949, allocations: 46.67 kB / 0.6733 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.495, allocations: 231.2 kB / 0.6736 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.4951, allocations: 179.2 kB / 0.6737 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.4952, allocations: 85.84 kB / 0.6738 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.353e-05/0.4953, allocations: 363.8 kB / 0.6742 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/0.4956, allocations: 160.6 kB / 0.6743 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002916/0.4959, allocations: 207.5 kB / 0.6745 GB, free: 428 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005429/0.4965, allocations: 383.2 kB / 0.6749 GB, free: 228 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.4965, allocations: 0 / 0.6749 GB, free: 228 kB / 0.4981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001133/0.4976, allocations: 0.791 MB / 0.6756 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.4976, allocations: 4.594 kB / 0.6756 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.4977, allocations: 1.375 kB / 0.6756 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.4977, allocations: 5.438 kB / 0.6756 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002909/0.498, allocations: 95.52 kB / 0.6757 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.498, allocations: 5.312 kB / 0.6757 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.4982, allocations: 30.5 kB / 0.6758 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.303e-05/0.4982, allocations: 25.3 kB / 0.6758 GB, free: 15.91 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.0002894/0.4985, allocations: 210.9 kB / 0.676 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.4986, allocations: 45.94 kB / 0.676 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.4988, allocations: 86.84 kB / 0.6761 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.4988, allocations: 8.469 kB / 0.6761 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.4988, allocations: 1 kB / 0.6761 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.4988, allocations: 3.984 kB / 0.6761 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005511/0.4994, allocations: 0.5023 MB / 0.6766 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4994, allocations: 0 / 0.6766 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/0.4997, allocations: 86.27 kB / 0.6767 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.4997, allocations: 1.656 kB / 0.6767 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/0.4997, allocations: 22.45 kB / 0.6767 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.4997, allocations: 5.25 kB / 0.6767 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4997, allocations: 0 / 0.6767 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.5008, allocations: 0.7181 MB / 0.6774 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.783e-05/0.5009, allocations: 116.4 kB / 0.6776 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.041e-05/0.5009, allocations: 20.44 kB / 0.6776 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.501, allocations: 7.344 kB / 0.6776 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.712e-05/0.5011, allocations: 41.31 kB / 0.6776 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.652e-05/0.5012, allocations: 25.3 kB / 0.6776 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003324/0.5015, allocations: 301.2 kB / 0.6779 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5015, allocations: 0 / 0.6779 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004317/0.502, allocations: 114.2 kB / 0.678 GB, free: 14.57 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.002653/0.5046, allocations: 1.624 MB / 0.6796 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000914/0.5056, allocations: 410.4 kB / 0.68 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5056, allocations: 0 / 0.68 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003906/0.506, allocations: 216.7 kB / 0.6802 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004652/0.5065, allocations: 58.47 kB / 0.6803 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006781/0.5133, allocations: 4.272 MB / 0.6845 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005559/0.5138, allocations: 0.8593 MB / 0.6853 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004395/0.5143, allocations: 154.6 kB / 0.6854 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003719/0.5147, allocations: 225.4 kB / 0.6857 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of SimCode: time 1.443e-06/0.5147, allocations: 0 / 0.6857 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08126/0.5959, allocations: 10.58 MB / 0.696 GB, free: 492 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.846/9.442, allocations: 4.594 kB / 0.696 GB, free: 488 kB / 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Examples_TwinHouses_BaseClasses_Data_ValidationDataO5Exp1_Airflow_fmu --startTime=1.5e+07 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Examples_TwinHouses_BaseClasses_Data_ValidationDataO5Exp1_Airflow.fmu > IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe 2>&1)