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.7562/0.7562, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 188.5 kB / 187.3 MB, free: 11.88 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.337/1.337, allocations: 221.3 MB / 441.4 MB, free: 4.672 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.0008797/0.0008798, allocations: 96.08 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001856/0.001856, allocations: 267.9 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.095e-05/3.097e-05, allocations: 7.984 kB / 0.6834 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3762, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7199/1.096, allocations: 420.2 MB / 1.175 GB, free: 2.852 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/1.096, allocations: 98.14 kB / 1.175 GB, free: 2.805 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.353/2.449, allocations: 335.4 MB / 1.502 GB, free: 151.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.413e-06/2.449, allocations: 0 / 1.502 GB, free: 151.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.26e-05/2.449, allocations: 37.06 kB / 1.502 GB, free: 151.6 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.002161/2.452, allocations: 1.32 MB / 1.504 GB, free: 151.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/2.452, allocations: 10.88 kB / 1.504 GB, free: 151.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002759/2.452, allocations: 130.2 kB / 1.504 GB, free: 151 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001572/2.453, allocations: 0.9651 MB / 1.505 GB, free: 150.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.691e-05/2.454, allocations: 65.44 kB / 1.505 GB, free: 150.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/2.454, allocations: 88.84 kB / 1.505 GB, free: 150.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/2.455, allocations: 0.8195 MB / 1.506 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/2.455, allocations: 5.641 kB / 1.506 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.803e-05/2.455, allocations: 32.44 kB / 1.506 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.692e-05/2.455, allocations: 19.19 kB / 1.506 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/2.456, allocations: 0.5724 MB / 1.506 GB, free: 150.6 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.003691/2.46, allocations: 3.795 MB / 1.51 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/2.461, allocations: 0.5104 MB / 1.51 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003566/2.462, allocations: 284.5 kB / 1.511 GB, free: 148.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000731/2.462, allocations: 1.242 MB / 1.512 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004353/2.463, allocations: 306.5 kB / 1.512 GB, free: 147.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 3.066e-06/2.463, allocations: 0 / 1.512 GB, free: 147.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.001102/2.464, allocations: 0.6313 MB / 1.513 GB, free: 147.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/2.464, allocations: 91.36 kB / 1.513 GB, free: 147 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008061/2.465, allocations: 0.7609 MB / 1.514 GB, free: 146.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.676e-05/2.465, allocations: 43.03 kB / 1.514 GB, free: 146.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/2.465, allocations: 462.6 kB / 1.514 GB, free: 146.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/2.465, allocations: 215.9 kB / 1.514 GB, free: 146.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/2.465, allocations: 18.12 kB / 1.514 GB, free: 146.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.905e-05/2.465, allocations: 334 kB / 1.515 GB, free: 146.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002698/2.466, allocations: 182.3 kB / 1.515 GB, free: 146.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/2.466, allocations: 319.4 kB / 1.515 GB, free: 146.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/2.466, allocations: 231.1 kB / 1.515 GB, free: 146.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/2.466, allocations: 7.219 kB / 1.515 GB, free: 146.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00092/2.467, allocations: 0.6788 MB / 1.516 GB, free: 146 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001675/2.467, allocations: 0.8806 MB / 1.517 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/2.467, allocations: 0 / 1.517 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000543/2.468, allocations: 106.8 kB / 1.517 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004286/2.468, allocations: 121.5 kB / 1.517 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004135/2.469, allocations: 0.6534 MB / 1.518 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006679/2.469, allocations: 105.4 kB / 1.518 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.857e-05/2.47, allocations: 34.42 kB / 1.518 GB, free: 144.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.145e-06/2.47, allocations: 3.875 kB / 1.518 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008033/2.47, allocations: 0.5611 MB / 1.518 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/2.47, allocations: 0 / 1.518 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003927/2.471, allocations: 107.8 kB / 1.519 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000383/2.471, allocations: 118.1 kB / 1.519 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003673/2.472, allocations: 0.6579 MB / 1.519 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005825/2.472, allocations: 98.42 kB / 1.519 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.053e-05/2.472, allocations: 36.56 kB / 1.519 GB, free: 143.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.0001491/2.472, allocations: 143 kB / 1.52 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/2.473, allocations: 99.16 kB / 1.52 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/2.474, allocations: 0.9202 MB / 1.521 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/2.474, allocations: 7.875 kB / 1.521 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/2.474, allocations: 0 / 1.521 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009065/2.475, allocations: 0.8316 MB / 1.521 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002374/2.477, allocations: 1.849 MB / 1.523 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/2.477, allocations: 2.969 kB / 1.523 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004279/2.478, allocations: 105.5 kB / 1.523 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005452/2.478, allocations: 160 kB / 1.523 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.643e-05/2.478, allocations: 23.48 kB / 1.523 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006199/2.479, allocations: 1.238 MB / 1.525 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/2.479, allocations: 3.75 kB / 1.525 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/2.481, allocations: 1.259 MB / 1.526 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003765/2.481, allocations: 276.5 kB / 1.526 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/2.481, allocations: 19.41 kB / 1.526 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005485/2.482, allocations: 61.14 kB / 1.526 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.161e-05/2.482, allocations: 49.73 kB / 1.526 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.886e-05/2.482, allocations: 28.22 kB / 1.526 GB, free: 141.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006565/2.482, allocations: 0.6005 MB / 1.527 GB, free: 141.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/2.482, allocations: 0 / 1.527 GB, free: 141.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001597/2.484, allocations: 0.6138 MB / 1.527 GB, free: 141.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.001568/2.486, allocations: 0.9117 MB / 1.528 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001402/2.487, allocations: 0.9222 MB / 1.529 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/2.487, allocations: 0 / 1.529 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005393/2.488, allocations: 369 kB / 1.53 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/2.489, allocations: 414.5 kB / 1.53 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/2.492, allocations: 1.625 MB / 1.532 GB, free: 140.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004386/2.492, allocations: 1.09 MB / 1.533 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009856/2.493, allocations: 298.6 kB / 1.533 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/2.493, allocations: 64.02 kB / 1.533 GB, free: 139.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.122e-06/2.493, allocations: 0 / 1.533 GB, free: 139.9 MB / 0.698 GB Notification: Performance of Templates: time 0.03402/2.527, allocations: 24.68 MB / 1.557 GB, free: 138.8 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)