Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001171/0.001171, allocations: 193.2 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.76/2.76, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 61.97 kB / 0.9113 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4254/0.4268, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 1.084/1.51, allocations: 233.7 MB / 1.296 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02284/1.533, allocations: 10.53 MB / 1.306 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006011/1.539, allocations: 58.22 kB / 1.306 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005031/1.545, allocations: 1.024 MB / 1.307 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0143/1.559, allocations: 3.443 MB / 1.31 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008573/1.567, allocations: 1.883 MB / 1.312 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01192/1.579, allocations: 6.272 MB / 1.318 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003812/1.583, allocations: 1.332 MB / 1.32 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005531/1.589, allocations: 1.383 MB / 1.321 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005319/1.594, allocations: 1.538 MB / 1.323 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007052/1.595, allocations: 96 kB / 1.323 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01136/1.606, allocations: 3.741 MB / 1.326 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001877/1.608, allocations: 0.6133 MB / 1.327 GB, free: 4 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002626/1.611, allocations: 0.969 MB / 1.328 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01099/1.622, allocations: 3.947 MB / 1.332 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/1.622, allocations: 0 / 1.332 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.964e-06/1.622, allocations: 2.188 kB / 1.332 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.24e-05/1.622, allocations: 0 / 1.332 GB, free: 3.273 MB / 0.9981 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.007012/1.629, allocations: 2.485 MB / 1.334 GB, free: 18.11 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/1.629, allocations: 8.031 kB / 1.334 GB, free: 18.11 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003622/1.633, allocations: 0.5212 MB / 1.335 GB, free: 18 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002315/1.635, allocations: 1.233 MB / 1.336 GB, free: 17.57 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.373e-05/1.635, allocations: 104.6 kB / 1.336 GB, free: 17.56 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002029/1.635, allocations: 136.4 kB / 1.336 GB, free: 17.56 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003014/1.638, allocations: 1.67 MB / 1.338 GB, free: 17.35 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.054e-05/1.638, allocations: 6.844 kB / 1.338 GB, free: 17.35 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/1.639, allocations: 64.34 kB / 1.338 GB, free: 17.34 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.927e-05/1.639, allocations: 71.12 kB / 1.338 GB, free: 17.34 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002701/1.641, allocations: 1.444 MB / 1.339 GB, free: 17.32 MB / 1.014 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.009875/1.651, allocations: 6.962 MB / 1.346 GB, free: 13.45 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/1.653, allocations: 1.189 MB / 1.347 GB, free: 12.84 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008521/1.654, allocations: 0.6097 MB / 1.348 GB, free: 12.61 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009189/1.655, allocations: 0.8643 MB / 1.349 GB, free: 11.65 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001062/1.656, allocations: 0.6089 MB / 1.349 GB, free: 11.41 MB / 1.014 GB Notification: Performance of pre-optimization done (n=110): time 3.617e-06/1.656, allocations: 0 / 1.349 GB, free: 11.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=110): time 0.0034/1.659, allocations: 1.579 MB / 1.351 GB, free: 10.78 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.807e-05/1.66, allocations: 91.39 kB / 1.351 GB, free: 10.68 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/1.661, allocations: 1.195 MB / 1.352 GB, free: 10.22 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001529/1.662, allocations: 46.98 kB / 1.352 GB, free: 10.18 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000696/1.662, allocations: 0.6728 MB / 1.353 GB, free: 9.656 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004168/1.663, allocations: 383 kB / 1.353 GB, free: 9.363 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002978/1.663, allocations: 178.4 kB / 1.353 GB, free: 9.277 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001539/1.663, allocations: 346.3 kB / 1.354 GB, free: 8.953 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007603/1.664, allocations: 430.4 kB / 1.354 GB, free: 8.789 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009001/1.665, allocations: 0.5563 MB / 1.355 GB, free: 8.508 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/1.666, allocations: 1.011 MB / 1.356 GB, free: 8.008 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/1.666, allocations: 0 / 1.356 GB, free: 8.008 MB / 1.014 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002371/1.669, allocations: 1.221 MB / 1.357 GB, free: 7.512 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/1.669, allocations: 12.19 kB / 1.357 GB, free: 7.508 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/1.669, allocations: 0 / 1.357 GB, free: 7.508 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.636e-05/1.669, allocations: 11 kB / 1.357 GB, free: 7.504 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009457/1.67, allocations: 214.8 kB / 1.357 GB, free: 7.496 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.979e-05/1.67, allocations: 11.98 kB / 1.357 GB, free: 7.496 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/1.672, allocations: 185.6 kB / 1.357 GB, free: 7.418 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-05/1.672, allocations: 37.53 kB / 1.357 GB, free: 7.41 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001533/1.673, allocations: 0.7385 MB / 1.358 GB, free: 7.055 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008535/1.674, allocations: 0.5403 MB / 1.358 GB, free: 6.773 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001597/1.676, allocations: 0.9898 MB / 1.359 GB, free: 6.281 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.379e-06/1.676, allocations: 2.125 kB / 1.359 GB, free: 6.281 MB / 1.014 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002362/1.678, allocations: 1.2 MB / 1.361 GB, free: 5.773 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/1.678, allocations: 5.031 kB / 1.361 GB, free: 5.773 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/1.678, allocations: 1.812 kB / 1.361 GB, free: 5.773 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/1.678, allocations: 10.22 kB / 1.361 GB, free: 5.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009204/1.679, allocations: 215.3 kB / 1.361 GB, free: 5.734 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/1.679, allocations: 6.781 kB / 1.361 GB, free: 5.734 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/1.681, allocations: 166.5 kB / 1.361 GB, free: 5.641 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-05/1.681, allocations: 39.27 kB / 1.361 GB, free: 5.629 MB / 1.014 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 ($PRE.mRoo_flow.nextTimeEvent,$whenCondition1,mRoo_flow.nextTimeEventScaled,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000495/1.682, allocations: 234.5 kB / 1.361 GB, free: 5.418 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003077/1.682, allocations: 155.3 kB / 1.361 GB, free: 5.34 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002531/1.684, allocations: 1.248 MB / 1.363 GB, free: 4.637 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/1.685, allocations: 10.06 kB / 1.363 GB, free: 4.637 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/1.685, allocations: 0 / 1.363 GB, free: 4.637 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001693/1.686, allocations: 1.011 MB / 1.364 GB, free: 4.113 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005981/1.692, allocations: 3.164 MB / 1.367 GB, free: 1.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/1.692, allocations: 6.812 kB / 1.367 GB, free: 1.977 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/1.693, allocations: 230.9 kB / 1.367 GB, free: 1.938 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.259e-05/1.693, allocations: 5.469 kB / 1.367 GB, free: 1.938 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.851e-05/1.693, allocations: 26.97 kB / 1.367 GB, free: 1.922 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-05/1.693, allocations: 11.31 kB / 1.367 GB, free: 1.918 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.694, allocations: 6.188 kB / 1.367 GB, free: 1.918 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003095/1.697, allocations: 1.91 MB / 1.369 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008526/1.697, allocations: 357.4 kB / 1.369 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/1.698, allocations: 27.33 kB / 1.369 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/1.699, allocations: 116.7 kB / 1.369 GB, free: 468 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/1.699, allocations: 78.31 kB / 1.369 GB, free: 424 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.93e-05/1.699, allocations: 35.95 kB / 1.369 GB, free: 412 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001392/1.7, allocations: 0.8244 MB / 1.37 GB, free: 15.96 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.701, allocations: 0 / 1.37 GB, free: 15.96 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002562/1.703, allocations: 0.8355 MB / 1.371 GB, free: 15.79 MB / 1.029 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001499/1.705, allocations: 0.5936 MB / 1.372 GB, free: 15.51 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002945/1.708, allocations: 1.61 MB / 1.373 GB, free: 14.82 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/1.708, allocations: 0 / 1.373 GB, free: 14.82 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/1.709, allocations: 0.5724 MB / 1.374 GB, free: 14.58 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003989/1.713, allocations: 0.8346 MB / 1.375 GB, free: 14.16 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006057/1.719, allocations: 3.968 MB / 1.378 GB, free: 11.45 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009893/1.72, allocations: 1.37 MB / 1.38 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0022/1.722, allocations: 455.8 kB / 1.38 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003903/1.722, allocations: 106.6 kB / 1.38 GB, free: 10.23 MB / 1.029 GB Notification: Performance of SimCode: time 7.41e-07/1.722, allocations: 3.906 kB / 1.38 GB, free: 10.23 MB / 1.029 GB Notification: Performance of Templates: time 0.06019/1.782, allocations: 28.69 MB / 1.408 GB, free: 15.62 MB / 1.061 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)