Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 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_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009671/0.0009672, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00793/0.007931, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.676/1.676, allocations: 205.4 MB / 222.5 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.8682/0.8682, allocations: 95.64 MB / 366.4 MB, free: 10.31 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00064/0.00064, allocations: 20 kB / 447.5 MB, free: 9.059 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4522/0.4529, allocations: 70.33 MB / 0.5057 GB, free: 16.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.7017/1.155, allocations: 163.9 MB / 0.6657 GB, free: 312 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01345/1.168, allocations: 7.432 MB / 0.673 GB, free: 88 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003/1.171, allocations: 53.36 kB / 0.6731 GB, free: 88 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002073/1.173, allocations: 0.5657 MB / 0.6736 GB, free: 68 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004538/1.178, allocations: 1.266 MB / 0.6748 GB, free: 0 / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003619/1.182, allocations: 1.146 MB / 0.676 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004958/1.187, allocations: 3.735 MB / 0.6796 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/1.188, allocations: 0.8261 MB / 0.6804 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001675/1.19, allocations: 0.921 MB / 0.6813 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/1.191, allocations: 1.08 MB / 0.6824 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001183/1.191, allocations: 50.09 kB / 0.6824 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002126/1.193, allocations: 0.818 MB / 0.6832 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002653/1.194, allocations: 250.4 kB / 0.6835 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007097/1.194, allocations: 0.613 MB / 0.6841 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002695/1.197, allocations: 1.714 MB / 0.6857 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.926e-06/1.197, allocations: 7.922 kB / 0.6857 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.595e-06/1.197, allocations: 0 / 0.6857 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.863e-05/1.197, allocations: 0 / 0.6857 GB, free: 15.45 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.003054/1.2, allocations: 1.402 MB / 0.6871 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.05e-05/1.2, allocations: 19.08 kB / 0.6871 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004195/1.201, allocations: 154.4 kB / 0.6873 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/1.202, allocations: 0.8447 MB / 0.6881 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.74e-05/1.202, allocations: 59.94 kB / 0.6882 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/1.202, allocations: 84 kB / 0.6882 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/1.204, allocations: 0.9559 MB / 0.6892 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.027e-05/1.204, allocations: 4.312 kB / 0.6892 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.21e-05/1.204, allocations: 38.59 kB / 0.6892 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/1.204, allocations: 23.91 kB / 0.6892 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/1.205, allocations: 0.712 MB / 0.6899 GB, free: 13.48 MB / 0.4981 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.00587/1.211, allocations: 4.277 MB / 0.6941 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/1.213, allocations: 0.665 MB / 0.6948 GB, free: 10 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005091/1.213, allocations: 310 kB / 0.695 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/1.215, allocations: 1.32 MB / 0.6963 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007083/1.215, allocations: 396.9 kB / 0.6967 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=65): time 2.655e-06/1.215, allocations: 0 / 0.6967 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=70): time 0.0056/1.221, allocations: 2.361 MB / 0.699 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/1.221, allocations: 215.5 kB / 0.6992 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/1.222, allocations: 0.9771 MB / 0.7002 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.319e-05/1.222, allocations: 36.48 kB / 0.7002 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004461/1.223, allocations: 0.5211 MB / 0.7007 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/1.223, allocations: 238.9 kB / 0.701 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.527e-05/1.223, allocations: 63.44 kB / 0.701 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.223, allocations: 336.1 kB / 0.7013 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004719/1.224, allocations: 246.7 kB / 0.7016 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006227/1.224, allocations: 450.3 kB / 0.702 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/1.226, allocations: 0.6756 MB / 0.7027 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.226, allocations: 0 / 0.7027 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001716/1.227, allocations: 0.9565 MB / 0.7036 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001721/1.227, allocations: 216.9 kB / 0.7038 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/1.228, allocations: 2.938 kB / 0.7038 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006638/1.228, allocations: 144.7 kB / 0.7039 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006149/1.229, allocations: 158.3 kB / 0.7041 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/1.23, allocations: 1.974 MB / 0.706 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008778/1.231, allocations: 85.31 kB / 0.7061 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.83e-05/1.231, allocations: 29.78 kB / 0.7061 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.855e-06/1.231, allocations: 8.125 kB / 0.7061 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001378/1.233, allocations: 0.802 MB / 0.7069 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/1.233, allocations: 6.469 kB / 0.7069 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005069/1.233, allocations: 128.6 kB / 0.707 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000607/1.234, allocations: 159.8 kB / 0.7072 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/1.236, allocations: 1.959 MB / 0.7091 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008535/1.237, allocations: 75.55 kB / 0.7092 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.226e-05/1.237, allocations: 31.39 kB / 0.7092 GB, free: 14.41 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0006869/1.237, allocations: 350.3 kB / 0.7096 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/1.237, allocations: 109.1 kB / 0.7097 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001995/1.239, allocations: 1.006 MB / 0.7106 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/1.239, allocations: 12 kB / 0.7106 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/1.24, allocations: 0 / 0.7106 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/1.24, allocations: 4.922 kB / 0.7107 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002885/1.242, allocations: 1.83 MB / 0.7124 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/1.242, allocations: 3.938 kB / 0.7124 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005531/1.243, allocations: 119.5 kB / 0.7126 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003955/1.243, allocations: 133.6 kB / 0.7127 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.593e-05/1.243, allocations: 15.98 kB / 0.7127 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/1.245, allocations: 1.987 MB / 0.7146 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.245, allocations: 3.938 kB / 0.7146 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002246/1.247, allocations: 1.352 MB / 0.716 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005088/1.248, allocations: 275.6 kB / 0.7162 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/1.248, allocations: 12 kB / 0.7162 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006469/1.249, allocations: 70.42 kB / 0.7163 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/1.249, allocations: 48.58 kB / 0.7164 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-05/1.249, allocations: 24 kB / 0.7164 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001023/1.25, allocations: 0.6863 MB / 0.717 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.793e-06/1.25, allocations: 0 / 0.717 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00163/1.251, allocations: 0.5154 MB / 0.7175 GB, free: 6.109 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.medium.p,roo.dynBal.medium.T,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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001537/1.253, allocations: 0.6633 MB / 0.7182 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002473/1.256, allocations: 1.286 MB / 0.7195 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/1.256, allocations: 0 / 0.7195 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008022/1.256, allocations: 488.4 kB / 0.7199 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002567/1.259, allocations: 489.1 kB / 0.7204 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004081/1.263, allocations: 2.745 MB / 0.7231 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006511/1.264, allocations: 1.086 MB / 0.7241 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001008/1.265, allocations: 242.4 kB / 0.7244 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/1.265, allocations: 91.41 kB / 0.7244 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of SimCode: time 7.21e-07/1.265, allocations: 4 kB / 0.7244 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of Templates: time 0.03756/1.303, allocations: 21.67 MB / 0.7456 GB, free: 9.75 MB / 0.545 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1) Environment - environmentSimulation: