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 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.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.0008739/0.0008737, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0008694/0.0008695, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.307/1.307, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.5808/0.5808, allocations: 95.58 MB / 366 MB, free: 10.41 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.000527/0.0005272, allocations: 19.98 kB / 446.8 MB, free: 9.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3125, allocations: 70.35 MB / 0.505 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.4506/0.7631, allocations: 154.4 MB / 0.6558 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01349/0.7767, allocations: 8.674 MB / 0.6642 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002841/0.7796, allocations: 62 kB / 0.6643 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002823/0.7824, allocations: 0.7863 MB / 0.6651 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006156/0.7886, allocations: 1.939 MB / 0.667 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003999/0.7926, allocations: 1.299 MB / 0.6682 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004593/0.7972, allocations: 2.232 MB / 0.6704 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001591/0.7988, allocations: 1.053 MB / 0.6714 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002055/0.8009, allocations: 1.083 MB / 0.6725 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001482/0.8024, allocations: 1.011 MB / 0.6735 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002015/0.8026, allocations: 64.38 kB / 0.6736 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002525/0.8051, allocations: 0.8993 MB / 0.6744 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003317/0.8055, allocations: 304.1 kB / 0.6747 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005133/0.806, allocations: 332.5 kB / 0.675 GB, free: 16.71 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001989/0.808, allocations: 1.731 MB / 0.6767 GB, free: 16.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.808, allocations: 0 / 0.6767 GB, free: 16.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.294e-06/0.808, allocations: 5.156 kB / 0.6767 GB, free: 16.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.474e-05/0.8081, allocations: 0 / 0.6767 GB, free: 16.57 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: 268 * Number of variables: 268 Notification: Performance of Generate backend data structure: time 0.003133/0.8112, allocations: 1.696 MB / 0.6784 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.8113, allocations: 11.36 kB / 0.6784 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005364/0.8118, allocations: 203.8 kB / 0.6786 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.8135, allocations: 1.023 MB / 0.6796 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.607e-05/0.8136, allocations: 78.86 kB / 0.6797 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.8137, allocations: 112.5 kB / 0.6798 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.8155, allocations: 1.203 MB / 0.681 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.8155, allocations: 4 kB / 0.681 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.8156, allocations: 48.84 kB / 0.681 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.417e-05/0.8156, allocations: 24.69 kB / 0.681 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/0.8172, allocations: 0.9404 MB / 0.6819 GB, free: 14.32 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.006207/0.8235, allocations: 5.461 MB / 0.6873 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.8247, allocations: 0.7528 MB / 0.688 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001231/0.826, allocations: 1.655 MB / 0.6896 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007456/0.8267, allocations: 494.3 kB / 0.6901 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=84): time 2.475e-06/0.8267, allocations: 0 / 0.6901 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=94): time 0.006994/0.8337, allocations: 3.098 MB / 0.6931 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.8339, allocations: 221.1 kB / 0.6933 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.8352, allocations: 1.149 MB / 0.6945 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.266e-05/0.8353, allocations: 40.36 kB / 0.6945 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004038/0.8357, allocations: 0.6333 MB / 0.6951 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/0.836, allocations: 324.4 kB / 0.6954 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.836, allocations: 19.5 kB / 0.6954 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.8361, allocations: 341 kB / 0.6958 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005238/0.8367, allocations: 326.9 kB / 0.6961 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006556/0.8373, allocations: 0.5514 MB / 0.6966 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005995/0.8379, allocations: 398.1 kB / 0.697 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.838, allocations: 4 kB / 0.697 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001802/0.8398, allocations: 1.26 MB / 0.6982 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000665/0.8404, allocations: 2.046 MB / 0.7002 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.8405, allocations: 5.906 kB / 0.7002 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001727/0.8406, allocations: 46.67 kB / 0.7003 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009175/0.8416, allocations: 238.1 kB / 0.7005 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/0.8432, allocations: 2.616 MB / 0.7031 GB, free: 408 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.8443, allocations: 101.5 kB / 0.7032 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.542e-05/0.8444, allocations: 41.06 kB / 0.7032 GB, free: 376 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.635e-06/0.8444, allocations: 2.781 kB / 0.7032 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001527/0.846, allocations: 1.091 MB / 0.7043 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.846, allocations: 4.906 kB / 0.7043 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000113/0.8461, allocations: 49.05 kB / 0.7043 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000882/0.847, allocations: 237.1 kB / 0.7045 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/0.8485, allocations: 2.624 MB / 0.7071 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.8496, allocations: 92.34 kB / 0.7072 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.611e-05/0.8497, allocations: 41.33 kB / 0.7072 GB, free: 13.4 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (121): * Single equations (assignments): 119 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000689/0.8504, allocations: 416.9 kB / 0.7076 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/0.8506, allocations: 140.3 kB / 0.7078 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/0.8527, allocations: 1.334 MB / 0.7091 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.8528, allocations: 9.25 kB / 0.7091 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.8528, allocations: 3.953 kB / 0.7091 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.8528, allocations: 3.984 kB / 0.7091 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003623/0.8564, allocations: 2.531 MB / 0.7116 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/0.8564, allocations: 4 kB / 0.7116 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008537/0.8573, allocations: 186.9 kB / 0.7117 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001408/0.8575, allocations: 44.38 kB / 0.7118 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.646e-05/0.8575, allocations: 26.98 kB / 0.7118 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/0.859, allocations: 2.613 MB / 0.7144 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.859, allocations: 0 / 0.7144 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002575/0.8616, allocations: 1.779 MB / 0.7161 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007976/0.8624, allocations: 345.5 kB / 0.7164 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/0.8626, allocations: 21.38 kB / 0.7164 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008334/0.8635, allocations: 77.72 kB / 0.7165 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.8636, allocations: 69.14 kB / 0.7166 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.796e-05/0.8637, allocations: 38.48 kB / 0.7166 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001089/0.8648, allocations: 0.8014 MB / 0.7174 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.393e-06/0.8648, allocations: 4 kB / 0.7174 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002007/0.8668, allocations: 0.6666 MB / 0.7181 GB, free: 5.617 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (roo.dynBal.medium.p,roo.dynBal.medium.T,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.medium.p,sha.vol.dynBal.medium.T) * 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 (98): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001384/0.8682, allocations: 0.7292 MB / 0.7188 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002801/0.871, allocations: 1.816 MB / 0.7205 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.8711, allocations: 0 / 0.7205 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009783/0.872, allocations: 0.6901 MB / 0.7212 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002896/0.875, allocations: 0.6359 MB / 0.7218 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004792/0.8798, allocations: 3.378 MB / 0.7251 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006984/0.8805, allocations: 1.242 MB / 0.7263 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001377/0.8819, allocations: 333.7 kB / 0.7267 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/0.8822, allocations: 119.5 kB / 0.7268 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of SimCode: time 6.41e-07/0.8822, allocations: 0 / 0.7268 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of Templates: time 0.04294/0.9251, allocations: 27.15 MB / 0.7533 GB, free: 3.008 MB / 0.545 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: