Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.574/2.574, allocations: 287.3 MB / 302.3 MB, free: 8.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001649/0.001648, allocations: 171 kB / 370.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.159/2.159, allocations: 205.4 MB / 0.6295 GB, free: 10.68 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001166/0.001165, allocations: 107.6 kB / 0.7428 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004786/0.0004785, allocations: 12.22 kB / 0.8657 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.211, allocations: 115.3 MB / 0.9783 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.9943/1.205, allocations: 193.5 MB / 1.167 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02532/1.231, allocations: 10.15 MB / 1.177 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003385/1.234, allocations: 46.88 kB / 1.177 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00558/1.24, allocations: 1.067 MB / 1.178 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01435/1.254, allocations: 2.886 MB / 1.181 GB, free: 408 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.008068/1.262, allocations: 1.584 MB / 1.183 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.006891/1.269, allocations: 2.535 MB / 1.185 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003213/1.273, allocations: 1.193 MB / 1.186 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004409/1.277, allocations: 1.24 MB / 1.187 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002901/1.28, allocations: 0.939 MB / 1.188 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0006145/1.281, allocations: 75.66 kB / 1.188 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006439/1.287, allocations: 1.36 MB / 1.19 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001365/1.289, allocations: 0.5263 MB / 1.19 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001119/1.29, allocations: 409.7 kB / 1.191 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.006026/1.296, allocations: 2.368 MB / 1.193 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.296, allocations: 0 / 1.193 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.146e-06/1.296, allocations: 0 / 1.193 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001025/1.296, allocations: 0 / 1.193 GB, free: 8.98 MB / 0.7292 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.008889/1.305, allocations: 2.093 MB / 1.195 GB, free: 7.461 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/1.305, allocations: 10.25 kB / 1.195 GB, free: 7.461 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007592/1.306, allocations: 204.2 kB / 1.195 GB, free: 7.301 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005472/1.311, allocations: 0.525 MB / 1.196 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003941/1.315, allocations: 1.169 MB / 1.197 GB, free: 6.16 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/1.315, allocations: 100.8 kB / 1.197 GB, free: 6.113 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004374/1.316, allocations: 139.2 kB / 1.197 GB, free: 6.066 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005299/1.321, allocations: 1.654 MB / 1.199 GB, free: 5.027 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.376e-05/1.321, allocations: 1.688 kB / 1.199 GB, free: 5.027 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002267/1.321, allocations: 53.38 kB / 1.199 GB, free: 4.988 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001324/1.322, allocations: 75.34 kB / 1.199 GB, free: 4.969 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005079/1.327, allocations: 1.443 MB / 1.2 GB, free: 4.238 MB / 0.7292 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.01581/1.343, allocations: 6.952 MB / 1.207 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003397/1.346, allocations: 1.2 MB / 1.208 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001107/1.347, allocations: 0.6892 MB / 1.209 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002067/1.349, allocations: 0.6063 MB / 1.21 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=110): time 5.28e-06/1.349, allocations: 0 / 1.21 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of matching and sorting (n=110): time 0.006063/1.355, allocations: 1.573 MB / 1.211 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.782e-05/1.356, allocations: 94.09 kB / 1.211 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002679/1.358, allocations: 1.179 MB / 1.212 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002991/1.359, allocations: 49.7 kB / 1.212 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009493/1.36, allocations: 0.6776 MB / 1.213 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008215/1.36, allocations: 382.4 kB / 1.213 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/1.361, allocations: 20 kB / 1.213 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001885/1.361, allocations: 341.9 kB / 1.214 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/1.362, allocations: 429.7 kB / 1.214 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001639/1.364, allocations: 0.5496 MB / 1.215 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001677/1.366, allocations: 0.491 MB / 1.215 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/1.366, allocations: 0 / 1.215 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004222/1.37, allocations: 1.218 MB / 1.216 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005698/1.37, allocations: 0.9852 MB / 1.217 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/1.371, allocations: 4.781 kB / 1.217 GB, free: 3.727 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.197e-05/1.371, allocations: 8 kB / 1.217 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002121/1.373, allocations: 211.7 kB / 1.217 GB, free: 3.512 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.937e-05/1.373, allocations: 8 kB / 1.217 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002793/1.376, allocations: 176.3 kB / 1.218 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002752/1.376, allocations: 39.98 kB / 1.218 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/1.376, allocations: 4 kB / 1.218 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003412/1.379, allocations: 1.034 MB / 1.219 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/1.379, allocations: 4 kB / 1.219 GB, free: 2.246 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/1.379, allocations: 8.312 kB / 1.219 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001965/1.381, allocations: 215.7 kB / 1.219 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.338e-05/1.381, allocations: 8 kB / 1.219 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002594/1.384, allocations: 158.9 kB / 1.219 GB, free: 1.863 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001987/1.384, allocations: 39.97 kB / 1.219 GB, free: 1.824 MB / 0.7448 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.00129/1.386, allocations: 491.2 kB / 1.22 GB, free: 1.336 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000591/1.386, allocations: 154.2 kB / 1.22 GB, free: 1.184 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004203/1.39, allocations: 1.243 MB / 1.221 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/1.391, allocations: 8 kB / 1.221 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/1.391, allocations: 0 / 1.221 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003233/1.394, allocations: 1.007 MB / 1.222 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009963/1.404, allocations: 3.166 MB / 1.225 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/1.404, allocations: 4 kB / 1.225 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002396/1.406, allocations: 240 kB / 1.225 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.613e-05/1.406, allocations: 8 kB / 1.225 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001892/1.407, allocations: 27.98 kB / 1.225 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.498e-05/1.407, allocations: 8 kB / 1.225 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/1.407, allocations: 4 kB / 1.225 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005984/1.413, allocations: 2.135 MB / 1.227 GB, free: 9.062 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001504/1.414, allocations: 355 kB / 1.228 GB, free: 8.695 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000422/1.415, allocations: 28 kB / 1.228 GB, free: 8.668 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002287/1.417, allocations: 115.9 kB / 1.228 GB, free: 8.555 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003281/1.417, allocations: 84.83 kB / 1.228 GB, free: 8.469 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000155/1.417, allocations: 35.98 kB / 1.228 GB, free: 8.434 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001985/1.419, allocations: 0.8137 MB / 1.229 GB, free: 7.617 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6.71e-07/1.419, allocations: 4 kB / 1.229 GB, free: 7.613 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0036/1.423, allocations: 0.8298 MB / 1.23 GB, free: 6.781 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.U,roo.dynBal.m,roo.dynBal.mXi[1],oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.U,sha.vol.dynBal.m,sha.vol.dynBal.mXi[1]) * 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.008447/1.432, allocations: 3.836 MB / 1.233 GB, free: 3.02 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.005078/1.437, allocations: 1.612 MB / 1.235 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.354e-05/1.437, allocations: 4.062 kB / 1.235 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001819/1.439, allocations: 0.5639 MB / 1.235 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007133/1.446, allocations: 0.813 MB / 1.236 GB, free: 36 kB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02784/1.474, allocations: 11.06 MB / 1.247 GB, free: 4.566 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001536/1.475, allocations: 1.399 MB / 1.248 GB, free: 3.137 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003401/1.479, allocations: 447.6 kB / 1.249 GB, free: 2.695 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001763/1.481, allocations: 0.6203 MB / 1.249 GB, free: 2.074 MB / 0.7761 GB Notification: Performance of SimCode: time 1.683e-06/1.481, allocations: 0 / 1.249 GB, free: 2.074 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1438/1.624, allocations: 41.55 MB / 1.29 GB, free: 8.91 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003618/1.625, allocations: 245.5 kB / 1.29 GB, free: 8.66 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.196/5.821, allocations: 0 / 1.29 GB, free: 8.66 MB / 0.823 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)