Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume") translateModel(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8436/0.8436, allocations: 141.8 MB / 149.3 MB, free: 9.242 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 180.9 kB / 182.2 MB, free: 9.484 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 221.5 MB / 436.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009426/0.0009427, allocations: 92.03 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001686/0.001686, allocations: 279.7 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.807e-05/1.808e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4004, allocations: 82.78 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.18/1.58, allocations: 419.5 MB / 1.167 GB, free: 201.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/1.581, allocations: 90.98 kB / 1.167 GB, free: 201.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.033/2.614, allocations: 333.4 MB / 1.493 GB, free: 155.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.114e-06/2.614, allocations: 0 / 1.493 GB, free: 155.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001943/2.614, allocations: 33.84 kB / 1.493 GB, free: 155.7 MB / 0.698 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.003882/2.618, allocations: 1.326 MB / 1.494 GB, free: 155 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/2.618, allocations: 6.906 kB / 1.494 GB, free: 155 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007305/2.619, allocations: 141.7 kB / 1.494 GB, free: 154.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002173/2.621, allocations: 0.9549 MB / 1.495 GB, free: 154.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.157e-05/2.621, allocations: 24.31 kB / 1.495 GB, free: 154.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/2.621, allocations: 50.66 kB / 1.495 GB, free: 154.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001044/2.622, allocations: 0.5311 MB / 1.496 GB, free: 154.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/2.624, allocations: 0.7065 MB / 1.496 GB, free: 154.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.006e-05/2.624, allocations: 3.875 kB / 1.496 GB, free: 154.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.839e-05/2.624, allocations: 3.062 kB / 1.496 GB, free: 154.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/2.624, allocations: 23.62 kB / 1.496 GB, free: 154.5 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.005241/2.629, allocations: 3.628 MB / 1.5 GB, free: 152.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008654/2.63, allocations: 0.4935 MB / 1.5 GB, free: 152.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/2.63, allocations: 265 kB / 1.501 GB, free: 152.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007745/2.631, allocations: 1.248 MB / 1.502 GB, free: 151.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004204/2.631, allocations: 286.9 kB / 1.502 GB, free: 151.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 2.645e-06/2.632, allocations: 0 / 1.502 GB, free: 151.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.001598/2.633, allocations: 0.6282 MB / 1.503 GB, free: 151.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/2.633, allocations: 81.55 kB / 1.503 GB, free: 151 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007777/2.634, allocations: 0.6488 MB / 1.504 GB, free: 150.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.388e-05/2.634, allocations: 29.42 kB / 1.504 GB, free: 150.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000294/2.634, allocations: 476.4 kB / 1.504 GB, free: 150.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/2.634, allocations: 201.8 kB / 1.504 GB, free: 150.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/2.635, allocations: 0 / 1.504 GB, free: 150.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.231e-05/2.635, allocations: 331.7 kB / 1.505 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/2.635, allocations: 177.8 kB / 1.505 GB, free: 150.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002985/2.635, allocations: 302.5 kB / 1.505 GB, free: 150 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007452/2.636, allocations: 264 kB / 1.505 GB, free: 150 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/2.636, allocations: 3.969 kB / 1.505 GB, free: 150 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00138/2.637, allocations: 0.6524 MB / 1.506 GB, free: 149.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000176/2.637, allocations: 0.8839 MB / 1.507 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/2.638, allocations: 0 / 1.507 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002916/2.638, allocations: 83.83 kB / 1.507 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004492/2.638, allocations: 122.6 kB / 1.507 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005554/2.639, allocations: 0.6759 MB / 1.508 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006836/2.64, allocations: 79.3 kB / 1.508 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.185e-05/2.64, allocations: 26.19 kB / 1.508 GB, free: 148.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/2.64, allocations: 7.156 kB / 1.508 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001178/2.641, allocations: 0.5329 MB / 1.508 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/2.641, allocations: 3.875 kB / 1.508 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002039/2.641, allocations: 88.09 kB / 1.508 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003991/2.641, allocations: 115.5 kB / 1.508 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005079/2.642, allocations: 0.6691 MB / 1.509 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006342/2.643, allocations: 73.64 kB / 1.509 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.772e-05/2.643, allocations: 34.48 kB / 1.509 GB, free: 147.9 MB / 0.698 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 () * 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.0001511/2.643, allocations: 119.8 kB / 1.509 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/2.643, allocations: 93.28 kB / 1.509 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00175/2.645, allocations: 0.8919 MB / 1.51 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/2.645, allocations: 6.25 kB / 1.51 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/2.645, allocations: 0 / 1.51 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001201/2.646, allocations: 0.8121 MB / 1.511 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002801/2.649, allocations: 1.717 MB / 1.513 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/2.649, allocations: 0 / 1.513 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000433/2.649, allocations: 109.8 kB / 1.513 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003779/2.65, allocations: 142 kB / 1.513 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.047e-05/2.65, allocations: 18.14 kB / 1.513 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007551/2.65, allocations: 1.258 MB / 1.514 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/2.65, allocations: 0 / 1.514 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/2.652, allocations: 1.209 MB / 1.515 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004044/2.653, allocations: 270.1 kB / 1.516 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/2.653, allocations: 7.031 kB / 1.516 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006139/2.653, allocations: 51.05 kB / 1.516 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.704e-05/2.654, allocations: 46.23 kB / 1.516 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.719e-05/2.654, allocations: 29.67 kB / 1.516 GB, free: 145.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006479/2.654, allocations: 0.4992 MB / 1.516 GB, free: 145.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/2.654, allocations: 0 / 1.516 GB, free: 145.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001928/2.656, allocations: 0.6041 MB / 1.517 GB, free: 145.3 MB / 0.698 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 55 * 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.001789/2.658, allocations: 0.881 MB / 1.518 GB, free: 145.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001525/2.66, allocations: 0.8609 MB / 1.519 GB, free: 145.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/2.66, allocations: 0 / 1.519 GB, free: 145.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005505/2.66, allocations: 351.3 kB / 1.519 GB, free: 145.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/2.662, allocations: 360.7 kB / 1.519 GB, free: 145.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/2.664, allocations: 1.587 MB / 1.521 GB, free: 144.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005359/2.665, allocations: 1.094 MB / 1.522 GB, free: 143.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001058/2.666, allocations: 281.8 kB / 1.522 GB, free: 143.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/2.666, allocations: 63.16 kB / 1.522 GB, free: 143.9 MB / 0.698 GB Notification: Performance of SimCode: time 5.71e-07/2.666, allocations: 0 / 1.522 GB, free: 143.9 MB / 0.698 GB Notification: Performance of Templates: time 0.02909/2.695, allocations: 20.21 MB / 1.542 GB, free: 142.7 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)