Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.859/1.859, allocations: 288.2 MB / 303.2 MB, free: 8.039 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.002105/0.002105, allocations: 187.5 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.132/2.132, allocations: 205.4 MB / 0.6305 GB, free: 10.05 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001195/0.001195, allocations: 91.48 kB / 0.7439 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004377/0.0004377, allocations: 11.19 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.311, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.98/6.291, allocations: 2.084 GB / 3.064 GB, free: 231.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/6.292, allocations: 95.94 kB / 3.064 GB, free: 231.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.533/10.82, allocations: 1.06 GB / 4.124 GB, free: 139.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.444e-06/10.82, allocations: 0 / 4.124 GB, free: 139.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.000302/10.82, allocations: 47.77 kB / 4.124 GB, free: 139.7 MB / 0.9636 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.01204/10.84, allocations: 2.439 MB / 4.127 GB, free: 138.7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 7.105e-05/10.84, allocations: 7.906 kB / 4.127 GB, free: 138.7 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001324/10.84, allocations: 206.4 kB / 4.127 GB, free: 138.6 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005055/10.84, allocations: 0.5128 MB / 4.127 GB, free: 138.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005375/10.85, allocations: 1.264 MB / 4.128 GB, free: 138.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001962/10.85, allocations: 107.9 kB / 4.129 GB, free: 138.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007365/10.85, allocations: 133.9 kB / 4.129 GB, free: 138.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004946/10.85, allocations: 1.655 MB / 4.13 GB, free: 138 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.02e-05/10.85, allocations: 12.77 kB / 4.13 GB, free: 138 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003026/10.86, allocations: 55.72 kB / 4.13 GB, free: 138 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.203e-05/10.86, allocations: 57.72 kB / 4.13 GB, free: 138 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003553/10.86, allocations: 1.407 MB / 4.132 GB, free: 138 MB / 0.9636 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01252/10.87, allocations: 7.169 MB / 4.139 GB, free: 134.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/10.87, allocations: 1.185 MB / 4.14 GB, free: 134.3 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009157/10.87, allocations: 0.864 MB / 4.141 GB, free: 133.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/10.88, allocations: 0.6065 MB / 4.141 GB, free: 133.3 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=110): time 4.368e-06/10.88, allocations: 0 / 4.141 GB, free: 133.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=110): time 0.003472/10.88, allocations: 1.572 MB / 4.143 GB, free: 133.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/10.88, allocations: 88.95 kB / 4.143 GB, free: 133.1 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/10.88, allocations: 1.032 MB / 4.144 GB, free: 132.9 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001247/10.88, allocations: 49.2 kB / 4.144 GB, free: 132.9 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006587/10.88, allocations: 0.6806 MB / 4.145 GB, free: 132.7 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003946/10.88, allocations: 388.8 kB / 4.145 GB, free: 132.5 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.419e-05/10.88, allocations: 20.31 kB / 4.145 GB, free: 132.5 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001114/10.88, allocations: 349.6 kB / 4.145 GB, free: 132.2 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006688/10.88, allocations: 418.6 kB / 4.146 GB, free: 132.2 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008055/10.88, allocations: 0.6074 MB / 4.146 GB, free: 132 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008275/10.88, allocations: 0.4892 MB / 4.147 GB, free: 132 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/10.88, allocations: 2.656 kB / 4.147 GB, free: 132 MB / 0.9636 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002106/10.89, allocations: 1.216 MB / 4.148 GB, free: 131.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002608/10.89, allocations: 0.9834 MB / 4.149 GB, free: 130.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/10.89, allocations: 6.344 kB / 4.149 GB, free: 130.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.147e-05/10.89, allocations: 9.844 kB / 4.149 GB, free: 130.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/10.89, allocations: 219.2 kB / 4.149 GB, free: 130.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/10.89, allocations: 7.469 kB / 4.149 GB, free: 130.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/10.89, allocations: 172.3 kB / 4.149 GB, free: 130.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/10.89, allocations: 38.17 kB / 4.149 GB, free: 130.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/10.89, allocations: 4.969 kB / 4.149 GB, free: 130.9 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00161/10.89, allocations: 1.038 MB / 4.151 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/10.89, allocations: 3.875 kB / 4.151 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/10.89, allocations: 10.42 kB / 4.151 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009074/10.89, allocations: 217.6 kB / 4.151 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/10.89, allocations: 11.38 kB / 4.151 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/10.89, allocations: 161.5 kB / 4.151 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.49e-05/10.89, allocations: 42.95 kB / 4.151 GB, free: 130.8 MB / 0.9636 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 () * Number of clocked 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.001126/10.9, allocations: 490.4 kB / 4.151 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003005/10.9, allocations: 149.2 kB / 4.152 GB, free: 130.5 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002224/10.9, allocations: 1.26 MB / 4.153 GB, free: 130.4 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/10.9, allocations: 9.625 kB / 4.153 GB, free: 130.4 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/10.9, allocations: 7.172 kB / 4.153 GB, free: 130.4 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001485/10.9, allocations: 1.015 MB / 4.154 GB, free: 130.3 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005578/10.9, allocations: 3.189 MB / 4.157 GB, free: 129.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/10.9, allocations: 0 / 4.157 GB, free: 129.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/10.91, allocations: 246.2 kB / 4.157 GB, free: 129.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.438e-05/10.91, allocations: 7.594 kB / 4.157 GB, free: 129.7 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.183e-05/10.91, allocations: 27.95 kB / 4.157 GB, free: 129.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-05/10.91, allocations: 9.625 kB / 4.157 GB, free: 129.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/10.91, allocations: 0 / 4.157 GB, free: 129.7 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003104/10.91, allocations: 2.154 MB / 4.159 GB, free: 129.2 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/10.91, allocations: 368.2 kB / 4.16 GB, free: 129 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004368/10.91, allocations: 23.41 kB / 4.16 GB, free: 129 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/10.91, allocations: 116.8 kB / 4.16 GB, free: 129 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/10.91, allocations: 68.3 kB / 4.16 GB, free: 129 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/10.91, allocations: 42.95 kB / 4.16 GB, free: 129 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001751/10.91, allocations: 0.8146 MB / 4.161 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of sort global known variables: time 3.51e-07/10.91, allocations: 0 / 4.161 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004744/10.92, allocations: 1.099 MB / 4.162 GB, free: 128.8 MB / 0.9636 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) * Number of clocked states: 0 () * 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.01003/10.93, allocations: 6.173 MB / 4.168 GB, free: 126 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003643/10.93, allocations: 1.616 MB / 4.169 GB, free: 126 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/10.93, allocations: 0 / 4.169 GB, free: 126 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/10.93, allocations: 0.5659 MB / 4.17 GB, free: 126 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004728/10.94, allocations: 0.8143 MB / 4.171 GB, free: 126 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02052/10.96, allocations: 11.1 MB / 4.182 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001433/10.96, allocations: 1.398 MB / 4.183 GB, free: 120.5 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002468/10.96, allocations: 462.1 kB / 4.183 GB, free: 120.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/10.96, allocations: 0.6142 MB / 4.184 GB, free: 120.5 MB / 0.9636 GB Notification: Performance of SimCode: time 1.3e-05/10.96, allocations: 0 / 4.184 GB, free: 120.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1459/11.11, allocations: 78.34 MB / 4.26 GB, free: 99.37 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/11.11, allocations: 242.9 kB / 4.261 GB, free: 99.12 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.436/16.55, allocations: 0 / 4.261 GB, free: 99.12 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)