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.413/1.413, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001225/0.001225, allocations: 186.5 kB / 326.5 MB, free: 2.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.994/1.994, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.001041/0.001041, allocations: 92.45 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003748/0.0003748, allocations: 10.28 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2283, allocations: 106.3 MB / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.997/6.225, allocations: 2.203 GB / 3.103 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/6.226, allocations: 96.25 kB / 3.103 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.995/10.22, allocations: 1.031 GB / 4.134 GB, free: 129.9 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.334e-06/10.22, allocations: 0 / 4.134 GB, free: 129.9 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002736/10.22, allocations: 53.3 kB / 4.134 GB, free: 129.9 MB / 0.9011 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.009682/10.23, allocations: 2.435 MB / 4.136 GB, free: 129.2 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/10.23, allocations: 10.12 kB / 4.136 GB, free: 129.2 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001018/10.23, allocations: 210.8 kB / 4.136 GB, free: 129.1 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004387/10.24, allocations: 0.5208 MB / 4.137 GB, free: 129 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00433/10.24, allocations: 1.266 MB / 4.138 GB, free: 128.7 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/10.24, allocations: 110.7 kB / 4.138 GB, free: 128.7 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000631/10.24, allocations: 142.7 kB / 4.138 GB, free: 128.7 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004568/10.25, allocations: 1.672 MB / 4.14 GB, free: 128.5 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.181e-05/10.25, allocations: 3.656 kB / 4.14 GB, free: 128.5 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003165/10.25, allocations: 60.31 kB / 4.14 GB, free: 128.5 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.328e-05/10.25, allocations: 63.72 kB / 4.14 GB, free: 128.5 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003132/10.25, allocations: 1.419 MB / 4.141 GB, free: 128.5 MB / 0.9011 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.01219/10.26, allocations: 7.192 MB / 4.148 GB, free: 125 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/10.26, allocations: 1.171 MB / 4.149 GB, free: 124.8 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007421/10.26, allocations: 0.8672 MB / 4.15 GB, free: 123.8 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/10.27, allocations: 0.6084 MB / 4.151 GB, free: 123.8 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=110): time 4.068e-06/10.27, allocations: 0 / 4.151 GB, free: 123.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=110): time 0.003196/10.27, allocations: 1.562 MB / 4.152 GB, free: 123.6 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/10.27, allocations: 88.7 kB / 4.153 GB, free: 123.6 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00203/10.27, allocations: 1.049 MB / 4.154 GB, free: 123.4 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001612/10.27, allocations: 48.86 kB / 4.154 GB, free: 123.4 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006966/10.27, allocations: 0.6906 MB / 4.154 GB, free: 123.2 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004124/10.27, allocations: 378.7 kB / 4.155 GB, free: 123 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.94e-05/10.27, allocations: 19.44 kB / 4.155 GB, free: 123 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.993e-05/10.27, allocations: 350.1 kB / 4.155 GB, free: 122.7 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007455/10.27, allocations: 417.7 kB / 4.155 GB, free: 122.7 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008364/10.27, allocations: 0.5932 MB / 4.156 GB, free: 122.5 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008334/10.27, allocations: 0.4893 MB / 4.156 GB, free: 122.5 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/10.27, allocations: 0 / 4.156 GB, free: 122.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002184/10.28, allocations: 1.214 MB / 4.158 GB, free: 122.4 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002265/10.28, allocations: 0.983 MB / 4.159 GB, free: 121.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/10.28, allocations: 3.312 kB / 4.159 GB, free: 121.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.109e-05/10.28, allocations: 13.33 kB / 4.159 GB, free: 121.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/10.28, allocations: 218.9 kB / 4.159 GB, free: 121.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.704e-05/10.28, allocations: 12.41 kB / 4.159 GB, free: 121.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/10.28, allocations: 174.4 kB / 4.159 GB, free: 121.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/10.28, allocations: 39.59 kB / 4.159 GB, free: 121.4 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/10.28, allocations: 4.562 kB / 4.159 GB, free: 121.4 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00175/10.28, allocations: 1.033 MB / 4.16 GB, free: 121.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/10.28, allocations: 5.969 kB / 4.16 GB, free: 121.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/10.28, allocations: 7.25 kB / 4.16 GB, free: 121.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009267/10.28, allocations: 215.9 kB / 4.16 GB, free: 121.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.965e-05/10.28, allocations: 7.688 kB / 4.16 GB, free: 121.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/10.28, allocations: 169.5 kB / 4.16 GB, free: 121.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/10.28, allocations: 40.19 kB / 4.16 GB, free: 121.3 MB / 0.9011 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.001081/10.29, allocations: 0.489 MB / 4.161 GB, free: 121.1 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004924/10.29, allocations: 152.7 kB / 4.161 GB, free: 121 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002374/10.29, allocations: 1.251 MB / 4.162 GB, free: 120.9 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/10.29, allocations: 10.94 kB / 4.162 GB, free: 120.9 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/10.29, allocations: 0 / 4.162 GB, free: 120.9 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001534/10.29, allocations: 1.009 MB / 4.163 GB, free: 120.9 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00645/10.3, allocations: 3.189 MB / 4.166 GB, free: 120.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/10.3, allocations: 5.016 kB / 4.166 GB, free: 120.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/10.3, allocations: 245.4 kB / 4.167 GB, free: 120.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-05/10.3, allocations: 5.188 kB / 4.167 GB, free: 120.3 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/10.3, allocations: 28.09 kB / 4.167 GB, free: 120.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.271e-05/10.3, allocations: 11.69 kB / 4.167 GB, free: 120.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/10.3, allocations: 0 / 4.167 GB, free: 120.3 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003116/10.3, allocations: 2.138 MB / 4.169 GB, free: 119.7 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/10.3, allocations: 376.4 kB / 4.169 GB, free: 119.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004756/10.3, allocations: 20.72 kB / 4.169 GB, free: 119.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001653/10.3, allocations: 126.4 kB / 4.169 GB, free: 119.6 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/10.3, allocations: 75.64 kB / 4.169 GB, free: 119.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/10.31, allocations: 42.19 kB / 4.169 GB, free: 119.6 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001648/10.31, allocations: 0.8183 MB / 4.17 GB, free: 119.4 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.61e-07/10.31, allocations: 2.875 kB / 4.17 GB, free: 119.4 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.004418/10.31, allocations: 1.107 MB / 4.171 GB, free: 119.4 MB / 0.9011 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.008866/10.32, allocations: 6.163 MB / 4.177 GB, free: 116.7 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003263/10.32, allocations: 1.597 MB / 4.179 GB, free: 116.7 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/10.32, allocations: 3.875 kB / 4.179 GB, free: 116.7 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0009551/10.32, allocations: 0.5595 MB / 4.179 GB, free: 116.7 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004528/10.33, allocations: 0.8079 MB / 4.18 GB, free: 116.7 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01952/10.35, allocations: 11.13 MB / 4.191 GB, free: 111.9 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001361/10.35, allocations: 1.408 MB / 4.192 GB, free: 111.2 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002674/10.35, allocations: 462.8 kB / 4.193 GB, free: 111.2 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/10.35, allocations: 0.6158 MB / 4.193 GB, free: 111.2 MB / 0.9011 GB Notification: Performance of SimCode: time 1.282e-06/10.35, allocations: 2.688 kB / 4.193 GB, free: 111.2 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1301/10.48, allocations: 78.61 MB / 4.27 GB, free: 108.4 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/10.48, allocations: 242.3 kB / 4.27 GB, free: 108.2 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.725/15.21, allocations: 0 / 4.27 GB, free: 108.2 MB / 0.9011 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)