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.258/2.258, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001241/0.001241, allocations: 180.8 kB / 487.4 MB, free: 5.043 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.518/1.518, allocations: 221.5 MB / 0.7824 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 91.88 kB / 0.9219 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.047e-05/2.049e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2983, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.933/5.231, allocations: 1.93 GB / 3.136 GB, free: 420.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/5.231, allocations: 88.52 kB / 3.136 GB, free: 420.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.316/8.547, allocations: 1.066 GB / 4.202 GB, free: 192.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.226e-06/8.548, allocations: 0 / 4.202 GB, free: 192.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001898/8.548, allocations: 48.31 kB / 4.202 GB, free: 192.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.00669/8.554, allocations: 2.156 MB / 4.204 GB, free: 190.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/8.555, allocations: 10.77 kB / 4.204 GB, free: 190.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003477/8.558, allocations: 0.5241 MB / 4.205 GB, free: 190.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002417/8.56, allocations: 1.272 MB / 4.206 GB, free: 189.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.908e-05/8.56, allocations: 44.2 kB / 4.206 GB, free: 189.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/8.561, allocations: 80.69 kB / 4.206 GB, free: 189.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001997/8.563, allocations: 1.199 MB / 4.207 GB, free: 189 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/8.565, allocations: 1.423 MB / 4.209 GB, free: 187.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.671e-05/8.565, allocations: 0 / 4.209 GB, free: 187.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/8.565, allocations: 4 kB / 4.209 GB, free: 187.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.649e-05/8.565, allocations: 58.58 kB / 4.209 GB, free: 187.8 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.008039/8.573, allocations: 7.042 MB / 4.216 GB, free: 180.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/8.575, allocations: 1.239 MB / 4.217 GB, free: 179.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006638/8.575, allocations: 0.5697 MB / 4.217 GB, free: 178.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007242/8.576, allocations: 0.8706 MB / 4.218 GB, free: 177.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008236/8.577, allocations: 0.5964 MB / 4.219 GB, free: 177 MB / 1.151 GB Notification: Performance of pre-optimization done (n=110): time 2.705e-06/8.577, allocations: 0 / 4.219 GB, free: 177 MB / 1.151 GB Notification: Performance of matching and sorting (n=110): time 0.002175/8.579, allocations: 1.141 MB / 4.22 GB, free: 175.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/8.579, allocations: 90.42 kB / 4.22 GB, free: 175.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009522/8.58, allocations: 0.8235 MB / 4.221 GB, free: 174.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.111e-05/8.58, allocations: 25.7 kB / 4.221 GB, free: 174.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004911/8.581, allocations: 0.693 MB / 4.222 GB, free: 174.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002828/8.581, allocations: 366.5 kB / 4.222 GB, free: 173.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.434e-05/8.581, allocations: 0 / 4.222 GB, free: 173.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.746e-05/8.581, allocations: 345.9 kB / 4.222 GB, free: 173.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000492/8.582, allocations: 414.5 kB / 4.223 GB, free: 173 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005775/8.582, allocations: 0.5701 MB / 4.223 GB, free: 172.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007903/8.583, allocations: 0.4975 MB / 4.224 GB, free: 171.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/8.583, allocations: 7.344 kB / 4.224 GB, free: 171.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001662/8.585, allocations: 1.182 MB / 4.225 GB, free: 170.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001763/8.585, allocations: 0.9708 MB / 4.226 GB, free: 169.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/8.585, allocations: 11.23 kB / 4.226 GB, free: 169.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/8.585, allocations: 8 kB / 4.226 GB, free: 169.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009431/8.586, allocations: 223.7 kB / 4.226 GB, free: 169.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/8.586, allocations: 11.94 kB / 4.226 GB, free: 169.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/8.587, allocations: 153 kB / 4.226 GB, free: 169.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.708e-05/8.587, allocations: 51.17 kB / 4.226 GB, free: 169.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/8.587, allocations: 4 kB / 4.226 GB, free: 169.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001427/8.589, allocations: 1.014 MB / 4.227 GB, free: 168.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/8.589, allocations: 3.5 kB / 4.227 GB, free: 168.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/8.589, allocations: 8 kB / 4.227 GB, free: 168.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008722/8.59, allocations: 223.7 kB / 4.227 GB, free: 168 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/8.59, allocations: 7.984 kB / 4.227 GB, free: 168 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/8.591, allocations: 147.6 kB / 4.228 GB, free: 167.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.849e-05/8.591, allocations: 39.98 kB / 4.228 GB, free: 167.9 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.0002171/8.591, allocations: 124.7 kB / 4.228 GB, free: 167.7 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001516/8.593, allocations: 1.104 MB / 4.229 GB, free: 166.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/8.593, allocations: 142.3 kB / 4.229 GB, free: 166.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/8.595, allocations: 1.223 MB / 4.23 GB, free: 165.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/8.595, allocations: 12 kB / 4.23 GB, free: 165.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/8.595, allocations: 0 / 4.23 GB, free: 165.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00133/8.596, allocations: 1.019 MB / 4.231 GB, free: 164.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004169/8.601, allocations: 3.106 MB / 4.234 GB, free: 161 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/8.601, allocations: 7.984 kB / 4.234 GB, free: 161 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/8.602, allocations: 242.5 kB / 4.234 GB, free: 160.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/8.602, allocations: 8.094 kB / 4.234 GB, free: 160.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.108e-05/8.602, allocations: 23.92 kB / 4.234 GB, free: 160.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/8.602, allocations: 4 kB / 4.234 GB, free: 160.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/8.602, allocations: 7.953 kB / 4.234 GB, free: 160.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002251/8.604, allocations: 2.006 MB / 4.236 GB, free: 158.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006302/8.605, allocations: 359.2 kB / 4.237 GB, free: 158.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/8.605, allocations: 16.97 kB / 4.237 GB, free: 158.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/8.606, allocations: 96.47 kB / 4.237 GB, free: 158.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/8.606, allocations: 76.23 kB / 4.237 GB, free: 158.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.483e-05/8.606, allocations: 39.98 kB / 4.237 GB, free: 158.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007334/8.607, allocations: 0.6305 MB / 4.238 GB, free: 157.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.9e-07/8.607, allocations: 0 / 4.238 GB, free: 157.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002274/8.609, allocations: 1.009 MB / 4.239 GB, free: 156.4 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.006722/8.616, allocations: 6.235 MB / 4.245 GB, free: 150.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002263/8.618, allocations: 1.638 MB / 4.246 GB, free: 148.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/8.618, allocations: 0 / 4.246 GB, free: 148.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006173/8.619, allocations: 0.5475 MB / 4.247 GB, free: 148.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003697/8.623, allocations: 0.6934 MB / 4.247 GB, free: 147.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004968/8.628, allocations: 3.08 MB / 4.25 GB, free: 144.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006797/8.628, allocations: 1.401 MB / 4.252 GB, free: 143.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002136/8.63, allocations: 0.5597 MB / 4.252 GB, free: 142.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006689/8.631, allocations: 0.6003 MB / 4.253 GB, free: 142 MB / 1.151 GB Notification: Performance of SimCode: time 4.31e-07/8.631, allocations: 0 / 4.253 GB, free: 142 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07918/8.71, allocations: 57.27 MB / 4.309 GB, free: 85.16 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/8.711, allocations: 181.7 kB / 4.309 GB, free: 84.97 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.075/12.79, allocations: 0 / 4.309 GB, free: 84.97 MB / 1.151 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