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: 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.001659/0.001659, allocations: 104 kB / 16.27 MB, free: 6.414 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.001839/0.001839, allocations: 189.6 kB / 17.2 MB, free: 5.953 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.384/1.384, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8122/0.8122, allocations: 132.2 MB / 423.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 59.91 kB / 0.5024 GB, free: 11.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3639, allocations: 80.18 MB / 0.5807 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.5363/0.9002, allocations: 235.9 MB / 0.811 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01438/0.9147, allocations: 10.41 MB / 0.8212 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002673/0.9174, allocations: 59.78 kB / 0.8213 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003057/0.9204, allocations: 1.192 MB / 0.8224 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009592/0.9301, allocations: 3.663 MB / 0.826 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005295/0.9355, allocations: 2.05 MB / 0.828 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005699/0.9412, allocations: 4.454 MB / 0.8324 GB, free: 484 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002372/0.9436, allocations: 1.594 MB / 0.8339 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003179/0.9468, allocations: 1.603 MB / 0.8355 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003248/0.95, allocations: 1.484 MB / 0.8369 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006069/0.9506, allocations: 183.2 kB / 0.8371 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007352/0.958, allocations: 3.24 MB / 0.8403 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001109/0.9591, allocations: 0.6966 MB / 0.841 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002242/0.9614, allocations: 1.059 MB / 0.842 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007667/0.969, allocations: 3.792 MB / 0.8457 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.9691, allocations: 0 / 0.8457 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.522e-06/0.9691, allocations: 2.5 kB / 0.8457 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001322/0.9692, allocations: 0 / 0.8457 GB, free: 10.48 MB / 0.5919 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.00663/0.9759, allocations: 2.479 MB / 0.8481 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.9759, allocations: 10.84 kB / 0.8481 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00363/0.9795, allocations: 0.5247 MB / 0.8486 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002319/0.9819, allocations: 1.23 MB / 0.8498 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.425e-05/0.982, allocations: 102.6 kB / 0.8499 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000304/0.9823, allocations: 134.6 kB / 0.8501 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003015/0.9853, allocations: 1.666 MB / 0.8517 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.785e-05/0.9854, allocations: 10.61 kB / 0.8517 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001443/0.9855, allocations: 59.89 kB / 0.8518 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.224e-05/0.9856, allocations: 70.58 kB / 0.8518 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00271/0.9883, allocations: 1.44 MB / 0.8532 GB, free: 3.738 MB / 0.5919 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.008951/0.9973, allocations: 7.013 MB / 0.8601 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/0.9991, allocations: 1.184 MB / 0.8612 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009579/1, allocations: 0.616 MB / 0.8618 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008366/1.001, allocations: 0.8587 MB / 0.8627 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0011/1.002, allocations: 0.6102 MB / 0.8633 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=110): time 3.486e-06/1.002, allocations: 0 / 0.8633 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=110): time 0.00318/1.005, allocations: 1.575 MB / 0.8648 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/1.005, allocations: 94.05 kB / 0.8649 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/1.007, allocations: 1.195 MB / 0.8661 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.039e-05/1.007, allocations: 49.7 kB / 0.8661 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005753/1.008, allocations: 0.6776 MB / 0.8668 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000348/1.008, allocations: 378.4 kB / 0.8671 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003124/1.008, allocations: 178.6 kB / 0.8673 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001489/1.009, allocations: 341.9 kB / 0.8676 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007588/1.009, allocations: 435.2 kB / 0.868 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009104/1.01, allocations: 0.5613 MB / 0.8686 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/1.012, allocations: 1.015 MB / 0.8696 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.012, allocations: 0 / 0.8696 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002201/1.014, allocations: 1.218 MB / 0.8708 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/1.014, allocations: 4 kB / 0.8708 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/1.014, allocations: 4 kB / 0.8708 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/1.014, allocations: 4 kB / 0.8708 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009918/1.015, allocations: 220.6 kB / 0.871 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.829e-05/1.015, allocations: 4 kB / 0.871 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/1.016, allocations: 107.2 kB / 0.8711 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.374e-05/1.017, allocations: 36 kB / 0.8711 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001145/1.018, allocations: 0.7361 MB / 0.8719 GB, free: 16 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008486/1.019, allocations: 0.5531 MB / 0.8724 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001543/1.02, allocations: 0.9916 MB / 0.8734 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.737e-06/1.02, allocations: 0 / 0.8734 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002021/1.022, allocations: 1.196 MB / 0.8745 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/1.022, allocations: 4 kB / 0.8745 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/1.022, allocations: 4 kB / 0.8745 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/1.022, allocations: 8 kB / 0.8745 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009324/1.023, allocations: 212.6 kB / 0.8748 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/1.023, allocations: 11.94 kB / 0.8748 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/1.024, allocations: 78.84 kB / 0.8748 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.039e-05/1.024, allocations: 36 kB / 0.8749 GB, free: 12.89 MB / 0.6231 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.0002482/1.025, allocations: 249.1 kB / 0.8751 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002485/1.025, allocations: 146.2 kB / 0.8752 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002381/1.027, allocations: 1.245 MB / 0.8765 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/1.027, allocations: 11.94 kB / 0.8765 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.027, allocations: 0 / 0.8765 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001729/1.029, allocations: 1.013 MB / 0.8775 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004979/1.034, allocations: 3.154 MB / 0.8805 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/1.034, allocations: 4 kB / 0.8805 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/1.035, allocations: 234 kB / 0.8808 GB, free: 6.762 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.29e-05/1.035, allocations: 10.84 kB / 0.8808 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.487e-05/1.035, allocations: 32.06 kB / 0.8808 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.136e-05/1.035, allocations: 11.98 kB / 0.8808 GB, free: 6.711 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.035, allocations: 0 / 0.8808 GB, free: 6.711 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003133/1.039, allocations: 1.998 MB / 0.8828 GB, free: 4.668 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005945/1.039, allocations: 362.9 kB / 0.8831 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000266/1.039, allocations: 27.98 kB / 0.8831 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009654/1.04, allocations: 35.98 kB / 0.8832 GB, free: 4.23 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/1.041, allocations: 75.38 kB / 0.8833 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.454e-05/1.041, allocations: 35.98 kB / 0.8833 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001078/1.042, allocations: 0.8297 MB / 0.8841 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/1.042, allocations: 4 kB / 0.8841 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002043/1.044, allocations: 0.826 MB / 0.8849 GB, free: 2.461 MB / 0.6231 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.001322/1.045, allocations: 0.5751 MB / 0.8855 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003655/1.049, allocations: 1.86 MB / 0.8873 GB, free: 296 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.049, allocations: 2.531 kB / 0.8873 GB, free: 296 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009543/1.05, allocations: 0.5686 MB / 0.8878 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00384/1.054, allocations: 0.8743 MB / 0.8887 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005399/1.059, allocations: 3.408 MB / 0.892 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/1.06, allocations: 1.37 MB / 0.8934 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004432/1.061, allocations: 122 kB / 0.8935 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of SimCode: time 2.5e-07/1.061, allocations: 0 / 0.8935 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of Templates: time 0.03654/1.097, allocations: 25.42 MB / 0.9183 GB, free: 0.7422 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (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)