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.001145/0.001145, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001297/0.001297, allocations: 177.3 kB / 15.95 MB, free: 216 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.5/1.5, allocations: 223.2 MB / 239.9 MB, free: 5.371 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.624/2.624, allocations: 390.3 MB / 0.6653 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003842, allocations: 12 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8999/0.9004, allocations: 142.3 MB / 0.9536 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.2455/1.146, allocations: 193.5 MB / 1.143 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01781/1.164, allocations: 10.35 MB / 1.153 GB, free: 3.789 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002799/1.167, allocations: 47.69 kB / 1.153 GB, free: 3.742 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003384/1.17, allocations: 1.062 MB / 1.154 GB, free: 2.676 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01044/1.181, allocations: 2.972 MB / 1.157 GB, free: 15.7 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005558/1.186, allocations: 1.583 MB / 1.158 GB, free: 14.13 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006251/1.192, allocations: 2.538 MB / 1.161 GB, free: 11.59 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002288/1.195, allocations: 1.198 MB / 1.162 GB, free: 10.36 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003113/1.198, allocations: 1.25 MB / 1.163 GB, free: 9.102 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001878/1.2, allocations: 0.9338 MB / 1.164 GB, free: 8.164 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000219/1.2, allocations: 76 kB / 1.164 GB, free: 8.09 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004651/1.205, allocations: 1.357 MB / 1.165 GB, free: 6.73 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0008714/1.205, allocations: 0.5258 MB / 1.166 GB, free: 6.203 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0008297/1.206, allocations: 404.7 kB / 1.166 GB, free: 5.801 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004125/1.21, allocations: 2.373 MB / 1.169 GB, free: 3.422 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/1.21, allocations: 0 / 1.169 GB, free: 3.422 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.945e-06/1.21, allocations: 0 / 1.169 GB, free: 3.422 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.957e-05/1.211, allocations: 0 / 1.169 GB, free: 3.422 MB / 0.92 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.005306/1.216, allocations: 2.093 MB / 1.171 GB, free: 1.273 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/1.216, allocations: 8.031 kB / 1.171 GB, free: 1.266 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005308/1.216, allocations: 198.6 kB / 1.171 GB, free: 1.062 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003735/1.22, allocations: 0.5401 MB / 1.171 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003152/1.223, allocations: 1.171 MB / 1.173 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/1.224, allocations: 102.6 kB / 1.173 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002358/1.224, allocations: 135.9 kB / 1.173 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003092/1.227, allocations: 1.65 MB / 1.174 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/1.227, allocations: 7.906 kB / 1.174 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/1.227, allocations: 55.98 kB / 1.174 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-05/1.227, allocations: 74.52 kB / 1.175 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00283/1.23, allocations: 1.451 MB / 1.176 GB, free: 11.75 MB / 0.9356 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.01182/1.242, allocations: 6.965 MB / 1.183 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/1.244, allocations: 1.205 MB / 1.184 GB, free: 3.074 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009845/1.245, allocations: 0.6931 MB / 1.185 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001127/1.246, allocations: 0.6063 MB / 1.185 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=110): time 3.356e-06/1.246, allocations: 4 kB / 1.185 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of matching and sorting (n=110): time 0.003478/1.25, allocations: 1.576 MB / 1.187 GB, free: 28 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.824e-05/1.25, allocations: 90.11 kB / 1.187 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/1.251, allocations: 1.182 MB / 1.188 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001193/1.252, allocations: 53.64 kB / 1.188 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007607/1.252, allocations: 0.6698 MB / 1.189 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004907/1.253, allocations: 394.2 kB / 1.189 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.404e-05/1.253, allocations: 23.94 kB / 1.189 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001615/1.253, allocations: 341.9 kB / 1.189 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007351/1.254, allocations: 425.8 kB / 1.19 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008418/1.255, allocations: 0.5479 MB / 1.19 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008719/1.256, allocations: 498.8 kB / 1.191 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.256, allocations: 0 / 1.191 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002342/1.258, allocations: 1.218 MB / 1.192 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005545/1.259, allocations: 0.9834 MB / 1.193 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/1.259, allocations: 4 kB / 1.193 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/1.259, allocations: 8 kB / 1.193 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009841/1.26, allocations: 215.7 kB / 1.193 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.961e-05/1.26, allocations: 8 kB / 1.193 GB, free: 9.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/1.261, allocations: 186.9 kB / 1.193 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.639e-05/1.261, allocations: 40 kB / 1.193 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/1.262, allocations: 4 kB / 1.193 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001946/1.263, allocations: 1.038 MB / 1.194 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/1.263, allocations: 7.984 kB / 1.194 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/1.263, allocations: 4 kB / 1.194 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009105/1.264, allocations: 207.7 kB / 1.195 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/1.264, allocations: 15.97 kB / 1.195 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/1.266, allocations: 183.2 kB / 1.195 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.059e-05/1.266, allocations: 39.95 kB / 1.195 GB, free: 7.539 MB / 0.9512 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.001169/1.267, allocations: 484.8 kB / 1.195 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003049/1.268, allocations: 146.2 kB / 1.195 GB, free: 6.91 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002426/1.27, allocations: 1.247 MB / 1.197 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/1.27, allocations: 15.98 kB / 1.197 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/1.27, allocations: 0 / 1.197 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001633/1.272, allocations: 1.015 MB / 1.198 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005641/1.278, allocations: 3.178 MB / 1.201 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/1.278, allocations: 0 / 1.201 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/1.279, allocations: 236 kB / 1.201 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/1.279, allocations: 4 kB / 1.201 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.323e-05/1.279, allocations: 31.98 kB / 1.201 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.588e-06/1.279, allocations: 8 kB / 1.201 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.279, allocations: 0 / 1.201 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003294/1.282, allocations: 2.054 MB / 1.203 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009577/1.283, allocations: 358.9 kB / 1.203 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00021/1.283, allocations: 31.78 kB / 1.203 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/1.284, allocations: 117.5 kB / 1.204 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/1.285, allocations: 80.92 kB / 1.204 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-05/1.285, allocations: 35.94 kB / 1.204 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001179/1.286, allocations: 0.818 MB / 1.204 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/1.286, allocations: 0 / 1.204 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002042/1.288, allocations: 0.8338 MB / 1.205 GB, free: 12.56 MB / 0.9669 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.005058/1.293, allocations: 3.754 MB / 1.209 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004635/1.298, allocations: 1.608 MB / 1.21 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/1.298, allocations: 8.188 kB / 1.211 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001646/1.299, allocations: 0.5638 MB / 1.211 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006158/1.305, allocations: 0.8179 MB / 1.212 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02571/1.331, allocations: 11.13 MB / 1.223 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001647/1.333, allocations: 1.395 MB / 1.224 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.003332/1.336, allocations: 459.6 kB / 1.225 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001371/1.338, allocations: 0.6281 MB / 1.225 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of SimCode: time 1.523e-06/1.338, allocations: 0 / 1.225 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6316/1.969, allocations: 41.55 MB / 1.266 GB, free: 275.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/1.97, allocations: 229.4 kB / 1.266 GB, free: 275.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.758/4.728, allocations: 3.938 kB / 1.266 GB, free: 275.6 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