Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.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.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume") translateModel(IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008614/0.0008615, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009394/0.0009393, allocations: 173.1 kB / 16.58 MB, free: 6.797 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.373/1.373, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7016/0.7016, allocations: 115.5 MB / 407.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003105, allocations: 12.58 kB / 495.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.137, allocations: 77.52 MB / 0.5593 GB, free: 9.391 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.4754/0.6125, allocations: 152.2 MB / 0.708 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01241/0.6249, allocations: 8.32 MB / 0.7161 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/0.6266, allocations: 35.81 kB / 0.7161 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001692/0.6283, allocations: 0.5011 MB / 0.7166 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005079/0.6334, allocations: 1.26 MB / 0.7178 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003321/0.6367, allocations: 0.9084 MB / 0.7187 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003842/0.6406, allocations: 3.121 MB / 0.7218 GB, free: 296 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.6417, allocations: 0.706 MB / 0.7225 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/0.6432, allocations: 0.8557 MB / 0.7233 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.6444, allocations: 0.9182 MB / 0.7242 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.6445, allocations: 44 kB / 0.7242 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002042/0.6465, allocations: 0.8304 MB / 0.7251 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002274/0.6468, allocations: 215.1 kB / 0.7253 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002788/0.6471, allocations: 237.1 kB / 0.7255 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.6485, allocations: 1.22 MB / 0.7267 GB, free: 11.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.6485, allocations: 0 / 0.7267 GB, free: 11.25 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6485, allocations: 0 / 0.7267 GB, free: 11.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.6485, allocations: 0 / 0.7267 GB, free: 11.25 MB / 0.545 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.00238/0.6509, allocations: 1.383 MB / 0.728 GB, free: 9.812 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.6509, allocations: 12.03 kB / 0.728 GB, free: 9.801 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002655/0.6512, allocations: 138.4 kB / 0.7282 GB, free: 9.664 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/0.6526, allocations: 0.8127 MB / 0.729 GB, free: 8.809 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.375e-05/0.6527, allocations: 62 kB / 0.729 GB, free: 8.746 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.6528, allocations: 76 kB / 0.7291 GB, free: 8.672 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.6542, allocations: 0.8654 MB / 0.7299 GB, free: 7.762 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.6542, allocations: 4 kB / 0.7299 GB, free: 7.758 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.926e-05/0.6543, allocations: 40 kB / 0.73 GB, free: 7.719 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.6543, allocations: 16 kB / 0.73 GB, free: 7.703 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.6555, allocations: 0.6362 MB / 0.7306 GB, free: 7.066 MB / 0.545 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.004551/0.66, allocations: 3.958 MB / 0.7345 GB, free: 2.852 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.6612, allocations: 0.5798 MB / 0.735 GB, free: 2.262 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00049/0.6617, allocations: 301 kB / 0.7353 GB, free: 1.969 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/0.6627, allocations: 1.239 MB / 0.7365 GB, free: 464 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006059/0.6633, allocations: 327.1 kB / 0.7369 GB, free: 128 kB / 0.545 GB Notification: Performance of pre-optimization done (n=63): time 2.675e-06/0.6633, allocations: 4 kB / 0.7369 GB, free: 124 kB / 0.545 GB Notification: Performance of matching and sorting (n=63): time 0.002409/0.6657, allocations: 1.146 MB / 0.738 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.6658, allocations: 85.67 kB / 0.7381 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.6668, allocations: 0.8649 MB / 0.7389 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.128e-05/0.6669, allocations: 37.7 kB / 0.7389 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003543/0.6672, allocations: 464.2 kB / 0.7394 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.6674, allocations: 220.8 kB / 0.7396 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.6675, allocations: 12 kB / 0.7396 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.6676, allocations: 333.9 kB / 0.7399 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003979/0.668, allocations: 205.2 kB / 0.7401 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004763/0.6685, allocations: 320.4 kB / 0.7404 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/0.6689, allocations: 242.1 kB / 0.7407 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.6689, allocations: 0 / 0.7407 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001219/0.6702, allocations: 0.7094 MB / 0.7413 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.957e-05/0.6703, allocations: 155.3 kB / 0.7415 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.6703, allocations: 4 kB / 0.7415 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000527/0.6708, allocations: 108.8 kB / 0.7416 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004537/0.6713, allocations: 120.6 kB / 0.7417 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005375/0.6718, allocations: 0.6615 MB / 0.7424 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000588/0.6724, allocations: 99.45 kB / 0.7425 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.838e-05/0.6725, allocations: 24.62 kB / 0.7425 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.236e-06/0.6725, allocations: 11.92 kB / 0.7425 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009982/0.6735, allocations: 0.5644 MB / 0.743 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.6735, allocations: 0.9375 kB / 0.743 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004204/0.674, allocations: 121 kB / 0.7432 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/0.6744, allocations: 107.8 kB / 0.7433 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005223/0.6749, allocations: 0.6616 MB / 0.7439 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005122/0.6755, allocations: 87.34 kB / 0.744 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-05/0.6755, allocations: 31.98 kB / 0.744 GB, free: 8.535 MB / 0.5606 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 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003901/0.6759, allocations: 329 kB / 0.7443 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.6761, allocations: 98.78 kB / 0.7444 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/0.6779, allocations: 0.9481 MB / 0.7454 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.6779, allocations: 11.98 kB / 0.7454 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.6779, allocations: 3.938 kB / 0.7454 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001255/0.6792, allocations: 0.8543 MB / 0.7462 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002849/0.682, allocations: 1.857 MB / 0.748 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/0.6821, allocations: 4 kB / 0.748 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004471/0.6825, allocations: 99.88 kB / 0.7481 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006076/0.6831, allocations: 161.7 kB / 0.7483 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.602e-05/0.6832, allocations: 23.94 kB / 0.7483 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008954/0.6841, allocations: 1.247 MB / 0.7495 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.6841, allocations: 3.938 kB / 0.7495 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002066/0.6862, allocations: 1.28 MB / 0.7508 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003998/0.6866, allocations: 275.5 kB / 0.751 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.6868, allocations: 20 kB / 0.7511 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005637/0.6873, allocations: 55.95 kB / 0.7511 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.6874, allocations: 48.53 kB / 0.7512 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.431e-05/0.6875, allocations: 27.98 kB / 0.7512 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007646/0.6883, allocations: 0.6012 MB / 0.7518 GB, free: 356 kB / 0.5606 GB Notification: Performance of sort global known variables: time 2.8e-07/0.6883, allocations: 0 / 0.7518 GB, free: 356 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00143/0.6897, allocations: 0.5534 MB / 0.7523 GB, free: 15.79 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001566/0.6913, allocations: 0.6938 MB / 0.753 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00193/0.6933, allocations: 0.9188 MB / 0.7539 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6933, allocations: 0 / 0.7539 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007645/0.694, allocations: 395.7 kB / 0.7543 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/0.696, allocations: 430.2 kB / 0.7547 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003817/0.6999, allocations: 2.533 MB / 0.7571 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007027/0.7006, allocations: 1.069 MB / 0.7582 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008675/0.7015, allocations: 219.1 kB / 0.7584 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.7017, allocations: 79.41 kB / 0.7585 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of SimCode: time 6.41e-07/0.7017, allocations: 0 / 0.7585 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of Templates: time 0.033/0.7347, allocations: 19.33 MB / 0.7773 GB, free: 6.512 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)