Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.441/1.441, allocations: 249.5 MB / 257 MB, free: 6.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 184.8 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008298/0.0008299, allocations: 86.48 kB / 0.6714 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.127e-05/2.129e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.228, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.432/5.66, allocations: 2.203 GB / 3.088 GB, free: 203.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/5.66, allocations: 85.61 kB / 3.088 GB, free: 203.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.377/9.037, allocations: 1.018 GB / 4.106 GB, free: 123 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.512e-06/9.037, allocations: 0 / 4.106 GB, free: 123 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001382/9.037, allocations: 44.59 kB / 4.106 GB, free: 123 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.006423/9.044, allocations: 2.177 MB / 4.108 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/9.044, allocations: 13.53 kB / 4.108 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003602/9.047, allocations: 0.5088 MB / 4.109 GB, free: 122 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002761/9.05, allocations: 1.268 MB / 4.11 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.99e-05/9.05, allocations: 48 kB / 4.11 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002107/9.05, allocations: 94.16 kB / 4.11 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002145/9.053, allocations: 1.194 MB / 4.111 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002236/9.055, allocations: 1.432 MB / 4.113 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.043e-05/9.055, allocations: 9.469 kB / 4.113 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/9.055, allocations: 3.906 kB / 4.113 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.893e-05/9.055, allocations: 54.42 kB / 4.113 GB, free: 121.4 MB / 0.8855 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.009622/9.065, allocations: 7.045 MB / 4.12 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/9.066, allocations: 1.219 MB / 4.121 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007625/9.067, allocations: 0.5686 MB / 4.122 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000888/9.068, allocations: 0.8647 MB / 4.122 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008996/9.069, allocations: 0.5957 MB / 4.123 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=110): time 4.348e-06/9.069, allocations: 0 / 4.123 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110): time 0.002538/9.072, allocations: 1.137 MB / 4.124 GB, free: 116.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/9.072, allocations: 88.98 kB / 4.124 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/9.073, allocations: 0.8362 MB / 4.125 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001166/9.073, allocations: 28.95 kB / 4.125 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005873/9.074, allocations: 0.6872 MB / 4.126 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003297/9.074, allocations: 370.5 kB / 4.126 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/9.074, allocations: 0 / 4.126 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001121/9.074, allocations: 344.5 kB / 4.126 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005334/9.075, allocations: 402.9 kB / 4.127 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006213/9.075, allocations: 0.5805 MB / 4.127 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008314/9.076, allocations: 0.5014 MB / 4.128 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/9.076, allocations: 0 / 4.128 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001791/9.078, allocations: 1.175 MB / 4.129 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002075/9.078, allocations: 0.9786 MB / 4.13 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/9.078, allocations: 0 / 4.13 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/9.078, allocations: 7.812 kB / 4.13 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009639/9.079, allocations: 230.1 kB / 4.13 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/9.079, allocations: 10.98 kB / 4.13 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/9.081, allocations: 139.4 kB / 4.13 GB, free: 114 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.934e-05/9.081, allocations: 43.25 kB / 4.13 GB, free: 114 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.346e-06/9.081, allocations: 3.594 kB / 4.13 GB, free: 114 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001479/9.082, allocations: 1.005 MB / 4.131 GB, free: 114 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/9.082, allocations: 3.938 kB / 4.131 GB, free: 114 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/9.082, allocations: 6.312 kB / 4.131 GB, free: 114 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008596/9.083, allocations: 218.2 kB / 4.132 GB, free: 114 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/9.083, allocations: 12.69 kB / 4.132 GB, free: 114 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/9.084, allocations: 133.3 kB / 4.132 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.989e-05/9.085, allocations: 44.48 kB / 4.132 GB, free: 113.9 MB / 0.8855 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.0002376/9.085, allocations: 119.1 kB / 4.132 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00163/9.086, allocations: 1.093 MB / 4.133 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/9.087, allocations: 137.4 kB / 4.133 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001988/9.089, allocations: 1.215 MB / 4.134 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/9.089, allocations: 15.17 kB / 4.134 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/9.089, allocations: 0 / 4.134 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001345/9.09, allocations: 1 MB / 4.135 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004565/9.095, allocations: 3.099 MB / 4.138 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/9.095, allocations: 10.19 kB / 4.138 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/9.096, allocations: 249.4 kB / 4.138 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-05/9.096, allocations: 10.98 kB / 4.138 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.316e-05/9.096, allocations: 13.91 kB / 4.138 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/9.096, allocations: 13.47 kB / 4.138 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/9.096, allocations: 7.094 kB / 4.138 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/9.098, allocations: 2.122 MB / 4.141 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006712/9.099, allocations: 372.6 kB / 4.141 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/9.099, allocations: 3.906 kB / 4.141 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/9.1, allocations: 104 kB / 4.141 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/9.1, allocations: 71.39 kB / 4.141 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.239e-05/9.101, allocations: 40.22 kB / 4.141 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008387/9.101, allocations: 0.6411 MB / 4.142 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/9.101, allocations: 2.375 kB / 4.142 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002275/9.104, allocations: 1.014 MB / 4.143 GB, free: 111.6 MB / 0.8855 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.006276/9.11, allocations: 6.363 MB / 4.149 GB, free: 108.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002185/9.112, allocations: 1.613 MB / 4.151 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/9.112, allocations: 3.625 kB / 4.151 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006682/9.113, allocations: 0.5458 MB / 4.151 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003515/9.116, allocations: 0.6948 MB / 4.152 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005453/9.122, allocations: 3.076 MB / 4.155 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007592/9.123, allocations: 1.409 MB / 4.156 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002286/9.125, allocations: 0.5645 MB / 4.157 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006977/9.126, allocations: 0.5941 MB / 4.157 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of SimCode: time 9.22e-07/9.126, allocations: 0 / 4.157 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09143/9.217, allocations: 57.5 MB / 4.213 GB, free: 61.79 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/9.217, allocations: 188.5 kB / 4.214 GB, free: 61.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.1/13.32, allocations: 0 / 4.214 GB, free: 61.6 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)