Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.503/2.503, allocations: 387.1 MB / 399.7 MB, free: 9.445 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001152, allocations: 180.9 kB / 492.3 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 221.3 MB / 0.7871 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008657/0.0008657, allocations: 98.52 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.46e-05/4.464e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2649, allocations: 142.3 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.408/5.673, allocations: 1.931 GB / 3.143 GB, free: 339.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/5.673, allocations: 93.72 kB / 3.143 GB, free: 339.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.775/9.448, allocations: 1.077 GB / 4.221 GB, free: 120.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.075e-06/9.448, allocations: 0 / 4.221 GB, free: 120.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003438/9.448, allocations: 47.98 kB / 4.221 GB, free: 120.2 MB / 1.151 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.0107/9.459, allocations: 2.163 MB / 4.223 GB, free: 117.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.45e-05/9.459, allocations: 8.031 kB / 4.223 GB, free: 117.9 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009498/9.46, allocations: 206.6 kB / 4.223 GB, free: 117.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006059/9.466, allocations: 0.5166 MB / 4.224 GB, free: 117.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005187/9.471, allocations: 1.275 MB / 4.225 GB, free: 115.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/9.472, allocations: 102.7 kB / 4.225 GB, free: 115.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008174/9.472, allocations: 140 kB / 4.225 GB, free: 115.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005978/9.478, allocations: 1.615 MB / 4.227 GB, free: 113.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.308e-05/9.479, allocations: 3.938 kB / 4.227 GB, free: 113.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003619/9.479, allocations: 59.95 kB / 4.227 GB, free: 113.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/9.479, allocations: 62.58 kB / 4.227 GB, free: 113.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004317/9.483, allocations: 1.345 MB / 4.228 GB, free: 112.5 MB / 1.151 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.01359/9.497, allocations: 7.179 MB / 4.235 GB, free: 104.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002331/9.499, allocations: 1.165 MB / 4.236 GB, free: 103.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/9.501, allocations: 0.5811 MB / 4.237 GB, free: 103 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009861/9.502, allocations: 0.8672 MB / 4.238 GB, free: 102 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0013/9.503, allocations: 0.5798 MB / 4.238 GB, free: 101.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=110): time 5.59e-06/9.503, allocations: 0 / 4.238 GB, free: 101.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=110): time 0.003344/9.506, allocations: 1.121 MB / 4.239 GB, free: 100.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/9.506, allocations: 86.11 kB / 4.239 GB, free: 100.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002592/9.509, allocations: 1.029 MB / 4.24 GB, free: 99.12 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001807/9.509, allocations: 49.7 kB / 4.24 GB, free: 99.07 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006686/9.51, allocations: 0.6777 MB / 4.241 GB, free: 98.39 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004223/9.51, allocations: 386.3 kB / 4.241 GB, free: 98 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.48e-05/9.51, allocations: 20 kB / 4.242 GB, free: 97.98 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.834e-05/9.51, allocations: 349.9 kB / 4.242 GB, free: 97.64 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000928/9.511, allocations: 397.9 kB / 4.242 GB, free: 97.25 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/9.512, allocations: 0.5569 MB / 4.243 GB, free: 96.64 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/9.514, allocations: 476.7 kB / 4.243 GB, free: 96.17 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/9.514, allocations: 3.953 kB / 4.243 GB, free: 96.17 MB / 1.151 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003164/9.517, allocations: 1.175 MB / 4.244 GB, free: 94.98 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002886/9.517, allocations: 0.9861 MB / 4.245 GB, free: 93.95 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/9.517, allocations: 4 kB / 4.245 GB, free: 93.94 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.848e-05/9.517, allocations: 8 kB / 4.245 GB, free: 93.93 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/9.519, allocations: 223.6 kB / 4.246 GB, free: 93.71 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.313e-05/9.519, allocations: 4 kB / 4.246 GB, free: 93.71 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002833/9.522, allocations: 194.8 kB / 4.246 GB, free: 93.52 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/9.522, allocations: 43.98 kB / 4.246 GB, free: 93.48 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/9.522, allocations: 4 kB / 4.246 GB, free: 93.47 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002364/9.524, allocations: 1.015 MB / 4.247 GB, free: 92.45 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/9.524, allocations: 4 kB / 4.247 GB, free: 92.45 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/9.524, allocations: 8 kB / 4.247 GB, free: 92.44 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/9.526, allocations: 211.7 kB / 4.247 GB, free: 92.23 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.812e-05/9.526, allocations: 7.984 kB / 4.247 GB, free: 92.23 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002714/9.528, allocations: 187.1 kB / 4.247 GB, free: 92.04 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/9.529, allocations: 36 kB / 4.247 GB, free: 92.01 MB / 1.151 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.0004199/9.529, allocations: 167.4 kB / 4.247 GB, free: 91.84 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005691/9.53, allocations: 154.2 kB / 4.248 GB, free: 91.69 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003318/9.533, allocations: 1.219 MB / 4.249 GB, free: 90.46 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/9.533, allocations: 8 kB / 4.249 GB, free: 90.45 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/9.533, allocations: 0 / 4.249 GB, free: 90.45 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002177/9.535, allocations: 0.9794 MB / 4.25 GB, free: 89.46 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008559/9.544, allocations: 3.151 MB / 4.253 GB, free: 86.18 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/9.544, allocations: 4 kB / 4.253 GB, free: 86.18 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001809/9.546, allocations: 236 kB / 4.253 GB, free: 85.95 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.868e-05/9.546, allocations: 12 kB / 4.253 GB, free: 85.94 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000153/9.546, allocations: 31.98 kB / 4.253 GB, free: 85.91 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.641e-05/9.546, allocations: 7.938 kB / 4.253 GB, free: 85.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/9.546, allocations: 4 kB / 4.253 GB, free: 85.89 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004295/9.55, allocations: 1.991 MB / 4.255 GB, free: 83.77 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001611/9.552, allocations: 374.9 kB / 4.255 GB, free: 83.39 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007641/9.553, allocations: 31.94 kB / 4.255 GB, free: 83.36 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002653/9.555, allocations: 115.8 kB / 4.255 GB, free: 83.24 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002299/9.556, allocations: 72.94 kB / 4.256 GB, free: 83.17 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/9.556, allocations: 35.98 kB / 4.256 GB, free: 83.14 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002357/9.558, allocations: 0.8083 MB / 4.256 GB, free: 82.32 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.01e-07/9.558, allocations: 0 / 4.256 GB, free: 82.32 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005603/9.564, allocations: 1.095 MB / 4.257 GB, free: 81.23 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.medium.Xi[1],roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.medium.Xi[1],sha.vol.dynBal.U,sha.vol.dynBal.m) * 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.01149/9.575, allocations: 5.979 MB / 4.263 GB, free: 74.98 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004654/9.58, allocations: 1.604 MB / 4.265 GB, free: 73.37 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/9.58, allocations: 1.25 kB / 4.265 GB, free: 73.37 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001353/9.581, allocations: 0.5409 MB / 4.265 GB, free: 72.83 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006539/9.588, allocations: 0.8096 MB / 4.266 GB, free: 72.03 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009795/9.598, allocations: 3.15 MB / 4.269 GB, free: 68.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001384/9.599, allocations: 1.402 MB / 4.271 GB, free: 67.37 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.004474/9.604, allocations: 0.5892 MB / 4.271 GB, free: 66.77 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001186/9.605, allocations: 0.6047 MB / 4.272 GB, free: 66.17 MB / 1.151 GB Notification: Performance of SimCode: time 1.022e-06/9.605, allocations: 0 / 4.272 GB, free: 66.17 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1728/9.778, allocations: 86.89 MB / 4.357 GB, free: 11.52 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002599/9.778, allocations: 201 kB / 4.357 GB, free: 11.29 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.301/15.08, allocations: 3.938 kB / 4.357 GB, free: 11.29 MB / 1.182 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume_res.mat does not exist to compare? outputFormat=mat