Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.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.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 108 kB / 15.6 MB, free: 132 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.001245/0.001245, allocations: 190.8 kB / 16.53 MB, free: 6.391 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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.711/2.711, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 69.25 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3568, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.1704/0.5272, allocations: 167.6 MB / 1.232 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01292/0.5402, allocations: 8.9 MB / 1.241 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001663/0.5419, allocations: 35.81 kB / 1.241 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001986/0.5439, allocations: 0.6601 MB / 1.241 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004133/0.5481, allocations: 1.492 MB / 1.243 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003305/0.5514, allocations: 1.181 MB / 1.244 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00346/0.5549, allocations: 2.693 MB / 1.246 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.5564, allocations: 0.957 MB / 1.247 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002215/0.5586, allocations: 1.019 MB / 1.248 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001659/0.5603, allocations: 0.9883 MB / 1.249 GB, free: 224 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003011/0.5606, allocations: 96 kB / 1.249 GB, free: 128 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5819/1.143, allocations: 1.043 MB / 1.25 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003771/1.143, allocations: 273.9 kB / 1.251 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008606/1.144, allocations: 0.6081 MB / 1.251 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003015/1.147, allocations: 1.722 MB / 1.253 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.147, allocations: 1.203 kB / 1.253 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.804e-06/1.147, allocations: 0 / 1.253 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.869e-05/1.147, allocations: 1.719 kB / 1.253 GB, free: 9.711 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002725/1.15, allocations: 1.565 MB / 1.254 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/1.15, allocations: 9 kB / 1.255 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000345/1.15, allocations: 140.7 kB / 1.255 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/1.151, allocations: 0.8316 MB / 1.255 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.261e-05/1.151, allocations: 60.34 kB / 1.256 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/1.152, allocations: 82.91 kB / 1.256 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/1.153, allocations: 0.8732 MB / 1.256 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/1.153, allocations: 2.5 kB / 1.256 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.539e-05/1.153, allocations: 31.5 kB / 1.256 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.503e-05/1.153, allocations: 20.36 kB / 1.256 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/1.154, allocations: 0.6341 MB / 1.257 GB, free: 8.297 MB / 0.9981 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.00452/1.159, allocations: 3.982 MB / 1.261 GB, free: 22.16 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/1.16, allocations: 0.5768 MB / 1.262 GB, free: 22.12 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004401/1.16, allocations: 290.1 kB / 1.262 GB, free: 22.11 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009147/1.161, allocations: 1.24 MB / 1.263 GB, free: 20.71 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005744/1.162, allocations: 331 kB / 1.263 GB, free: 20.66 MB / 1.014 GB Notification: Performance of pre-optimization done (n=63): time 3.627e-06/1.162, allocations: 5.125 kB / 1.263 GB, free: 20.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=63): time 0.002374/1.164, allocations: 1.135 MB / 1.264 GB, free: 20.35 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/1.164, allocations: 83.48 kB / 1.265 GB, free: 20.26 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009643/1.165, allocations: 0.8755 MB / 1.265 GB, free: 20.11 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.147e-05/1.165, allocations: 39.52 kB / 1.265 GB, free: 20.07 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/1.166, allocations: 466 kB / 1.266 GB, free: 19.91 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/1.166, allocations: 219 kB / 1.266 GB, free: 19.77 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/1.166, allocations: 118.6 kB / 1.266 GB, free: 19.75 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001236/1.166, allocations: 335.2 kB / 1.267 GB, free: 19.45 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003996/1.167, allocations: 211 kB / 1.267 GB, free: 19.44 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004723/1.167, allocations: 312 kB / 1.267 GB, free: 19.34 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008418/1.168, allocations: 0.5323 MB / 1.268 GB, free: 19.26 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.168, allocations: 2.781 kB / 1.268 GB, free: 19.26 MB / 1.014 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001285/1.169, allocations: 0.707 MB / 1.268 GB, free: 19.15 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/1.169, allocations: 8.906 kB / 1.268 GB, free: 19.15 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/1.169, allocations: 5.078 kB / 1.268 GB, free: 19.15 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005638/1.17, allocations: 111.9 kB / 1.268 GB, free: 19.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004724/1.17, allocations: 117.2 kB / 1.268 GB, free: 19.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005254/1.171, allocations: 0.6551 MB / 1.269 GB, free: 18.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005637/1.171, allocations: 66.34 kB / 1.269 GB, free: 18.59 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.11e-05/1.171, allocations: 27.83 kB / 1.269 GB, free: 18.59 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006108/1.172, allocations: 391.3 kB / 1.27 GB, free: 18.51 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004131/1.173, allocations: 305.2 kB / 1.27 GB, free: 18.42 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007419/1.173, allocations: 0.5089 MB / 1.27 GB, free: 18.33 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.695e-06/1.173, allocations: 1.281 kB / 1.27 GB, free: 18.33 MB / 1.014 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.001272/1.175, allocations: 0.6821 MB / 1.271 GB, free: 18.23 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/1.175, allocations: 6.531 kB / 1.271 GB, free: 18.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/1.175, allocations: 4.156 kB / 1.271 GB, free: 18.23 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000463/1.175, allocations: 116.9 kB / 1.271 GB, free: 18.22 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004374/1.176, allocations: 111.2 kB / 1.271 GB, free: 18.22 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005209/1.176, allocations: 0.6699 MB / 1.272 GB, free: 17.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005431/1.177, allocations: 45.69 kB / 1.272 GB, free: 17.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.875e-05/1.177, allocations: 24.84 kB / 1.272 GB, free: 17.68 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002247/1.177, allocations: 218.9 kB / 1.272 GB, free: 17.49 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/1.177, allocations: 99.22 kB / 1.272 GB, free: 17.44 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001929/1.179, allocations: 0.9426 MB / 1.273 GB, free: 17.35 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/1.179, allocations: 9.828 kB / 1.273 GB, free: 17.35 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/1.179, allocations: 2.141 kB / 1.273 GB, free: 17.35 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00138/1.18, allocations: 0.8525 MB / 1.274 GB, free: 17.07 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003671/1.184, allocations: 1.856 MB / 1.276 GB, free: 16.69 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/1.184, allocations: 0.5938 kB / 1.276 GB, free: 16.69 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005372/1.185, allocations: 107.6 kB / 1.276 GB, free: 16.69 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006479/1.185, allocations: 148.5 kB / 1.276 GB, free: 16.68 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.391e-05/1.185, allocations: 16.66 kB / 1.276 GB, free: 16.68 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009674/1.186, allocations: 1.259 MB / 1.277 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.186, allocations: 0.875 kB / 1.277 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002228/1.189, allocations: 1.28 MB / 1.279 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004629/1.189, allocations: 254.9 kB / 1.279 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/1.189, allocations: 16.64 kB / 1.279 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004556/1.19, allocations: 24.38 kB / 1.279 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/1.19, allocations: 52.55 kB / 1.279 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.304e-05/1.19, allocations: 25.86 kB / 1.279 GB, free: 15.23 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008889/1.191, allocations: 0.6086 MB / 1.28 GB, free: 15.12 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.191, allocations: 1 kB / 1.28 GB, free: 15.12 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001703/1.193, allocations: 0.5578 MB / 1.28 GB, free: 15.04 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * 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 (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,9), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001612/1.194, allocations: 0.7142 MB / 1.281 GB, free: 14.86 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002248/1.196, allocations: 0.9781 MB / 1.282 GB, free: 14.84 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/1.196, allocations: 0.8125 kB / 1.282 GB, free: 14.84 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007755/1.197, allocations: 393.3 kB / 1.282 GB, free: 14.82 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/1.2, allocations: 465 kB / 1.283 GB, free: 14.78 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003925/1.204, allocations: 2.096 MB / 1.285 GB, free: 14 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007838/1.204, allocations: 1.069 MB / 1.286 GB, free: 13.29 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001068/1.205, allocations: 209.8 kB / 1.286 GB, free: 13.24 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/1.206, allocations: 82.08 kB / 1.286 GB, free: 13.23 MB / 1.014 GB Notification: Performance of SimCode: time 1.192e-06/1.206, allocations: 1.125 kB / 1.286 GB, free: 13.23 MB / 1.014 GB Notification: Performance of Templates: time 0.04132/1.247, allocations: 21.03 MB / 1.306 GB, free: 11.54 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.makefile (rm -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & ./Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)