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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.595/1.595, allocations: 223.2 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.633/2.633, allocations: 390.4 MB / 0.6655 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003591, allocations: 8 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7062/0.7065, allocations: 142.3 MB / 0.9538 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.2181/0.9247, allocations: 215 MB / 1.164 GB, free: 8.512 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01418/0.9389, allocations: 9.799 MB / 1.173 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001872/0.9408, allocations: 55.62 kB / 1.173 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002228/0.9431, allocations: 0.8 MB / 1.174 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.006969/0.9501, allocations: 2.659 MB / 1.177 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004418/0.9545, allocations: 1.444 MB / 1.178 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.006619/0.9611, allocations: 5.277 MB / 1.183 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001988/0.9632, allocations: 1.182 MB / 1.185 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002587/0.9658, allocations: 1.346 MB / 1.186 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002094/0.9679, allocations: 1.405 MB / 1.187 GB, free: 476 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002049/0.9681, allocations: 76 kB / 1.187 GB, free: 400 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004534/0.9726, allocations: 1.621 MB / 1.189 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0007707/0.9734, allocations: 0.5801 MB / 1.189 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0007393/0.9742, allocations: 408.7 kB / 1.19 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003729/0.9779, allocations: 2.564 MB / 1.192 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.9779, allocations: 0 / 1.192 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.625e-06/0.9779, allocations: 0 / 1.192 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.991e-05/0.978, allocations: 4 kB / 1.192 GB, free: 11.2 MB / 0.9512 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.004436/0.9824, allocations: 2.147 MB / 1.194 GB, free: 9 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.9825, allocations: 11.97 kB / 1.194 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002945/0.9828, allocations: 202.6 kB / 1.195 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003229/0.986, allocations: 0.5206 MB / 1.195 GB, free: 8.258 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002006/0.988, allocations: 1.186 MB / 1.196 GB, free: 7.016 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.556e-05/0.9881, allocations: 102.6 kB / 1.196 GB, free: 6.914 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001902/0.9883, allocations: 132 kB / 1.197 GB, free: 6.785 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002795/0.9911, allocations: 1.658 MB / 1.198 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.806e-05/0.9912, allocations: 15.83 kB / 1.198 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.9913, allocations: 52 kB / 1.198 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.112e-05/0.9914, allocations: 70.58 kB / 1.198 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002495/0.9939, allocations: 1.45 MB / 1.2 GB, free: 3.465 MB / 0.9512 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.008179/1.002, allocations: 6.973 MB / 1.207 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/1.004, allocations: 1.2 MB / 1.208 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009292/1.005, allocations: 0.6084 MB / 1.208 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007991/1.006, allocations: 0.8672 MB / 1.209 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/1.007, allocations: 0.6103 MB / 1.21 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=110): time 3.656e-06/1.007, allocations: 4 kB / 1.21 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of matching and sorting (n=110): time 0.003076/1.01, allocations: 1.576 MB / 1.211 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/1.01, allocations: 90.11 kB / 1.211 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/1.011, allocations: 1.182 MB / 1.213 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.932e-05/1.012, allocations: 49.7 kB / 1.213 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005417/1.012, allocations: 0.675 MB / 1.213 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003707/1.012, allocations: 386.3 kB / 1.214 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.826e-05/1.013, allocations: 20 kB / 1.214 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.013, allocations: 345.9 kB / 1.214 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007135/1.013, allocations: 421.8 kB / 1.214 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008144/1.014, allocations: 0.5517 MB / 1.215 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008408/1.015, allocations: 498.8 kB / 1.215 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/1.015, allocations: 4 kB / 1.215 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002133/1.017, allocations: 1.214 MB / 1.217 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/1.017, allocations: 167.6 kB / 1.217 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/1.017, allocations: 4 kB / 1.217 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/1.017, allocations: 8 kB / 1.217 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000966/1.018, allocations: 219.7 kB / 1.217 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.946e-05/1.018, allocations: 11.94 kB / 1.217 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/1.02, allocations: 182.9 kB / 1.217 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.601e-05/1.02, allocations: 43.98 kB / 1.217 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/1.02, allocations: 4 kB / 1.217 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001675/1.022, allocations: 1.038 MB / 1.218 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/1.022, allocations: 320 / 1.218 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/1.022, allocations: 15.95 kB / 1.218 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000863/1.022, allocations: 211.7 kB / 1.218 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/1.022, allocations: 4 kB / 1.218 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/1.024, allocations: 178.9 kB / 1.219 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.291e-05/1.024, allocations: 36 kB / 1.219 GB, free: 15.28 MB / 0.9825 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.0007265/1.025, allocations: 0.4906 MB / 1.219 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/1.025, allocations: 146.2 kB / 1.219 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002178/1.027, allocations: 1.247 MB / 1.22 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/1.027, allocations: 12 kB / 1.22 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/1.027, allocations: 0 / 1.22 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001607/1.029, allocations: 1.015 MB / 1.221 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004793/1.033, allocations: 3.171 MB / 1.225 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/1.033, allocations: 7.984 kB / 1.225 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/1.034, allocations: 227.7 kB / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.329e-05/1.035, allocations: 11.98 kB / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.448e-05/1.035, allocations: 28.31 kB / 1.225 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/1.035, allocations: 8 kB / 1.225 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.035, allocations: 7.938 kB / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002825/1.037, allocations: 1.915 MB / 1.227 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006373/1.038, allocations: 363 kB / 1.227 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/1.038, allocations: 24 kB / 1.227 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009912/1.039, allocations: 109.4 kB / 1.227 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/1.039, allocations: 80.84 kB / 1.227 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-05/1.04, allocations: 36 kB / 1.227 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001095/1.041, allocations: 0.818 MB / 1.228 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.31e-07/1.041, allocations: 0 / 1.228 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001763/1.042, allocations: 0.8377 MB / 1.229 GB, free: 4.516 MB / 0.9825 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 (110): * Single equations (assignments): 108 * 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.004364/1.047, allocations: 2.947 MB / 1.232 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002637/1.049, allocations: 1.611 MB / 1.233 GB, free: 64 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/1.049, allocations: 5.25 kB / 1.233 GB, free: 60 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008926/1.05, allocations: 0.5682 MB / 1.234 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/1.054, allocations: 0.839 MB / 1.235 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0142/1.068, allocations: 9.723 MB / 1.244 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009148/1.069, allocations: 1.364 MB / 1.246 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001799/1.071, allocations: 451.6 kB / 1.246 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008299/1.072, allocations: 0.6243 MB / 1.247 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of SimCode: time 7.41e-07/1.072, allocations: 8 kB / 1.247 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5802/1.652, allocations: 41.59 MB / 1.287 GB, free: 263 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001398/1.652, allocations: 238.6 kB / 1.287 GB, free: 262.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.926/4.578, allocations: 0 / 1.287 GB, free: 262.8 MB / 0.9981 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