Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="IDEAS_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.000938/0.0009382, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001013/0.001013, allocations: 177.3 kB / 15.95 MB, free: 216 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.365/1.365, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7514/0.7514, allocations: 132.2 MB / 423.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003709/0.0003711, allocations: 8.562 kB / 0.5033 GB, free: 4.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5031/0.5035, allocations: 81.57 MB / 0.583 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.216/0.7196, allocations: 193.5 MB / 0.7719 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01586/0.7355, allocations: 10.35 MB / 0.782 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002519/0.738, allocations: 47.69 kB / 0.7821 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003473/0.7415, allocations: 1.062 MB / 0.7831 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009655/0.7512, allocations: 2.96 MB / 0.786 GB, free: 124 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005329/0.7565, allocations: 1.581 MB / 0.7876 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005792/0.7623, allocations: 2.538 MB / 0.79 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002693/0.7651, allocations: 1.198 MB / 0.7912 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003339/0.7684, allocations: 1.25 MB / 0.7924 GB, free: 9.535 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0022/0.7707, allocations: 0.9415 MB / 0.7934 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005652/0.7712, allocations: 76 kB / 0.7934 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004512/0.7758, allocations: 1.353 MB / 0.7947 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009746/0.7768, allocations: 0.5258 MB / 0.7953 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008074/0.7776, allocations: 408.7 kB / 0.7957 GB, free: 6.227 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00384/0.7814, allocations: 2.377 MB / 0.798 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.7815, allocations: 0 / 0.798 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7815, allocations: 4 kB / 0.798 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.497e-05/0.7815, allocations: 3.938 kB / 0.798 GB, free: 3.836 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004892/0.7864, allocations: 2.081 MB / 0.8 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.7865, allocations: 8.031 kB / 0.8 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000272/0.7867, allocations: 202.6 kB / 0.8002 GB, free: 1.484 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003288/0.79, allocations: 0.5284 MB / 0.8007 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00232/0.7924, allocations: 1.186 MB / 0.8019 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.738e-05/0.7925, allocations: 102.7 kB / 0.802 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002004/0.7927, allocations: 139.9 kB / 0.8021 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002742/0.7954, allocations: 1.654 MB / 0.8037 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.7955, allocations: 7.906 kB / 0.8037 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/0.7956, allocations: 56 kB / 0.8038 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.107e-05/0.7957, allocations: 70.56 kB / 0.8039 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002557/0.7983, allocations: 1.439 MB / 0.8053 GB, free: 12.17 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.009694/0.808, allocations: 6.95 MB / 0.8121 GB, free: 4.762 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/0.8098, allocations: 1.196 MB / 0.8132 GB, free: 3.527 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006987/0.8105, allocations: 0.6853 MB / 0.8139 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/0.8115, allocations: 0.6102 MB / 0.8145 GB, free: 2.078 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=110): time 3.927e-06/0.8116, allocations: 0 / 0.8145 GB, free: 2.078 MB / 0.6387 GB Notification: Performance of matching and sorting (n=110): time 0.003085/0.8146, allocations: 1.584 MB / 0.816 GB, free: 500 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.8147, allocations: 86.11 kB / 0.8161 GB, free: 396 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3121/1.127, allocations: 1.181 MB / 0.8173 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002554/1.127, allocations: 47.61 kB / 0.8173 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005497/1.128, allocations: 0.6751 MB / 0.818 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004185/1.128, allocations: 385.4 kB / 0.8183 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.454e-05/1.128, allocations: 19.81 kB / 0.8184 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.627e-05/1.128, allocations: 344.3 kB / 0.8187 GB, free: 217.6 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008011/1.129, allocations: 420.6 kB / 0.8191 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009174/1.13, allocations: 0.5616 MB / 0.8196 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008952/1.131, allocations: 496.7 kB / 0.8201 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/1.131, allocations: 0 / 0.8201 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00245/1.133, allocations: 1.216 MB / 0.8213 GB, free: 216.4 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002002/1.134, allocations: 0.9795 MB / 0.8223 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/1.134, allocations: 2.969 kB / 0.8223 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/1.134, allocations: 8.125 kB / 0.8223 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/1.135, allocations: 226.1 kB / 0.8225 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/1.135, allocations: 10.77 kB / 0.8225 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/1.136, allocations: 162.7 kB / 0.8226 GB, free: 215.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-05/1.136, allocations: 37.14 kB / 0.8227 GB, free: 215.3 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/1.136, allocations: 5.906 kB / 0.8227 GB, free: 215.3 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001918/1.138, allocations: 1.035 MB / 0.8237 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.138, allocations: 2.25 kB / 0.8237 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/1.138, allocations: 10.67 kB / 0.8237 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009773/1.139, allocations: 210.6 kB / 0.8239 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/1.139, allocations: 10.91 kB / 0.8239 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/1.141, allocations: 160.1 kB / 0.8241 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.921e-05/1.141, allocations: 43.03 kB / 0.8241 GB, free: 214.8 MB / 0.6387 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.0008724/1.142, allocations: 489.9 kB / 0.8246 GB, free: 214.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002503/1.142, allocations: 148.2 kB / 0.8247 GB, free: 214.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0029/1.145, allocations: 1.24 MB / 0.8259 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/1.145, allocations: 14.11 kB / 0.826 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/1.145, allocations: 2.141 kB / 0.826 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002014/1.147, allocations: 1.013 MB / 0.8269 GB, free: 213.4 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006778/1.154, allocations: 3.163 MB / 0.83 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/1.154, allocations: 6.172 kB / 0.83 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/1.155, allocations: 240.1 kB / 0.8303 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.742e-05/1.155, allocations: 6.75 kB / 0.8303 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.198e-05/1.155, allocations: 28.27 kB / 0.8303 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.365e-05/1.155, allocations: 10.77 kB / 0.8303 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.155, allocations: 3 kB / 0.8303 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004109/1.159, allocations: 2.137 MB / 0.8324 GB, free: 210.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/1.161, allocations: 361.1 kB / 0.8327 GB, free: 210.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002159/1.161, allocations: 25.17 kB / 0.8328 GB, free: 210.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/1.162, allocations: 121.7 kB / 0.8329 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002225/1.162, allocations: 76.48 kB / 0.833 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-05/1.162, allocations: 41.92 kB / 0.833 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001323/1.164, allocations: 0.8145 MB / 0.8338 GB, free: 210 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.81e-07/1.164, allocations: 0 / 0.8338 GB, free: 210 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002504/1.166, allocations: 0.8415 MB / 0.8346 GB, free: 209.8 MB / 0.6387 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.004616/1.171, allocations: 3.833 MB / 0.8384 GB, free: 207.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002849/1.174, allocations: 1.603 MB / 0.8399 GB, free: 206.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.174, allocations: 1.062 kB / 0.8399 GB, free: 206.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009736/1.175, allocations: 0.5717 MB / 0.8405 GB, free: 206.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003801/1.178, allocations: 0.8019 MB / 0.8413 GB, free: 206.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/1.191, allocations: 11.09 MB / 0.8521 GB, free: 199 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007162/1.192, allocations: 1.397 MB / 0.8535 GB, free: 198 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001848/1.194, allocations: 456.8 kB / 0.8539 GB, free: 197.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007239/1.195, allocations: 0.6272 MB / 0.8545 GB, free: 197.2 MB / 0.6387 GB Notification: Performance of SimCode: time 8.41e-07/1.195, allocations: 0 / 0.8545 GB, free: 197.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05818/1.253, allocations: 41.6 MB / 0.8951 GB, free: 156.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/1.253, allocations: 226.7 kB / 0.8954 GB, free: 155.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.926/4.179, allocations: 4 kB / 0.8954 GB, free: 155.9 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1) Environment - environmentSimulation: