Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.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.ChimneyShaftWithVolume,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftWithVolume",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.0008964/0.0008966, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008655/0.0008657, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.051/1.051, allocations: 135.3 MB / 426.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005015/0.0005016, allocations: 8.219 kB / 0.5071 GB, free: 5.066 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1821, allocations: 82.31 MB / 0.5875 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.5472/0.7293, allocations: 215 MB / 0.7974 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01593/0.7453, allocations: 9.789 MB / 0.807 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002751/0.7481, allocations: 55.62 kB / 0.807 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002701/0.7508, allocations: 0.8039 MB / 0.8078 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008517/0.7594, allocations: 2.652 MB / 0.8104 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005304/0.7647, allocations: 1.445 MB / 0.8118 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007432/0.7721, allocations: 5.281 MB / 0.817 GB, free: 1.82 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002407/0.7746, allocations: 1.174 MB / 0.8181 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003158/0.7778, allocations: 1.354 MB / 0.8194 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002757/0.7805, allocations: 1.405 MB / 0.8208 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005438/0.7811, allocations: 76 kB / 0.8209 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005152/0.7863, allocations: 1.617 MB / 0.8225 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009657/0.7873, allocations: 0.5724 MB / 0.823 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009057/0.7882, allocations: 408.7 kB / 0.8234 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004173/0.7924, allocations: 2.576 MB / 0.8259 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.7924, allocations: 0 / 0.8259 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.555e-06/0.7924, allocations: 0 / 0.8259 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.977e-05/0.7925, allocations: 0 / 0.8259 GB, free: 8.594 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004837/0.7973, allocations: 2.149 MB / 0.828 GB, free: 6.391 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.7974, allocations: 8.031 kB / 0.828 GB, free: 6.383 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000299/0.7977, allocations: 198.6 kB / 0.8282 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003232/0.8009, allocations: 0.526 MB / 0.8287 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002034/0.803, allocations: 1.179 MB / 0.8299 GB, free: 4.418 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.958e-05/0.8031, allocations: 102.7 kB / 0.83 GB, free: 4.316 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002282/0.8033, allocations: 136 kB / 0.8301 GB, free: 4.184 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002824/0.8061, allocations: 1.67 MB / 0.8318 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.517e-05/0.8062, allocations: 3.906 kB / 0.8318 GB, free: 2.441 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.8063, allocations: 52 kB / 0.8318 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.578e-05/0.8064, allocations: 74.5 kB / 0.8319 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002595/0.809, allocations: 1.443 MB / 0.8333 GB, free: 0.8672 MB / 0.6387 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.008962/0.818, allocations: 6.958 MB / 0.8401 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/0.8198, allocations: 1.192 MB / 0.8412 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000925/0.8207, allocations: 0.6083 MB / 0.8418 GB, free: 7.613 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008981/0.8216, allocations: 0.8672 MB / 0.8427 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001069/0.8227, allocations: 0.6102 MB / 0.8433 GB, free: 5.938 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=110): time 3.757e-06/0.8227, allocations: 0 / 0.8433 GB, free: 5.938 MB / 0.6544 GB Notification: Performance of matching and sorting (n=110): time 0.003402/0.8261, allocations: 1.573 MB / 0.8448 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/0.8262, allocations: 90.09 kB / 0.8449 GB, free: 4.258 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/0.8278, allocations: 1.186 MB / 0.8461 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001133/0.8279, allocations: 45.7 kB / 0.8461 GB, free: 3 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006827/0.8286, allocations: 0.679 MB / 0.8468 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003975/0.829, allocations: 386.3 kB / 0.8471 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.685e-05/0.8291, allocations: 24 kB / 0.8472 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.8292, allocations: 345.9 kB / 0.8475 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006944/0.8299, allocations: 417.8 kB / 0.8479 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008086/0.8307, allocations: 0.5652 MB / 0.8484 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007864/0.8315, allocations: 494.8 kB / 0.8489 GB, free: 68 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.8315, allocations: 0 / 0.8489 GB, free: 68 kB / 0.6544 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002048/0.8336, allocations: 1.21 MB / 0.8501 GB, free: 14.84 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.823e-05/0.8337, allocations: 171.5 kB / 0.8503 GB, free: 14.64 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.8337, allocations: 0 / 0.8503 GB, free: 14.64 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.8338, allocations: 12 kB / 0.8503 GB, free: 14.63 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009357/0.8347, allocations: 216.6 kB / 0.8505 GB, free: 14.42 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.8347, allocations: 7.438 kB / 0.8505 GB, free: 14.42 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.836, allocations: 177.7 kB / 0.8506 GB, free: 14.25 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.978e-05/0.8361, allocations: 35.98 kB / 0.8507 GB, free: 14.21 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.627e-06/0.8361, allocations: 7.938 kB / 0.8507 GB, free: 14.2 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001628/0.8377, allocations: 1.027 MB / 0.8517 GB, free: 13.17 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.8378, allocations: 4 kB / 0.8517 GB, free: 13.17 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.8378, allocations: 11.94 kB / 0.8517 GB, free: 13.16 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008462/0.8386, allocations: 210.8 kB / 0.8519 GB, free: 12.95 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.8386, allocations: 8 kB / 0.8519 GB, free: 12.95 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.8399, allocations: 155.3 kB / 0.8521 GB, free: 12.79 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.25e-05/0.8399, allocations: 39.98 kB / 0.8521 GB, free: 12.75 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007935/0.8407, allocations: 499.2 kB / 0.8526 GB, free: 12.26 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/0.841, allocations: 150.2 kB / 0.8527 GB, free: 12.11 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002162/0.8431, allocations: 1.243 MB / 0.8539 GB, free: 10.85 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.8432, allocations: 12 kB / 0.8539 GB, free: 10.84 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.8432, allocations: 3.938 kB / 0.854 GB, free: 10.84 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001586/0.8448, allocations: 1.012 MB / 0.8549 GB, free: 9.816 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00523/0.85, allocations: 3.166 MB / 0.858 GB, free: 6.523 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.85, allocations: 0 / 0.858 GB, free: 6.523 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.8511, allocations: 235.7 kB / 0.8583 GB, free: 6.293 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-05/0.8511, allocations: 8 kB / 0.8583 GB, free: 6.285 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.497e-05/0.8512, allocations: 27.98 kB / 0.8583 GB, free: 6.258 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.734e-06/0.8512, allocations: 4.312 kB / 0.8583 GB, free: 6.254 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.8512, allocations: 11.94 kB / 0.8583 GB, free: 6.242 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002983/0.8542, allocations: 2.004 MB / 0.8603 GB, free: 4.191 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007814/0.855, allocations: 362.9 kB / 0.8606 GB, free: 3.816 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/0.8552, allocations: 24 kB / 0.8606 GB, free: 3.793 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009995/0.8562, allocations: 113.3 kB / 0.8607 GB, free: 3.684 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.8564, allocations: 72.89 kB / 0.8608 GB, free: 3.609 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.083e-05/0.8565, allocations: 32 kB / 0.8608 GB, free: 3.578 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001076/0.8576, allocations: 0.8258 MB / 0.8616 GB, free: 2.75 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8576, allocations: 0 / 0.8616 GB, free: 2.75 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001961/0.8596, allocations: 0.8337 MB / 0.8625 GB, free: 1.914 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.U,roo.dynBal.m,roo.dynBal.mXi[1],oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.U,sha.vol.dynBal.m,sha.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3492/1.209, allocations: 3.029 MB / 0.8654 GB, free: 216.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002618/1.211, allocations: 1.61 MB / 0.867 GB, free: 216.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/1.211, allocations: 0 / 0.867 GB, free: 216.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008339/1.212, allocations: 0.5691 MB / 0.8675 GB, free: 216.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003897/1.216, allocations: 0.8279 MB / 0.8684 GB, free: 216.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01366/1.23, allocations: 9.69 MB / 0.8778 GB, free: 212.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007312/1.231, allocations: 1.368 MB / 0.8792 GB, free: 211.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001908/1.233, allocations: 453.1 kB / 0.8796 GB, free: 211.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007876/1.233, allocations: 0.6279 MB / 0.8802 GB, free: 211 MB / 0.67 GB Notification: Performance of SimCode: time 7.41e-07/1.233, allocations: 4 kB / 0.8802 GB, free: 211 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0875/1.321, allocations: 41.67 MB / 0.9209 GB, free: 201.1 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/1.321, allocations: 226.5 kB / 0.9211 GB, free: 200.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.841/4.163, allocations: 0 / 0.9211 GB, free: 200.8 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1) Environment - environmentSimulation: