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.134/2.134, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001387/0.001387, allocations: 182 kB / 498.1 MB, free: 5.73 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.407/1.407, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.0008798/0.0008798, allocations: 104.3 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003648, allocations: 9.344 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2365, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.758/3.994, allocations: 1.931 GB / 3.154 GB, free: 82.56 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003503/3.995, allocations: 92.52 kB / 3.154 GB, free: 82.47 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.122/8.117, allocations: 1.078 GB / 4.232 GB, free: 202.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.754e-06/8.117, allocations: 0 / 4.232 GB, free: 202.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002293/8.117, allocations: 51.23 kB / 4.232 GB, free: 202.4 MB / 1.167 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.008148/8.125, allocations: 2.43 MB / 4.235 GB, free: 201.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/8.125, allocations: 9.438 kB / 4.235 GB, free: 201.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006076/8.126, allocations: 200.9 kB / 4.235 GB, free: 201.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004057/8.13, allocations: 0.5245 MB / 4.235 GB, free: 201.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00438/8.135, allocations: 1.282 MB / 4.237 GB, free: 201.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000162/8.135, allocations: 102 kB / 4.237 GB, free: 201.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000519/8.135, allocations: 139.4 kB / 4.237 GB, free: 201.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004444/8.14, allocations: 1.651 MB / 4.238 GB, free: 200.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.299e-05/8.14, allocations: 4.125 kB / 4.238 GB, free: 200.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002649/8.14, allocations: 59.2 kB / 4.238 GB, free: 200.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-05/8.14, allocations: 62.86 kB / 4.239 GB, free: 200.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003042/8.143, allocations: 1.41 MB / 4.24 GB, free: 200.9 MB / 1.167 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.009656/8.153, allocations: 7.187 MB / 4.247 GB, free: 197.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/8.155, allocations: 1.199 MB / 4.248 GB, free: 197.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007437/8.155, allocations: 0.8645 MB / 4.249 GB, free: 196.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000992/8.156, allocations: 0.6091 MB / 4.25 GB, free: 196.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=110): time 3.576e-06/8.156, allocations: 2.906 kB / 4.25 GB, free: 196.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=110): time 0.003028/8.16, allocations: 1.571 MB / 4.251 GB, free: 196.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/8.16, allocations: 92.8 kB / 4.251 GB, free: 196 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00151/8.161, allocations: 1.039 MB / 4.252 GB, free: 195.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001105/8.161, allocations: 50.17 kB / 4.252 GB, free: 195.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005332/8.162, allocations: 0.685 MB / 4.253 GB, free: 195.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003287/8.162, allocations: 377.5 kB / 4.253 GB, free: 195.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.914e-05/8.162, allocations: 17.38 kB / 4.253 GB, free: 195.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.2e-05/8.162, allocations: 349 kB / 4.254 GB, free: 195.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006852/8.163, allocations: 427.2 kB / 4.254 GB, free: 195.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007979/8.164, allocations: 0.5884 MB / 4.255 GB, free: 195 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007967/8.165, allocations: 0.4922 MB / 4.255 GB, free: 194.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/8.165, allocations: 0 / 4.255 GB, free: 194.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001978/8.167, allocations: 1.227 MB / 4.256 GB, free: 194.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000231/8.167, allocations: 0.9843 MB / 4.257 GB, free: 193.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/8.167, allocations: 3.875 kB / 4.257 GB, free: 193.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.733e-05/8.167, allocations: 7.594 kB / 4.257 GB, free: 193.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009614/8.168, allocations: 218.1 kB / 4.257 GB, free: 193.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.286e-05/8.168, allocations: 9.938 kB / 4.257 GB, free: 193.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/8.17, allocations: 194.3 kB / 4.258 GB, free: 193.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/8.17, allocations: 37.47 kB / 4.258 GB, free: 193.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/8.17, allocations: 5.031 kB / 4.258 GB, free: 193.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001538/8.171, allocations: 1.04 MB / 4.259 GB, free: 193.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/8.171, allocations: 6.734 kB / 4.259 GB, free: 193.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/8.171, allocations: 11.05 kB / 4.259 GB, free: 193.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009205/8.172, allocations: 214.8 kB / 4.259 GB, free: 193.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/8.172, allocations: 10.62 kB / 4.259 GB, free: 193.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/8.174, allocations: 183.8 kB / 4.259 GB, free: 193.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/8.174, allocations: 38.94 kB / 4.259 GB, free: 193.7 MB / 1.167 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.0008383/8.175, allocations: 493.4 kB / 4.26 GB, free: 193.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002995/8.175, allocations: 153.9 kB / 4.26 GB, free: 193.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002178/8.177, allocations: 1.254 MB / 4.261 GB, free: 193.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/8.177, allocations: 11.66 kB / 4.261 GB, free: 193.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/8.177, allocations: 0 / 4.261 GB, free: 193.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001513/8.179, allocations: 1.021 MB / 4.262 GB, free: 193.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00643/8.185, allocations: 3.196 MB / 4.265 GB, free: 192.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/8.185, allocations: 3.719 kB / 4.265 GB, free: 192.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/8.187, allocations: 235.6 kB / 4.265 GB, free: 192.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.217e-05/8.187, allocations: 7.812 kB / 4.265 GB, free: 192.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001172/8.187, allocations: 30.47 kB / 4.265 GB, free: 192.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-05/8.187, allocations: 11.41 kB / 4.265 GB, free: 192.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/8.187, allocations: 3.906 kB / 4.265 GB, free: 192.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003497/8.19, allocations: 2.068 MB / 4.267 GB, free: 192.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/8.192, allocations: 372 kB / 4.268 GB, free: 192 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005046/8.192, allocations: 26.81 kB / 4.268 GB, free: 192 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001725/8.194, allocations: 115.9 kB / 4.268 GB, free: 192 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/8.194, allocations: 64.19 kB / 4.268 GB, free: 192 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-05/8.194, allocations: 44.66 kB / 4.268 GB, free: 192 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001557/8.196, allocations: 0.8222 MB / 4.269 GB, free: 191.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/8.196, allocations: 0 / 4.269 GB, free: 191.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003819/8.2, allocations: 1.104 MB / 4.27 GB, free: 191.8 MB / 1.167 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) * 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.007957/8.207, allocations: 6.102 MB / 4.276 GB, free: 189.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002706/8.21, allocations: 1.615 MB / 4.277 GB, free: 189.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/8.21, allocations: 7.688 kB / 4.277 GB, free: 189.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008095/8.211, allocations: 0.5561 MB / 4.278 GB, free: 189.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003902/8.215, allocations: 0.8043 MB / 4.279 GB, free: 189.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01747/8.232, allocations: 11.17 MB / 4.29 GB, free: 184.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001354/8.234, allocations: 1.397 MB / 4.291 GB, free: 183.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002336/8.236, allocations: 461.6 kB / 4.291 GB, free: 183.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/8.237, allocations: 0.6231 MB / 4.292 GB, free: 183.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.754e-06/8.237, allocations: 0 / 4.292 GB, free: 183.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1163/8.354, allocations: 78.37 MB / 4.369 GB, free: 171.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001518/8.354, allocations: 224.9 kB / 4.369 GB, free: 171 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.448/12.8, allocations: 0 / 4.369 GB, free: 171 MB / 1.167 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