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.01099/0.01099, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001965/0.001965, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.621/1.621, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8288/0.8288, allocations: 135.6 MB / 426.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002439/0.00244, allocations: 63.56 kB / 0.5862 GB, free: 21.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2498, allocations: 81.03 MB / 0.6653 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 1.06/1.31, allocations: 235.9 MB / 0.8957 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02301/1.333, allocations: 10.4 MB / 0.9058 GB, free: 7.875 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004142/1.337, allocations: 59.69 kB / 0.9059 GB, free: 7.816 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005746/1.343, allocations: 1.181 MB / 0.907 GB, free: 6.629 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01977/1.363, allocations: 3.663 MB / 0.9106 GB, free: 2.953 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01027/1.373, allocations: 2.069 MB / 0.9126 GB, free: 0.8906 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0129/1.386, allocations: 4.446 MB / 0.917 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004991/1.391, allocations: 1.579 MB / 0.9185 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007192/1.398, allocations: 1.596 MB / 0.9201 GB, free: 9.219 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006769/1.405, allocations: 1.507 MB / 0.9215 GB, free: 7.711 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001035/1.406, allocations: 184 kB / 0.9217 GB, free: 7.531 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01501/1.421, allocations: 3.234 MB / 0.9249 GB, free: 4.289 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002473/1.424, allocations: 0.6973 MB / 0.9256 GB, free: 3.59 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003803/1.428, allocations: 1.065 MB / 0.9266 GB, free: 2.52 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01696/1.445, allocations: 3.835 MB / 0.9303 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/1.445, allocations: 0 / 0.9303 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.545e-06/1.445, allocations: 0 / 0.9303 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001055/1.445, allocations: 4 kB / 0.9304 GB, free: 14.67 MB / 0.7012 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.01186/1.457, allocations: 2.553 MB / 0.9328 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 8.325e-05/1.457, allocations: 9.109 kB / 0.9329 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007019/1.464, allocations: 0.5373 MB / 0.9334 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00564/1.469, allocations: 1.304 MB / 0.9346 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/1.47, allocations: 98.66 kB / 0.9347 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004937/1.47, allocations: 136 kB / 0.9349 GB, free: 9.918 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005691/1.476, allocations: 1.674 MB / 0.9365 GB, free: 8.176 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.466e-05/1.476, allocations: 0 / 0.9365 GB, free: 8.176 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002336/1.476, allocations: 56.86 kB / 0.9366 GB, free: 8.121 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001647/1.476, allocations: 78.56 kB / 0.9366 GB, free: 8.043 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00473/1.481, allocations: 1.439 MB / 0.938 GB, free: 6.598 MB / 0.7012 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.01902/1.5, allocations: 6.978 MB / 0.9449 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003903/1.504, allocations: 1.194 MB / 0.946 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002053/1.506, allocations: 0.6096 MB / 0.9466 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001751/1.508, allocations: 0.8594 MB / 0.9475 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002353/1.51, allocations: 0.6102 MB / 0.9481 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=110): time 6.532e-06/1.51, allocations: 4 kB / 0.9481 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of matching and sorting (n=110): time 0.006253/1.517, allocations: 1.573 MB / 0.9496 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001548/1.517, allocations: 90.11 kB / 0.9497 GB, free: 9.965 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004191/1.521, allocations: 1.191 MB / 0.9508 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003561/1.522, allocations: 53.7 kB / 0.9509 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001384/1.523, allocations: 0.6864 MB / 0.9516 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001029/1.524, allocations: 400.5 kB / 0.9519 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009068/1.525, allocations: 174.6 kB / 0.9521 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002972/1.525, allocations: 349.9 kB / 0.9524 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/1.527, allocations: 420.6 kB / 0.9528 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001746/1.529, allocations: 0.57 MB / 0.9534 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003492/1.532, allocations: 1.013 MB / 0.9544 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-05/1.532, allocations: 7.938 kB / 0.9544 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00469/1.537, allocations: 1.211 MB / 0.9556 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.017e-05/1.537, allocations: 19.95 kB / 0.9556 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/1.537, allocations: 7.938 kB / 0.9556 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.276e-05/1.537, allocations: 4 kB / 0.9556 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/1.539, allocations: 211.7 kB / 0.9558 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.646e-05/1.539, allocations: 13.34 kB / 0.9558 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002684/1.542, allocations: 109.8 kB / 0.9559 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001832/1.542, allocations: 36 kB / 0.956 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002821/1.545, allocations: 0.7361 MB / 0.9567 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001719/1.546, allocations: 0.5496 MB / 0.9572 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003254/1.55, allocations: 0.9971 MB / 0.9582 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.343e-06/1.55, allocations: 0 / 0.9582 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.004485/1.554, allocations: 1.192 MB / 0.9594 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/1.554, allocations: 4 kB / 0.9594 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/1.554, allocations: 4.312 kB / 0.9594 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.776e-05/1.554, allocations: 15.94 kB / 0.9594 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/1.556, allocations: 211.8 kB / 0.9596 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.105e-05/1.556, allocations: 12 kB / 0.9596 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002575/1.559, allocations: 75.5 kB / 0.9597 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001856/1.559, allocations: 39.98 kB / 0.9597 GB, free: 15.48 MB / 0.7325 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.0006859/1.559, allocations: 238 kB / 0.9599 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001012/1.56, allocations: 163 kB / 0.9601 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004882/1.565, allocations: 1.24 MB / 0.9613 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.602e-05/1.565, allocations: 12 kB / 0.9613 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.5e-05/1.565, allocations: 4 kB / 0.9613 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003343/1.569, allocations: 1.011 MB / 0.9623 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0111/1.58, allocations: 3.155 MB / 0.9654 GB, free: 9.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.206e-05/1.58, allocations: 8.062 kB / 0.9654 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002048/1.582, allocations: 235.6 kB / 0.9656 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.825e-05/1.582, allocations: 8 kB / 0.9656 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001568/1.582, allocations: 24 kB / 0.9656 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.348e-05/1.582, allocations: 7.938 kB / 0.9657 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.049e-05/1.582, allocations: 7.984 kB / 0.9657 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006324/1.589, allocations: 2.003 MB / 0.9676 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001718/1.59, allocations: 363.8 kB / 0.968 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006508/1.591, allocations: 24 kB / 0.968 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002033/1.593, allocations: 47.94 kB / 0.968 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003189/1.594, allocations: 72.84 kB / 0.9681 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001879/1.594, allocations: 39.98 kB / 0.9681 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003143/1.597, allocations: 0.8299 MB / 0.969 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7.12e-07/1.597, allocations: 0 / 0.969 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004738/1.602, allocations: 0.842 MB / 0.9698 GB, free: 4.949 MB / 0.7325 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.003251/1.605, allocations: 0.5784 MB / 0.9703 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005775/1.611, allocations: 1.615 MB / 0.9719 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.459e-05/1.611, allocations: 5.25 kB / 0.9719 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001934/1.613, allocations: 0.5682 MB / 0.9725 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008472/1.621, allocations: 0.8832 MB / 0.9733 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/1.633, allocations: 3.35 MB / 0.9766 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002613/1.635, allocations: 1.368 MB / 0.9779 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.004436/1.64, allocations: 451.6 kB / 0.9784 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/1.641, allocations: 111.4 kB / 0.9785 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of SimCode: time 3.657e-06/1.641, allocations: 0 / 0.9785 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of Templates: time 0.1015/1.743, allocations: 30.27 MB / 1.008 GB, free: 14.15 MB / 0.7794 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)