Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_NaturalVentilation",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.00176/0.00176, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001781/0.001781, allocations: 192.9 kB / 16.25 MB, free: 6.621 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.088/1.088, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7454/0.7454, allocations: 135.1 MB / 425.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 63.73 kB / 0.505 GB, free: 5.539 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1167, allocations: 80.93 MB / 0.584 GB, free: 4.773 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.3254/0.4422, allocations: 199.4 MB / 0.7787 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008112/0.4503, allocations: 7.346 MB / 0.7858 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004432/0.4508, allocations: 31.81 kB / 0.7859 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.452, allocations: 0.6221 MB / 0.7865 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003566/0.4556, allocations: 2.249 MB / 0.7887 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.4575, allocations: 1.134 MB / 0.7898 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002287/0.4598, allocations: 2.91 MB / 0.7926 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008559/0.4607, allocations: 0.9321 MB / 0.7935 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000925/0.4616, allocations: 1.031 MB / 0.7945 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001372/0.463, allocations: 1.039 MB / 0.7956 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.4631, allocations: 112 kB / 0.7957 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002451/0.4656, allocations: 2.221 MB / 0.7978 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003311/0.4659, allocations: 454.7 kB / 0.7983 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005036/0.4664, allocations: 0.665 MB / 0.7989 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002156/0.4686, allocations: 2.54 MB / 0.8014 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.4686, allocations: 0 / 0.8014 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.496e-06/0.4686, allocations: 8 kB / 0.8014 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.4686, allocations: 3.938 kB / 0.8014 GB, free: 14.46 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002487/0.4711, allocations: 1.624 MB / 0.803 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.4712, allocations: 12.03 kB / 0.803 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001351/0.4713, allocations: 135.3 kB / 0.8031 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/0.4734, allocations: 374.3 kB / 0.8035 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009615/0.4744, allocations: 0.8161 MB / 0.8043 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.71e-05/0.4744, allocations: 66 kB / 0.8044 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.4745, allocations: 91.89 kB / 0.8044 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.4759, allocations: 1.038 MB / 0.8055 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.4759, allocations: 0 / 0.8055 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.941e-05/0.476, allocations: 35.98 kB / 0.8055 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-05/0.4761, allocations: 45.98 kB / 0.8055 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.4773, allocations: 0.8744 MB / 0.8064 GB, free: 9.227 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003665/0.481, allocations: 4.276 MB / 0.8106 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008723/0.4819, allocations: 0.6803 MB / 0.8112 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006242/0.4825, allocations: 455 kB / 0.8117 GB, free: 3.465 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000534/0.483, allocations: 0.6732 MB / 0.8123 GB, free: 2.641 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.4831, allocations: 43.12 kB / 0.8124 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 2.876e-06/0.4831, allocations: 0 / 0.8124 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.001521/0.4846, allocations: 0.9899 MB / 0.8133 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.4847, allocations: 71.91 kB / 0.8134 GB, free: 1.516 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005948/0.4853, allocations: 0.6295 MB / 0.814 GB, free: 0.8789 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.898e-05/0.4853, allocations: 41.7 kB / 0.8141 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002308/0.4856, allocations: 436 kB / 0.8145 GB, free: 408 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.4857, allocations: 248.3 kB / 0.8147 GB, free: 156 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.4859, allocations: 114.3 kB / 0.8148 GB, free: 32 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.486, allocations: 390.8 kB / 0.8152 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003784/0.4864, allocations: 277.2 kB / 0.8155 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004323/0.4868, allocations: 366.8 kB / 0.8158 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008311/0.4877, allocations: 0.6587 MB / 0.8164 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4877, allocations: 0 / 0.8164 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001032/0.4887, allocations: 0.7903 MB / 0.8172 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.4888, allocations: 14.22 kB / 0.8172 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4888, allocations: 0 / 0.8172 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.4888, allocations: 4 kB / 0.8172 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005602/0.4893, allocations: 143.8 kB / 0.8174 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.4894, allocations: 15.86 kB / 0.8174 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006881/0.4901, allocations: 95.39 kB / 0.8175 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/0.4901, allocations: 24 kB / 0.8175 GB, free: 13.22 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0002959/0.4904, allocations: 289.6 kB / 0.8178 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.4905, allocations: 79.06 kB / 0.8179 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.4917, allocations: 0.7881 MB / 0.8186 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-06/0.4917, allocations: 11.94 kB / 0.8186 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4917, allocations: 0.875 kB / 0.8186 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009142/0.4927, allocations: 0.8191 MB / 0.8194 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/0.4948, allocations: 1.848 MB / 0.8212 GB, free: 9.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.4948, allocations: 3.984 kB / 0.8212 GB, free: 9.266 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007315/0.4955, allocations: 171.8 kB / 0.8214 GB, free: 9.098 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.4956, allocations: 4 kB / 0.8214 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-05/0.4956, allocations: 15.94 kB / 0.8214 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.4956, allocations: 4 kB / 0.8214 GB, free: 9.078 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4956, allocations: 0 / 0.8214 GB, free: 9.078 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.4971, allocations: 1.275 MB / 0.8227 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002804/0.4974, allocations: 247.9 kB / 0.8229 GB, free: 7.527 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.4975, allocations: 19.98 kB / 0.8229 GB, free: 7.508 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006353/0.4982, allocations: 67.8 kB / 0.823 GB, free: 7.441 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.574e-05/0.4983, allocations: 44.5 kB / 0.823 GB, free: 7.398 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.099e-05/0.4983, allocations: 23.98 kB / 0.8231 GB, free: 7.375 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004263/0.4988, allocations: 455 kB / 0.8235 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4988, allocations: 8 kB / 0.8235 GB, free: 6.93 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005796/0.4994, allocations: 331.2 kB / 0.8238 GB, free: 6.605 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 70 * 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 Backend phase and start with SimCode phase: time 0.001889/0.5013, allocations: 1.912 MB / 0.8257 GB, free: 4.656 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001282/0.5025, allocations: 0.824 MB / 0.8265 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5026, allocations: 0 / 0.8265 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004463/0.503, allocations: 371 kB / 0.8268 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/0.5049, allocations: 0.542 MB / 0.8274 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00835/0.5133, allocations: 7.538 MB / 0.8347 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005323/0.5138, allocations: 1.089 MB / 0.8358 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006988/0.5145, allocations: 227.2 kB / 0.836 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004229/0.5149, allocations: 363.3 kB / 0.8364 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.5149, allocations: 0 / 0.8364 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03645/0.5514, allocations: 24.92 MB / 0.8607 GB, free: 1.039 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/0.5516, allocations: 206.5 kB / 0.8609 GB, free: 0.7812 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/2.484, allocations: 0 / 0.8609 GB, free: 0.7812 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_NaturalVentilation.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)