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: translateModel(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008447/0.0008447, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.005338/0.005338, allocations: 168.7 kB / 16.26 MB, free: 6.652 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.47/1.47, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9685/0.9685, allocations: 135.3 MB / 426.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003609, allocations: 11.94 kB / 0.5076 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1707, allocations: 82.3 MB / 0.588 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.5643/0.7351, allocations: 230.5 MB / 0.813 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01618/0.7513, allocations: 10.39 MB / 0.8232 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003136/0.7545, allocations: 51.69 kB / 0.8232 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00368/0.7582, allocations: 1.019 MB / 0.8242 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01199/0.7702, allocations: 3.436 MB / 0.8276 GB, free: 6.957 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006191/0.7764, allocations: 1.889 MB / 0.8294 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008835/0.7853, allocations: 6.277 MB / 0.8356 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002805/0.7882, allocations: 1.306 MB / 0.8368 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003286/0.7915, allocations: 1.334 MB / 0.8381 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003608/0.7951, allocations: 1.478 MB / 0.8396 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002904/0.7954, allocations: 76 kB / 0.8396 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008257/0.8037, allocations: 3.717 MB / 0.8433 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00106/0.8048, allocations: 0.584 MB / 0.8438 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001736/0.8065, allocations: 0.9577 MB / 0.8448 GB, free: 5.27 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008749/0.8153, allocations: 3.894 MB / 0.8486 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.8153, allocations: 4 kB / 0.8486 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.857e-06/0.8153, allocations: 0 / 0.8486 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.798e-05/0.8154, allocations: 0 / 0.8486 GB, free: 1.359 MB / 0.6544 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.005529/0.8209, allocations: 2.129 MB / 0.8507 GB, free: 15.18 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.821, allocations: 8.031 kB / 0.8507 GB, free: 15.17 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003496/0.8245, allocations: 0.5244 MB / 0.8512 GB, free: 14.64 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002197/0.8267, allocations: 1.224 MB / 0.8524 GB, free: 13.36 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.501e-05/0.8268, allocations: 102.7 kB / 0.8525 GB, free: 13.26 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002152/0.8271, allocations: 136 kB / 0.8526 GB, free: 13.13 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002926/0.83, allocations: 1.681 MB / 0.8543 GB, free: 11.38 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.678e-05/0.83, allocations: 4 kB / 0.8543 GB, free: 11.38 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/0.8302, allocations: 52 kB / 0.8543 GB, free: 11.32 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-05/0.8303, allocations: 66.58 kB / 0.8544 GB, free: 11.26 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0026/0.8329, allocations: 1.454 MB / 0.8558 GB, free: 9.797 MB / 0.67 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.009168/0.8421, allocations: 6.969 MB / 0.8626 GB, free: 2.371 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.8439, allocations: 1.191 MB / 0.8638 GB, free: 1.145 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009403/0.8449, allocations: 0.6122 MB / 0.8644 GB, free: 0.5352 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4719/1.317, allocations: 0.865 MB / 0.8652 GB, free: 32.91 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001391/1.318, allocations: 0.6099 MB / 0.8658 GB, free: 32.86 MB / 0.67 GB Notification: Performance of pre-optimization done (n=110): time 3.947e-06/1.318, allocations: 1.641 kB / 0.8658 GB, free: 32.86 MB / 0.67 GB Notification: Performance of matching and sorting (n=110): time 0.003315/1.322, allocations: 1.584 MB / 0.8673 GB, free: 32.82 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/1.322, allocations: 90.94 kB / 0.8674 GB, free: 32.73 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001692/1.323, allocations: 1.192 MB / 0.8686 GB, free: 32.56 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/1.323, allocations: 46.14 kB / 0.8686 GB, free: 32.53 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005692/1.324, allocations: 0.6819 MB / 0.8693 GB, free: 32.38 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003517/1.324, allocations: 384.3 kB / 0.8697 GB, free: 32.13 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/1.325, allocations: 89.8 kB / 0.8698 GB, free: 32.11 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.715e-05/1.325, allocations: 346.2 kB / 0.8701 GB, free: 31.81 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006637/1.325, allocations: 426.8 kB / 0.8705 GB, free: 31.81 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007901/1.326, allocations: 0.5658 MB / 0.871 GB, free: 31.7 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/1.328, allocations: 1.019 MB / 0.872 GB, free: 31.6 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.328, allocations: 0 / 0.872 GB, free: 31.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002013/1.33, allocations: 1.227 MB / 0.8732 GB, free: 31.49 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.07e-05/1.33, allocations: 166.9 kB / 0.8734 GB, free: 31.32 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/1.33, allocations: 2.688 kB / 0.8734 GB, free: 31.32 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/1.33, allocations: 9.688 kB / 0.8734 GB, free: 31.32 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009234/1.331, allocations: 218.5 kB / 0.8736 GB, free: 31.32 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/1.331, allocations: 6.594 kB / 0.8736 GB, free: 31.32 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/1.332, allocations: 173.1 kB / 0.8738 GB, free: 31.27 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.223e-05/1.332, allocations: 37.09 kB / 0.8738 GB, free: 31.27 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/1.332, allocations: 3.688 kB / 0.8738 GB, free: 31.27 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001559/1.334, allocations: 1.043 MB / 0.8749 GB, free: 31.27 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.334, allocations: 2.188 kB / 0.8749 GB, free: 31.27 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/1.334, allocations: 9.031 kB / 0.8749 GB, free: 31.27 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008048/1.335, allocations: 211.3 kB / 0.8751 GB, free: 31.27 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/1.335, allocations: 11.44 kB / 0.8751 GB, free: 31.27 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/1.336, allocations: 159 kB / 0.8752 GB, free: 31.22 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.136e-05/1.336, allocations: 44.86 kB / 0.8753 GB, free: 31.22 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 ($PRE.mRoo_flow.nextTimeEvent,$whenCondition1,mRoo_flow.nextTimeEventScaled,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008402/1.337, allocations: 483.9 kB / 0.8757 GB, free: 31.03 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/1.337, allocations: 153.1 kB / 0.8759 GB, free: 30.95 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002092/1.339, allocations: 1.249 MB / 0.8771 GB, free: 30.87 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/1.339, allocations: 11.12 kB / 0.8771 GB, free: 30.87 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.339, allocations: 5.969 kB / 0.8771 GB, free: 30.87 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00144/1.341, allocations: 1.012 MB / 0.8781 GB, free: 30.79 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004399/1.345, allocations: 3.166 MB / 0.8812 GB, free: 30.19 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/1.345, allocations: 5.406 kB / 0.8812 GB, free: 30.19 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/1.346, allocations: 238.3 kB / 0.8814 GB, free: 30.18 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/1.346, allocations: 7.75 kB / 0.8814 GB, free: 30.18 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.972e-05/1.346, allocations: 31.05 kB / 0.8815 GB, free: 30.18 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.857e-06/1.346, allocations: 7.781 kB / 0.8815 GB, free: 30.18 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.346, allocations: 2.375 kB / 0.8815 GB, free: 30.18 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002771/1.349, allocations: 2.009 MB / 0.8834 GB, free: 29.84 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006599/1.35, allocations: 360.9 kB / 0.8838 GB, free: 29.66 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/1.35, allocations: 26.05 kB / 0.8838 GB, free: 29.66 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/1.351, allocations: 117.5 kB / 0.8839 GB, free: 29.64 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/1.351, allocations: 78.88 kB / 0.884 GB, free: 29.63 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.74e-05/1.351, allocations: 38.97 kB / 0.884 GB, free: 29.63 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00108/1.352, allocations: 0.8236 MB / 0.8848 GB, free: 29.52 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.463e-06/1.352, allocations: 0 / 0.8848 GB, free: 29.52 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002032/1.354, allocations: 0.8441 MB / 0.8857 GB, free: 29.41 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 (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.001387/1.356, allocations: 0.5785 MB / 0.8862 GB, free: 29.28 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003155/1.359, allocations: 1.618 MB / 0.8878 GB, free: 29.25 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.359, allocations: 0.9062 kB / 0.8878 GB, free: 29.25 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/1.36, allocations: 0.5695 MB / 0.8884 GB, free: 29.25 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004718/1.365, allocations: 0.8307 MB / 0.8892 GB, free: 29.19 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005702/1.37, allocations: 4.128 MB / 0.8932 GB, free: 27.06 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009469/1.371, allocations: 1.364 MB / 0.8945 GB, free: 26.33 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002153/1.374, allocations: 451.2 kB / 0.895 GB, free: 26.23 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003957/1.374, allocations: 111.7 kB / 0.8951 GB, free: 26.23 MB / 0.67 GB Notification: Performance of SimCode: time 7.71e-07/1.374, allocations: 0 / 0.8951 GB, free: 26.23 MB / 0.67 GB Notification: Performance of Templates: time 0.05321/1.427, allocations: 28.61 MB / 0.923 GB, free: 20.34 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (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 & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)