Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.801/1.801, allocations: 289.9 MB / 297.4 MB, free: 6.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001306/0.001306, allocations: 176.8 kB / 366.7 MB, free: 1.641 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.912/1.912, allocations: 205.2 MB / 0.626 GB, free: 7.172 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009044/0.0009043, allocations: 100.6 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.587e-05/2.577e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8/0.8, allocations: 116.3 MB / 0.9733 GB, free: 76.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.194/5.994, allocations: 2.085 GB / 3.058 GB, free: 44.23 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/5.994, allocations: 87.95 kB / 3.058 GB, free: 44.14 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.454/10.45, allocations: 1.048 GB / 4.106 GB, free: 70.74 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.533e-06/10.45, allocations: 0 / 4.106 GB, free: 70.74 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002562/10.45, allocations: 47.98 kB / 4.106 GB, free: 70.7 MB / 0.948 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.008059/10.46, allocations: 2.158 MB / 4.108 GB, free: 68.49 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/10.46, allocations: 12.03 kB / 4.108 GB, free: 68.48 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004242/10.46, allocations: 0.5126 MB / 4.108 GB, free: 67.97 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003726/10.46, allocations: 1.26 MB / 4.109 GB, free: 66.66 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.803e-05/10.46, allocations: 43.98 kB / 4.109 GB, free: 66.61 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005233/10.47, allocations: 87.98 kB / 4.11 GB, free: 66.53 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002941/10.47, allocations: 1.192 MB / 4.111 GB, free: 65.33 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003221/10.47, allocations: 1.42 MB / 4.112 GB, free: 63.84 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.732e-05/10.47, allocations: 8 kB / 4.112 GB, free: 63.83 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001939/10.47, allocations: 0 / 4.112 GB, free: 63.83 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.999e-05/10.47, allocations: 62.52 kB / 4.112 GB, free: 63.77 MB / 0.948 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.01006/10.48, allocations: 7.03 MB / 4.119 GB, free: 56.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/10.48, allocations: 1.214 MB / 4.12 GB, free: 55.03 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007117/10.48, allocations: 0.5742 MB / 4.121 GB, free: 54.45 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007493/10.48, allocations: 0.8675 MB / 4.122 GB, free: 53.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008937/10.49, allocations: 0.5847 MB / 4.122 GB, free: 52.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=110): time 4.589e-06/10.49, allocations: 0 / 4.122 GB, free: 52.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=110): time 0.002645/10.49, allocations: 1.136 MB / 4.123 GB, free: 51.66 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/10.49, allocations: 90.42 kB / 4.123 GB, free: 51.55 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/10.49, allocations: 0.8166 MB / 4.124 GB, free: 50.72 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001342/10.49, allocations: 29.7 kB / 4.124 GB, free: 50.69 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000592/10.49, allocations: 0.6881 MB / 4.125 GB, free: 49.99 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003616/10.49, allocations: 374.3 kB / 4.125 GB, free: 49.62 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.125e-05/10.49, allocations: 0 / 4.125 GB, free: 49.62 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.509e-05/10.49, allocations: 357.8 kB / 4.126 GB, free: 49.27 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005364/10.49, allocations: 406.5 kB / 4.126 GB, free: 48.87 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006429/10.49, allocations: 0.575 MB / 4.127 GB, free: 48.23 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008722/10.49, allocations: 0.4982 MB / 4.127 GB, free: 47.74 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/10.49, allocations: 7.938 kB / 4.127 GB, free: 47.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.0021/10.5, allocations: 1.179 MB / 4.128 GB, free: 46.54 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002992/10.5, allocations: 0.9775 MB / 4.129 GB, free: 45.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/10.5, allocations: 0 / 4.129 GB, free: 45.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.16e-05/10.5, allocations: 8 kB / 4.129 GB, free: 45.49 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/10.5, allocations: 231.7 kB / 4.129 GB, free: 45.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.093e-05/10.5, allocations: 11.98 kB / 4.129 GB, free: 45.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/10.5, allocations: 131.1 kB / 4.129 GB, free: 45.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/10.5, allocations: 39.98 kB / 4.13 GB, free: 45.09 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/10.5, allocations: 4.938 kB / 4.13 GB, free: 45.08 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001642/10.5, allocations: 1.015 MB / 4.131 GB, free: 44.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/10.5, allocations: 4 kB / 4.131 GB, free: 44.06 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/10.5, allocations: 11.95 kB / 4.131 GB, free: 44.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009154/10.5, allocations: 219.7 kB / 4.131 GB, free: 43.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/10.5, allocations: 12.25 kB / 4.131 GB, free: 43.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/10.5, allocations: 131.1 kB / 4.131 GB, free: 43.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/10.5, allocations: 39.98 kB / 4.131 GB, free: 43.66 MB / 0.948 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 ($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 (126): * Single equations (assignments): 126 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002809/10.5, allocations: 132.7 kB / 4.131 GB, free: 43.52 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001922/10.51, allocations: 1.097 MB / 4.132 GB, free: 42.41 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003731/10.51, allocations: 138.4 kB / 4.132 GB, free: 42.28 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002194/10.51, allocations: 1.222 MB / 4.133 GB, free: 41.04 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/10.51, allocations: 8 kB / 4.133 GB, free: 41.03 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/10.51, allocations: 0 / 4.133 GB, free: 41.03 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001408/10.51, allocations: 1.002 MB / 4.134 GB, free: 40.02 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005243/10.51, allocations: 3.105 MB / 4.137 GB, free: 36.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/10.51, allocations: 0 / 4.137 GB, free: 36.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/10.52, allocations: 252 kB / 4.138 GB, free: 36.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.867e-05/10.52, allocations: 4 kB / 4.138 GB, free: 36.55 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/10.52, allocations: 23.97 kB / 4.138 GB, free: 36.53 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.337e-06/10.52, allocations: 11.95 kB / 4.138 GB, free: 36.52 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/10.52, allocations: 0 / 4.138 GB, free: 36.52 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002694/10.52, allocations: 2.136 MB / 4.14 GB, free: 34.28 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009105/10.52, allocations: 359.1 kB / 4.14 GB, free: 33.91 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003349/10.52, allocations: 12 kB / 4.14 GB, free: 33.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/10.52, allocations: 99.66 kB / 4.14 GB, free: 33.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/10.52, allocations: 77.2 kB / 4.14 GB, free: 33.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.305e-05/10.52, allocations: 43.97 kB / 4.14 GB, free: 33.68 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00104/10.52, allocations: 0.6225 MB / 4.141 GB, free: 33.05 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.51e-07/10.52, allocations: 0 / 4.141 GB, free: 33.05 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003564/10.53, allocations: 1.005 MB / 4.142 GB, free: 32.05 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.U,roo.dynBal.m,roo.dynBal.mXi[1],oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.U,sha.vol.dynBal.m,sha.vol.dynBal.mXi[1]) * 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008059/10.53, allocations: 6.379 MB / 4.148 GB, free: 25.37 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002798/10.54, allocations: 1.628 MB / 4.15 GB, free: 23.75 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/10.54, allocations: 4.125 kB / 4.15 GB, free: 23.74 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008045/10.54, allocations: 0.5514 MB / 4.15 GB, free: 23.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004199/10.54, allocations: 0.6853 MB / 4.151 GB, free: 22.52 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007061/10.55, allocations: 3.058 MB / 4.154 GB, free: 19.37 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/10.55, allocations: 1.401 MB / 4.155 GB, free: 17.94 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002807/10.55, allocations: 0.5606 MB / 4.156 GB, free: 17.38 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008368/10.55, allocations: 0.5891 MB / 4.156 GB, free: 16.79 MB / 0.948 GB Notification: Performance of SimCode: time 1.724e-06/10.55, allocations: 0 / 4.156 GB, free: 16.79 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7958/11.35, allocations: 57.21 MB / 4.212 GB, free: 144.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/11.35, allocations: 182.5 kB / 4.213 GB, free: 144 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.206/15.56, allocations: 0 / 4.213 GB, free: 144 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)