Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001092/0.001092, allocations: 115.4 kB / 17.08 MB, free: 6.004 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.001368/0.001368, allocations: 196.7 kB / 18.02 MB, free: 5.082 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.306/1.306, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.701/0.701, allocations: 115.3 MB / 407.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 64.77 kB / 0.5583 GB, free: 32.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1592, allocations: 76.19 MB / 0.6327 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.6569/0.8161, allocations: 235.8 MB / 0.863 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01755/0.8337, allocations: 10.42 MB / 0.8732 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003281/0.837, allocations: 59.69 kB / 0.8733 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003756/0.8409, allocations: 1.193 MB / 0.8744 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01112/0.852, allocations: 3.656 MB / 0.878 GB, free: 1.168 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006323/0.8583, allocations: 2.071 MB / 0.88 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007136/0.8655, allocations: 4.46 MB / 0.8844 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002993/0.8685, allocations: 1.573 MB / 0.8859 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003704/0.8723, allocations: 1.619 MB / 0.8875 GB, free: 7.395 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00368/0.876, allocations: 1.507 MB / 0.889 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0007188/0.8767, allocations: 184 kB / 0.8891 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007288/0.884, allocations: 3.242 MB / 0.8923 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001204/0.8852, allocations: 0.6895 MB / 0.893 GB, free: 1.773 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00241/0.8877, allocations: 1.069 MB / 0.894 GB, free: 0.6992 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.008645/0.8963, allocations: 3.818 MB / 0.8978 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.8964, allocations: 0 / 0.8978 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.215e-06/0.8964, allocations: 0 / 0.8978 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001093/0.8965, allocations: 0 / 0.8978 GB, free: 12.87 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.006944/0.9034, allocations: 2.486 MB / 0.9002 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.9035, allocations: 12.03 kB / 0.9002 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003626/0.9071, allocations: 0.5167 MB / 0.9007 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002535/0.9097, allocations: 1.291 MB / 0.902 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.882e-05/0.9098, allocations: 102.6 kB / 0.9021 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000327/0.9101, allocations: 140.6 kB / 0.9022 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003202/0.9133, allocations: 1.674 MB / 0.9038 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.801e-05/0.9134, allocations: 3.938 kB / 0.9038 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/0.9136, allocations: 56 kB / 0.9039 GB, free: 6.41 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.964e-05/0.9136, allocations: 74.56 kB / 0.904 GB, free: 6.336 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002659/0.9163, allocations: 1.447 MB / 0.9054 GB, free: 4.883 MB / 0.6544 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.009271/0.9256, allocations: 6.985 MB / 0.9122 GB, free: 13.43 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.9275, allocations: 1.187 MB / 0.9134 GB, free: 12.2 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009139/0.9285, allocations: 0.6122 MB / 0.914 GB, free: 11.59 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009015/0.9294, allocations: 0.8633 MB / 0.9148 GB, free: 10.54 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/0.9304, allocations: 0.6074 MB / 0.9154 GB, free: 9.922 MB / 0.67 GB Notification: Performance of pre-optimization done (n=110): time 3.326e-06/0.9305, allocations: 0 / 0.9154 GB, free: 9.922 MB / 0.67 GB Notification: Performance of matching and sorting (n=110): time 0.003075/0.9335, allocations: 1.576 MB / 0.9169 GB, free: 8.336 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.9336, allocations: 86.11 kB / 0.917 GB, free: 8.234 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/0.9352, allocations: 1.191 MB / 0.9182 GB, free: 7.023 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.9353, allocations: 49.7 kB / 0.9182 GB, free: 6.969 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005487/0.9359, allocations: 0.6776 MB / 0.9189 GB, free: 6.285 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003626/0.9363, allocations: 386.3 kB / 0.9192 GB, free: 5.902 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002943/0.9366, allocations: 182.5 kB / 0.9194 GB, free: 5.719 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.9367, allocations: 345.9 kB / 0.9198 GB, free: 5.375 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000738/0.9374, allocations: 428.6 kB / 0.9202 GB, free: 4.953 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000827/0.9383, allocations: 0.5518 MB / 0.9207 GB, free: 4.363 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/0.9398, allocations: 1.013 MB / 0.9217 GB, free: 3.32 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.9398, allocations: 0 / 0.9217 GB, free: 3.32 MB / 0.67 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002114/0.942, allocations: 1.218 MB / 0.9229 GB, free: 2.094 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.942, allocations: 8 kB / 0.9229 GB, free: 2.086 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.942, allocations: 320 / 0.9229 GB, free: 2.086 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.9421, allocations: 15.94 kB / 0.9229 GB, free: 2.07 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009415/0.943, allocations: 216.6 kB / 0.9231 GB, free: 1.859 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.449e-05/0.943, allocations: 11.94 kB / 0.9231 GB, free: 1.848 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.9442, allocations: 91.05 kB / 0.9232 GB, free: 1.758 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.363e-05/0.9443, allocations: 36 kB / 0.9232 GB, free: 1.723 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001143/0.9454, allocations: 0.7401 MB / 0.924 GB, free: 0.9805 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007598/0.9462, allocations: 0.5439 MB / 0.9245 GB, free: 408 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00145/0.9477, allocations: 0.9932 MB / 0.9255 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.955e-06/0.9477, allocations: 0 / 0.9255 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.001935/0.9496, allocations: 1.199 MB / 0.9266 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.9496, allocations: 4 kB / 0.9266 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.9497, allocations: 5.562 kB / 0.9266 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.9497, allocations: 8 kB / 0.9267 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008958/0.9506, allocations: 216 kB / 0.9269 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.976e-05/0.9506, allocations: 15.94 kB / 0.9269 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.9517, allocations: 79.2 kB / 0.9269 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.164e-05/0.9518, allocations: 36 kB / 0.927 GB, free: 13.81 MB / 0.6856 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.0002676/0.9521, allocations: 237.8 kB / 0.9272 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002919/0.9524, allocations: 150.2 kB / 0.9274 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002171/0.9546, allocations: 1.243 MB / 0.9286 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.9546, allocations: 15.94 kB / 0.9286 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.9546, allocations: 0 / 0.9286 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00159/0.9562, allocations: 1.007 MB / 0.9296 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004885/0.9611, allocations: 3.167 MB / 0.9327 GB, free: 7.844 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.9611, allocations: 0 / 0.9327 GB, free: 7.844 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.9622, allocations: 232 kB / 0.9329 GB, free: 7.617 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.91e-05/0.9622, allocations: 8 kB / 0.9329 GB, free: 7.609 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-05/0.9623, allocations: 27.98 kB / 0.9329 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.568e-06/0.9623, allocations: 8 kB / 0.9329 GB, free: 7.574 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.9624, allocations: 7.938 kB / 0.9329 GB, free: 7.566 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002852/0.9652, allocations: 1.916 MB / 0.9348 GB, free: 5.602 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006567/0.9659, allocations: 362.9 kB / 0.9351 GB, free: 5.227 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002567/0.9661, allocations: 24.08 kB / 0.9352 GB, free: 5.203 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009662/0.9671, allocations: 39.92 kB / 0.9352 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/0.9673, allocations: 76.84 kB / 0.9353 GB, free: 5.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.169e-05/0.9674, allocations: 35.98 kB / 0.9353 GB, free: 5.055 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00112/0.9685, allocations: 0.8297 MB / 0.9361 GB, free: 4.223 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9685, allocations: 0 / 0.9361 GB, free: 4.223 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001958/0.9705, allocations: 0.8338 MB / 0.9369 GB, free: 3.387 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.medium.Xi[1],roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.medium.Xi[1],sha.vol.dynBal.U,sha.vol.dynBal.m) * 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.001428/0.9719, allocations: 0.5749 MB / 0.9375 GB, free: 2.973 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002805/0.9747, allocations: 1.627 MB / 0.9391 GB, free: 1.344 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.9748, allocations: 0 / 0.9391 GB, free: 1.344 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009043/0.9757, allocations: 0.5652 MB / 0.9396 GB, free: 0.7852 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003384/0.9791, allocations: 0.8799 MB / 0.9405 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005682/0.9848, allocations: 3.395 MB / 0.9438 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/0.9859, allocations: 1.372 MB / 0.9452 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004821/0.9864, allocations: 119.4 kB / 0.9453 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of SimCode: time 6.62e-07/0.9864, allocations: 0 / 0.9453 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of Templates: time 0.03976/1.026, allocations: 25.66 MB / 0.9703 GB, free: 1.426 MB / 0.7169 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)