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.8415/0.8415, allocations: 141.8 MB / 149.3 MB, free: 9.211 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.001055/0.001055, allocations: 183.8 kB / 182.2 MB, free: 9.457 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.34/1.34, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0008192/0.0008192, allocations: 91.34 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001697/0.001697, allocations: 275 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.001e-05/2.004e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4357/0.4358, allocations: 82.78 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.209/1.645, allocations: 419.5 MB / 1.167 GB, free: 273.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/1.645, allocations: 93.52 kB / 1.167 GB, free: 273.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.099/2.744, allocations: 333.4 MB / 1.493 GB, free: 155.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.343e-06/2.744, allocations: 0 / 1.493 GB, free: 155.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001776/2.744, allocations: 32.31 kB / 1.493 GB, free: 155.3 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.003473/2.748, allocations: 1.324 MB / 1.494 GB, free: 154.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/2.748, allocations: 10.97 kB / 1.494 GB, free: 154.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006399/2.748, allocations: 134.4 kB / 1.494 GB, free: 154.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002289/2.751, allocations: 0.9667 MB / 1.495 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.569e-05/2.751, allocations: 24.78 kB / 1.495 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/2.751, allocations: 50.53 kB / 1.495 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001072/2.752, allocations: 0.5245 MB / 1.496 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/2.753, allocations: 0.7168 MB / 1.496 GB, free: 154.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.131e-05/2.753, allocations: 1.594 kB / 1.496 GB, free: 154.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.001e-05/2.753, allocations: 3.906 kB / 1.496 GB, free: 154.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/2.753, allocations: 18.59 kB / 1.496 GB, free: 154.2 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.004632/2.758, allocations: 3.628 MB / 1.5 GB, free: 152.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007869/2.759, allocations: 0.4927 MB / 1.5 GB, free: 152.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000331/2.759, allocations: 256.1 kB / 1.501 GB, free: 152.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007904/2.76, allocations: 1.242 MB / 1.502 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004264/2.76, allocations: 291.4 kB / 1.502 GB, free: 150.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 4.458e-06/2.76, allocations: 0 / 1.502 GB, free: 150.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.001644/2.762, allocations: 0.6304 MB / 1.503 GB, free: 150.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/2.762, allocations: 85.27 kB / 1.503 GB, free: 150.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008298/2.763, allocations: 0.6501 MB / 1.504 GB, free: 150.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.746e-05/2.763, allocations: 29.48 kB / 1.504 GB, free: 150.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003115/2.763, allocations: 468.1 kB / 1.504 GB, free: 150.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/2.764, allocations: 211 kB / 1.504 GB, free: 150.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/2.764, allocations: 0 / 1.504 GB, free: 150.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.34e-05/2.764, allocations: 333.9 kB / 1.505 GB, free: 149.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/2.764, allocations: 175.3 kB / 1.505 GB, free: 149.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/2.764, allocations: 308 kB / 1.505 GB, free: 149.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007587/2.765, allocations: 251 kB / 1.505 GB, free: 149.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/2.765, allocations: 0 / 1.505 GB, free: 149.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001388/2.766, allocations: 0.6537 MB / 1.506 GB, free: 149.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000178/2.767, allocations: 0.8801 MB / 1.507 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/2.767, allocations: 3 kB / 1.507 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002993/2.767, allocations: 86.34 kB / 1.507 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004341/2.767, allocations: 125.5 kB / 1.507 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005384/2.768, allocations: 0.6682 MB / 1.508 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007076/2.769, allocations: 81.75 kB / 1.508 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.045e-05/2.769, allocations: 34 kB / 1.508 GB, free: 148.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.664e-06/2.769, allocations: 7.656 kB / 1.508 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001098/2.77, allocations: 0.5336 MB / 1.508 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/2.77, allocations: 7.766 kB / 1.508 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001933/2.77, allocations: 89.12 kB / 1.508 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003866/2.77, allocations: 112.5 kB / 1.508 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004777/2.771, allocations: 0.6826 MB / 1.509 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005816/2.771, allocations: 64.02 kB / 1.509 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.818e-05/2.772, allocations: 32.41 kB / 1.509 GB, free: 147.6 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.0001598/2.772, allocations: 125 kB / 1.509 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/2.772, allocations: 86.19 kB / 1.509 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/2.774, allocations: 0.8815 MB / 1.51 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/2.774, allocations: 15.2 kB / 1.51 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/2.774, allocations: 6.906 kB / 1.51 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001108/2.775, allocations: 0.8044 MB / 1.511 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002539/2.777, allocations: 1.717 MB / 1.513 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/2.777, allocations: 0 / 1.513 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/2.778, allocations: 108.8 kB / 1.513 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003609/2.778, allocations: 143.8 kB / 1.513 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.967e-05/2.778, allocations: 7.438 kB / 1.513 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007218/2.779, allocations: 1.254 MB / 1.514 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/2.779, allocations: 10.25 kB / 1.514 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/2.781, allocations: 1.211 MB / 1.515 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003456/2.781, allocations: 269.3 kB / 1.516 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/2.781, allocations: 6.75 kB / 1.516 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005194/2.782, allocations: 54.55 kB / 1.516 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.868e-05/2.782, allocations: 50.5 kB / 1.516 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.847e-05/2.782, allocations: 28.06 kB / 1.516 GB, free: 145.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005165/2.782, allocations: 0.4993 MB / 1.516 GB, free: 145.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/2.782, allocations: 0 / 1.516 GB, free: 145.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0015/2.784, allocations: 0.5959 MB / 1.517 GB, free: 145.1 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.001566/2.785, allocations: 0.8886 MB / 1.518 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001372/2.787, allocations: 0.8619 MB / 1.519 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/2.787, allocations: 3.75 kB / 1.519 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005153/2.787, allocations: 348.9 kB / 1.519 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/2.789, allocations: 350 kB / 1.519 GB, free: 144.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002529/2.791, allocations: 1.582 MB / 1.521 GB, free: 144.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/2.792, allocations: 1.09 MB / 1.522 GB, free: 143.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009976/2.793, allocations: 281.3 kB / 1.522 GB, free: 143.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/2.793, allocations: 60.5 kB / 1.522 GB, free: 143.7 MB / 0.698 GB Notification: Performance of SimCode: time 4.61e-07/2.793, allocations: 3.5 kB / 1.522 GB, free: 143.7 MB / 0.698 GB Notification: Performance of Templates: time 0.03062/2.824, allocations: 20.22 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)