Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001452/0.001452, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.354/1.354, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.805/2.805, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 61.8 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3275, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.9719/1.3, allocations: 235.9 MB / 1.299 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01947/1.319, allocations: 10.42 MB / 1.309 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004254/1.323, allocations: 61.53 kB / 1.309 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0039/1.327, allocations: 1.187 MB / 1.31 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01215/1.339, allocations: 3.665 MB / 1.313 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007006/1.346, allocations: 2.06 MB / 1.315 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008386/1.355, allocations: 4.447 MB / 1.32 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002745/1.358, allocations: 1.568 MB / 1.321 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003765/1.361, allocations: 1.594 MB / 1.323 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002994/1.364, allocations: 1.495 MB / 1.324 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003506/1.365, allocations: 184.6 kB / 1.325 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008253/1.373, allocations: 3.234 MB / 1.328 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001034/1.374, allocations: 0.7007 MB / 1.328 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001805/1.376, allocations: 1.062 MB / 1.329 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008438/1.384, allocations: 3.779 MB / 1.333 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/1.384, allocations: 1.812 kB / 1.333 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.833e-06/1.384, allocations: 3.5 kB / 1.333 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.719e-05/1.384, allocations: 0 / 1.333 GB, free: 3.684 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.005871/1.39, allocations: 2.483 MB / 1.336 GB, free: 18.52 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/1.39, allocations: 10.81 kB / 1.336 GB, free: 18.52 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003278/1.394, allocations: 0.5192 MB / 1.336 GB, free: 18.41 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002164/1.396, allocations: 1.234 MB / 1.337 GB, free: 17.98 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.34e-05/1.396, allocations: 102.6 kB / 1.337 GB, free: 17.98 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002204/1.396, allocations: 138.2 kB / 1.338 GB, free: 17.98 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/1.399, allocations: 1.668 MB / 1.339 GB, free: 17.77 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.886e-05/1.399, allocations: 3.906 kB / 1.339 GB, free: 17.77 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/1.399, allocations: 58.48 kB / 1.339 GB, free: 17.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.513e-05/1.399, allocations: 71.48 kB / 1.339 GB, free: 17.77 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002577/1.402, allocations: 1.454 MB / 1.341 GB, free: 17.73 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.009942/1.412, allocations: 7.022 MB / 1.348 GB, free: 12.95 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/1.414, allocations: 1.193 MB / 1.349 GB, free: 12.33 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009528/1.415, allocations: 0.6142 MB / 1.349 GB, free: 12.09 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009809/1.416, allocations: 0.8607 MB / 1.35 GB, free: 11.15 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001242/1.417, allocations: 0.6088 MB / 1.351 GB, free: 10.9 MB / 1.014 GB Notification: Performance of pre-optimization done (n=110): time 6.061e-06/1.417, allocations: 6.719 kB / 1.351 GB, free: 10.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=110): time 0.003889/1.421, allocations: 1.571 MB / 1.352 GB, free: 10.27 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.357e-05/1.421, allocations: 88.17 kB / 1.352 GB, free: 10.18 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002298/1.424, allocations: 1.193 MB / 1.354 GB, free: 9.719 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001402/1.424, allocations: 56.47 kB / 1.354 GB, free: 9.668 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007362/1.424, allocations: 0.6749 MB / 1.354 GB, free: 9.145 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005141/1.425, allocations: 379 kB / 1.355 GB, free: 8.855 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003388/1.425, allocations: 179.5 kB / 1.355 GB, free: 8.77 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001669/1.425, allocations: 345 kB / 1.355 GB, free: 8.449 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008118/1.426, allocations: 429.6 kB / 1.356 GB, free: 8.281 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008761/1.427, allocations: 0.5562 MB / 1.356 GB, free: 7.996 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/1.429, allocations: 1.015 MB / 1.357 GB, free: 7.496 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/1.429, allocations: 2.469 kB / 1.357 GB, free: 7.496 MB / 1.014 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002225/1.431, allocations: 1.221 MB / 1.358 GB, free: 6.988 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/1.431, allocations: 9 kB / 1.358 GB, free: 6.988 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.431, allocations: 5.875 kB / 1.358 GB, free: 6.984 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/1.431, allocations: 6.812 kB / 1.358 GB, free: 6.984 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009232/1.432, allocations: 210.3 kB / 1.358 GB, free: 6.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/1.432, allocations: 8.906 kB / 1.358 GB, free: 6.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/1.433, allocations: 106 kB / 1.359 GB, free: 6.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.009e-05/1.433, allocations: 37.31 kB / 1.359 GB, free: 6.902 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001222/1.435, allocations: 0.733 MB / 1.359 GB, free: 6.555 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007232/1.435, allocations: 0.5418 MB / 1.36 GB, free: 6.277 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001387/1.437, allocations: 0.9969 MB / 1.361 GB, free: 5.773 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.916e-06/1.437, allocations: 4 kB / 1.361 GB, free: 5.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.001905/1.439, allocations: 1.193 MB / 1.362 GB, free: 5.281 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/1.439, allocations: 8.344 kB / 1.362 GB, free: 5.277 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/1.439, allocations: 4.688 kB / 1.362 GB, free: 5.277 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/1.439, allocations: 7.219 kB / 1.362 GB, free: 5.277 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008438/1.44, allocations: 213.4 kB / 1.362 GB, free: 5.266 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/1.44, allocations: 10.34 kB / 1.362 GB, free: 5.266 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/1.441, allocations: 73.16 kB / 1.362 GB, free: 5.215 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.278e-05/1.441, allocations: 36.91 kB / 1.362 GB, free: 5.207 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.000311/1.441, allocations: 241.2 kB / 1.363 GB, free: 4.992 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/1.441, allocations: 156.5 kB / 1.363 GB, free: 4.91 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002183/1.443, allocations: 1.243 MB / 1.364 GB, free: 4.375 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.527e-06/1.443, allocations: 10.06 kB / 1.364 GB, free: 4.375 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/1.444, allocations: 0.9375 kB / 1.364 GB, free: 4.375 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001516/1.445, allocations: 1.014 MB / 1.365 GB, free: 3.949 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004759/1.45, allocations: 3.166 MB / 1.368 GB, free: 2.387 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.45, allocations: 5.875 kB / 1.368 GB, free: 2.383 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/1.451, allocations: 231.9 kB / 1.368 GB, free: 2.375 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.357e-06/1.451, allocations: 4.781 kB / 1.368 GB, free: 2.375 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.064e-05/1.451, allocations: 35.55 kB / 1.368 GB, free: 2.355 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/1.451, allocations: 6.031 kB / 1.368 GB, free: 2.355 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.451, allocations: 2.531 kB / 1.368 GB, free: 2.355 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002686/1.454, allocations: 1.912 MB / 1.37 GB, free: 1.332 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006129/1.454, allocations: 357.5 kB / 1.371 GB, free: 1.043 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/1.454, allocations: 27.25 kB / 1.371 GB, free: 1.023 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008871/1.455, allocations: 39.3 kB / 1.371 GB, free: 1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/1.456, allocations: 80.73 kB / 1.371 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.779e-05/1.456, allocations: 35.67 kB / 1.371 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001044/1.457, allocations: 0.8289 MB / 1.371 GB, free: 0.5 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.41e-07/1.457, allocations: 0 / 1.371 GB, free: 0.5 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001971/1.459, allocations: 0.8309 MB / 1.372 GB, free: 340 kB / 1.014 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.00132/1.46, allocations: 0.5825 MB / 1.373 GB, free: 64 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003545/1.464, allocations: 1.861 MB / 1.375 GB, free: 15.33 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/1.464, allocations: 3.344 kB / 1.375 GB, free: 15.33 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008494/1.464, allocations: 0.5691 MB / 1.375 GB, free: 15.1 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003893/1.468, allocations: 0.8729 MB / 1.376 GB, free: 14.64 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00521/1.474, allocations: 3.363 MB / 1.379 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008915/1.474, allocations: 1.36 MB / 1.381 GB, free: 11.54 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001865/1.476, allocations: 460.6 kB / 1.381 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00034/1.477, allocations: 114.2 kB / 1.381 GB, free: 11.31 MB / 1.029 GB Notification: Performance of SimCode: time 7.01e-07/1.477, allocations: 0 / 1.381 GB, free: 11.31 MB / 1.029 GB Notification: Performance of Templates: time 0.04918/1.526, allocations: 29.97 MB / 1.411 GB, free: 148 kB / 1.045 GB make -j1 -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)