Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume") translateModel(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 180 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6982/0.6982, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 403.4 MB, free: 7.074 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 111 kB / 484.3 MB, free: 8.723 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 51.92 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1462, allocations: 80.2 MB / 0.6402 GB, free: 6.797 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.4603/0.6065, allocations: 165.2 MB / 0.8015 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01237/0.6189, allocations: 8.947 MB / 0.8102 GB, free: 4.875 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001705/0.6207, allocations: 39.75 kB / 0.8103 GB, free: 4.836 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.6224, allocations: 0.548 MB / 0.8108 GB, free: 4.285 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.004028/0.6265, allocations: 1.392 MB / 0.8122 GB, free: 2.887 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.003304/0.6298, allocations: 1.064 MB / 0.8132 GB, free: 1.832 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.004436/0.6342, allocations: 3.673 MB / 0.8168 GB, free: 14.15 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001495/0.6357, allocations: 0.8369 MB / 0.8176 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001838/0.6376, allocations: 0.9063 MB / 0.8185 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001678/0.6393, allocations: 1.011 MB / 0.8195 GB, free: 11.37 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001529/0.6394, allocations: 56 kB / 0.8195 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002427/0.6419, allocations: 1.017 MB / 0.8205 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000261/0.6422, allocations: 243 kB / 0.8208 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006527/0.6428, allocations: 0.5632 MB / 0.8213 GB, free: 9.492 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002118/0.645, allocations: 1.686 MB / 0.823 GB, free: 7.801 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.645, allocations: 0 / 0.823 GB, free: 7.801 MB / 0.5573 GB Notification: Performance of FrontEnd: time 8.12e-07/0.645, allocations: 0 / 0.823 GB, free: 7.801 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.459e-05/0.645, allocations: 0 / 0.823 GB, free: 7.801 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002709/0.6477, allocations: 1.571 MB / 0.8245 GB, free: 6.176 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.6478, allocations: 8.031 kB / 0.8245 GB, free: 6.168 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002988/0.6481, allocations: 135.4 kB / 0.8246 GB, free: 6.035 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.6495, allocations: 0.8558 MB / 0.8255 GB, free: 5.137 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.027e-05/0.6495, allocations: 62 kB / 0.8255 GB, free: 5.074 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.6497, allocations: 83.89 kB / 0.8256 GB, free: 4.992 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.651, allocations: 0.8693 MB / 0.8265 GB, free: 4.078 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/0.651, allocations: 8 kB / 0.8265 GB, free: 4.07 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.807e-05/0.6511, allocations: 36 kB / 0.8265 GB, free: 4.035 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.6511, allocations: 16 kB / 0.8265 GB, free: 4.02 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.6522, allocations: 0.6362 MB / 0.8271 GB, free: 3.379 MB / 0.5573 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.004481/0.6567, allocations: 3.946 MB / 0.831 GB, free: 15.18 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.658, allocations: 0.5643 MB / 0.8315 GB, free: 14.61 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005311/0.6586, allocations: 294.4 kB / 0.8318 GB, free: 14.32 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/0.6597, allocations: 1.239 MB / 0.833 GB, free: 12.8 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006219/0.6604, allocations: 331 kB / 0.8334 GB, free: 12.46 MB / 0.573 GB Notification: Performance of pre-optimization done (n=63): time 4.118e-06/0.6604, allocations: 0 / 0.8334 GB, free: 12.46 MB / 0.573 GB Notification: Performance of matching and sorting (n=63): time 0.002496/0.6629, allocations: 1.134 MB / 0.8345 GB, free: 11.28 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.663, allocations: 85.66 kB / 0.8345 GB, free: 11.18 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.664, allocations: 0.865 MB / 0.8354 GB, free: 10.29 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.44e-05/0.664, allocations: 37.7 kB / 0.8354 GB, free: 10.25 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003461/0.6644, allocations: 460.2 kB / 0.8359 GB, free: 9.793 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.6646, allocations: 224.8 kB / 0.8361 GB, free: 9.57 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.6647, allocations: 118.2 kB / 0.8362 GB, free: 9.449 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.6648, allocations: 330 kB / 0.8365 GB, free: 9.121 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004027/0.6653, allocations: 215.3 kB / 0.8367 GB, free: 8.906 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004771/0.6657, allocations: 320.4 kB / 0.837 GB, free: 8.562 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008693/0.6666, allocations: 0.5269 MB / 0.8375 GB, free: 8 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6666, allocations: 0 / 0.8375 GB, free: 8 MB / 0.573 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001271/0.6679, allocations: 0.7248 MB / 0.8382 GB, free: 7.27 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.6679, allocations: 4 kB / 0.8382 GB, free: 7.266 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.668, allocations: 4 kB / 0.8382 GB, free: 7.262 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000556/0.6685, allocations: 101.7 kB / 0.8383 GB, free: 7.16 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004474/0.669, allocations: 128.1 kB / 0.8385 GB, free: 7.035 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005454/0.6695, allocations: 0.6538 MB / 0.8391 GB, free: 6.355 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006142/0.6702, allocations: 91.39 kB / 0.8392 GB, free: 6.266 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.807e-05/0.6702, allocations: 31.94 kB / 0.8392 GB, free: 6.234 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005854/0.6708, allocations: 394 kB / 0.8396 GB, free: 5.848 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004247/0.6713, allocations: 300.4 kB / 0.8399 GB, free: 5.52 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007752/0.672, allocations: 0.5074 MB / 0.8404 GB, free: 4.977 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.914e-06/0.6721, allocations: 0 / 0.8404 GB, free: 4.977 MB / 0.573 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.001116/0.6732, allocations: 0.6861 MB / 0.8411 GB, free: 4.281 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.6732, allocations: 8 kB / 0.8411 GB, free: 4.273 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.6732, allocations: 6.734 kB / 0.8411 GB, free: 4.27 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004253/0.6736, allocations: 112.7 kB / 0.8412 GB, free: 4.156 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004035/0.6741, allocations: 107.9 kB / 0.8413 GB, free: 4.051 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004947/0.6746, allocations: 0.6617 MB / 0.8419 GB, free: 3.363 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005564/0.6751, allocations: 79.83 kB / 0.842 GB, free: 3.285 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.863e-05/0.6752, allocations: 27.98 kB / 0.842 GB, free: 3.258 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001886/0.6754, allocations: 218.3 kB / 0.8422 GB, free: 3.039 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.6755, allocations: 98.78 kB / 0.8423 GB, free: 2.941 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001788/0.6773, allocations: 0.9561 MB / 0.8433 GB, free: 1.969 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.6774, allocations: 8 kB / 0.8433 GB, free: 1.961 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6774, allocations: 0 / 0.8433 GB, free: 1.961 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001229/0.6786, allocations: 0.8503 MB / 0.8441 GB, free: 1.055 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0028/0.6814, allocations: 1.857 MB / 0.8459 GB, free: 15.13 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.6814, allocations: 0 / 0.8459 GB, free: 15.13 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004232/0.6819, allocations: 99.89 kB / 0.846 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006045/0.6825, allocations: 157.7 kB / 0.8462 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.091e-05/0.6825, allocations: 23.98 kB / 0.8462 GB, free: 14.85 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008693/0.6834, allocations: 1.237 MB / 0.8474 GB, free: 13.56 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.6834, allocations: 4.031 kB / 0.8474 GB, free: 13.56 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01525/0.6987, allocations: 10.41 MB / 0.8576 GB, free: 2.598 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003474/0.6991, allocations: 259.5 kB / 0.8578 GB, free: 2.324 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.6992, allocations: 16 kB / 0.8578 GB, free: 2.309 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005188/0.6997, allocations: 60.05 kB / 0.8579 GB, free: 2.25 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.6999, allocations: 48.58 kB / 0.8579 GB, free: 2.203 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.786e-05/0.6999, allocations: 31.98 kB / 0.858 GB, free: 2.172 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0007053/0.7006, allocations: 0.6052 MB / 0.8585 GB, free: 1.555 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.593e-06/0.7006, allocations: 0 / 0.8585 GB, free: 1.555 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002873/0.7035, allocations: 0.9243 MB / 0.8594 GB, free: 0.6289 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * 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 (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,9), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001573/0.7051, allocations: 0.7277 MB / 0.8602 GB, free: 60 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001864/0.707, allocations: 0.9186 MB / 0.8611 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.707, allocations: 256 / 0.8611 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007263/0.7077, allocations: 387.6 kB / 0.8614 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/0.7098, allocations: 436.5 kB / 0.8618 GB, free: 14.35 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004107/0.714, allocations: 3.191 MB / 0.865 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006021/0.7146, allocations: 1.085 MB / 0.866 GB, free: 9.969 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0009296/0.7155, allocations: 235 kB / 0.8662 GB, free: 9.734 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/0.7158, allocations: 91.34 kB / 0.8663 GB, free: 9.645 MB / 0.6042 GB Notification: Performance of SimCode: time 6.42e-07/0.7158, allocations: 3.938 kB / 0.8663 GB, free: 9.641 MB / 0.6042 GB Notification: Performance of Templates: time 0.03697/0.7528, allocations: 23.1 MB / 0.8889 GB, free: 2.734 MB / 0.6198 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)