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-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: translateModel(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 99.7 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.001608/0.001609, 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.659/1.659, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.035/1.035, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003678, allocations: 8 kB / 0.5068 GB, free: 5.277 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2029, allocations: 82.32 MB / 0.5872 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.5475/0.7505, allocations: 193.5 MB / 0.7762 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0158/0.7663, allocations: 10.33 MB / 0.7863 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002384/0.7688, allocations: 51.69 kB / 0.7863 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003422/0.7722, allocations: 1.062 MB / 0.7873 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008951/0.7812, allocations: 2.96 MB / 0.7902 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004578/0.7858, allocations: 1.585 MB / 0.7918 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004465/0.7903, allocations: 2.546 MB / 0.7943 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001678/0.792, allocations: 1.197 MB / 0.7954 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002279/0.7943, allocations: 1.25 MB / 0.7967 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00121/0.7955, allocations: 0.9337 MB / 0.7976 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.7957, allocations: 76 kB / 0.7976 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003706/0.7994, allocations: 1.361 MB / 0.799 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006157/0.8, allocations: 0.5258 MB / 0.7995 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005219/0.8005, allocations: 408.7 kB / 0.7999 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002909/0.8034, allocations: 2.369 MB / 0.8022 GB, free: 344 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.8035, allocations: 0 / 0.8022 GB, free: 344 kB / 0.6075 GB Notification: Performance of FrontEnd: time 2.584e-06/0.8035, allocations: 0 / 0.8022 GB, free: 344 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.007e-05/0.8035, allocations: 0 / 0.8022 GB, free: 344 kB / 0.6075 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.004574/0.8081, allocations: 2.093 MB / 0.8042 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.8081, allocations: 12.03 kB / 0.8042 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003151/0.8113, allocations: 0.5245 MB / 0.8047 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002141/0.8134, allocations: 1.179 MB / 0.8059 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.119e-05/0.8135, allocations: 102.6 kB / 0.806 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001902/0.8137, allocations: 143.9 kB / 0.8061 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002621/0.8164, allocations: 1.654 MB / 0.8077 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.3e-05/0.8164, allocations: 0 / 0.8077 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/0.8165, allocations: 52 kB / 0.8078 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.348e-05/0.8166, allocations: 70.58 kB / 0.8079 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002392/0.819, allocations: 1.443 MB / 0.8093 GB, free: 8.883 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.008948/0.828, allocations: 6.95 MB / 0.8161 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.8298, allocations: 1.209 MB / 0.8172 GB, free: 236 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007397/0.8306, allocations: 0.6853 MB / 0.8179 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001086/0.8317, allocations: 0.613 MB / 0.8185 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=110): time 4.208e-06/0.8317, allocations: 0 / 0.8185 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of matching and sorting (n=110): time 0.003191/0.8349, allocations: 1.569 MB / 0.82 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.173e-05/0.835, allocations: 94.06 kB / 0.8201 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.8368, allocations: 1.182 MB / 0.8213 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001195/0.8369, allocations: 53.64 kB / 0.8213 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006108/0.8375, allocations: 0.6815 MB / 0.822 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003949/0.838, allocations: 386.4 kB / 0.8224 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-05/0.838, allocations: 24 kB / 0.8224 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.8382, allocations: 345.9 kB / 0.8227 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006967/0.8389, allocations: 413.8 kB / 0.8231 GB, free: 9.996 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000808/0.8397, allocations: 0.5574 MB / 0.8237 GB, free: 9.395 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008053/0.8405, allocations: 498.8 kB / 0.8241 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.8405, allocations: 0 / 0.8241 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002109/0.8426, allocations: 1.21 MB / 0.8253 GB, free: 7.691 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003777/0.843, allocations: 0.9939 MB / 0.8263 GB, free: 6.641 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.843, allocations: 7.938 kB / 0.8263 GB, free: 6.633 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/0.8431, allocations: 8 kB / 0.8263 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009512/0.844, allocations: 211.7 kB / 0.8265 GB, free: 6.418 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.529e-05/0.8441, allocations: 11.98 kB / 0.8265 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.8456, allocations: 169.7 kB / 0.8267 GB, free: 6.242 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.8457, allocations: 39.98 kB / 0.8267 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.8457, allocations: 6.344 kB / 0.8267 GB, free: 6.199 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001638/0.8474, allocations: 1.035 MB / 0.8277 GB, free: 5.164 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/0.8474, allocations: 4 kB / 0.8277 GB, free: 5.16 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.8474, allocations: 4 kB / 0.8277 GB, free: 5.156 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008643/0.8483, allocations: 215.7 kB / 0.828 GB, free: 4.945 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.947e-05/0.8483, allocations: 8.312 kB / 0.828 GB, free: 4.938 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.8497, allocations: 163 kB / 0.8281 GB, free: 4.777 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.001e-05/0.8498, allocations: 32 kB / 0.8281 GB, free: 4.746 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.0008559/0.8507, allocations: 484.8 kB / 0.8286 GB, free: 4.262 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003518/0.8511, allocations: 158.1 kB / 0.8288 GB, free: 4.105 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/0.8533, allocations: 1.235 MB / 0.83 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.8533, allocations: 8 kB / 0.83 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.8533, allocations: 0 / 0.83 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001538/0.8548, allocations: 1.011 MB / 0.831 GB, free: 1.824 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005443/0.8603, allocations: 3.168 MB / 0.8341 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/0.8603, allocations: 4 kB / 0.8341 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.8614, allocations: 231.7 kB / 0.8343 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.089e-05/0.8615, allocations: 11.44 kB / 0.8343 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-05/0.8616, allocations: 31.98 kB / 0.8343 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.94e-05/0.8616, allocations: 11.95 kB / 0.8343 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.758e-06/0.8616, allocations: 7.938 kB / 0.8343 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003031/0.8646, allocations: 2.135 MB / 0.8364 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008843/0.8655, allocations: 363 kB / 0.8368 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003163/0.8659, allocations: 31.94 kB / 0.8368 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/0.8672, allocations: 111.8 kB / 0.8369 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/0.8673, allocations: 76.84 kB / 0.837 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.602e-05/0.8674, allocations: 39.98 kB / 0.837 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001254/0.8687, allocations: 0.8141 MB / 0.8378 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8687, allocations: 0 / 0.8378 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002352/0.8711, allocations: 0.8338 MB / 0.8386 GB, free: 9.699 MB / 0.6544 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.001339/0.8724, allocations: 0.574 MB / 0.8392 GB, free: 9.316 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002834/0.8753, allocations: 1.608 MB / 0.8408 GB, free: 7.707 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.8753, allocations: 0 / 0.8408 GB, free: 7.707 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009049/0.8762, allocations: 0.5759 MB / 0.8413 GB, free: 7.137 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003913/0.8801, allocations: 0.8014 MB / 0.8421 GB, free: 6.344 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006153/0.8863, allocations: 4.012 MB / 0.846 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/0.8876, allocations: 1.399 MB / 0.8474 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002178/0.8897, allocations: 451.6 kB / 0.8478 GB, free: 396 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004864/0.8902, allocations: 115.4 kB / 0.8479 GB, free: 284 kB / 0.6544 GB Notification: Performance of SimCode: time 1.393e-06/0.8903, allocations: 0 / 0.8479 GB, free: 284 kB / 0.6544 GB Notification: Performance of Templates: time 0.3806/1.271, allocations: 27.73 MB / 0.875 GB, free: 210.3 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile Environment - environmentSimulation: (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 & ./IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1) Environment - environmentSimulation: