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.000962/0.0009619, allocations: 100 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.001066/0.001066, 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.36/1.36, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.691/0.691, allocations: 95.58 MB / 366 MB, free: 10.42 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.0005466/0.0005467, allocations: 16 kB / 446.8 MB, free: 9.434 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2904, allocations: 70.33 MB / 0.505 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.4247/0.7151, allocations: 142.4 MB / 0.6441 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009783/0.7249, allocations: 6.553 MB / 0.6505 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0022/0.7272, allocations: 47.72 kB / 0.6505 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002317/0.7295, allocations: 0.5826 MB / 0.6511 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005154/0.7347, allocations: 1.435 MB / 0.6525 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003437/0.7381, allocations: 1.007 MB / 0.6535 GB, free: 1.207 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004057/0.7422, allocations: 1.633 MB / 0.6551 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00188/0.7441, allocations: 0.7917 MB / 0.6558 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002118/0.7463, allocations: 0.8133 MB / 0.6566 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001557/0.7478, allocations: 0.78 MB / 0.6574 GB, free: 1.098 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002507/0.7481, allocations: 46.72 kB / 0.6574 GB, free: 1.098 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002568/0.7507, allocations: 0.664 MB / 0.6581 GB, free: 1.098 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000509/0.7512, allocations: 237.8 kB / 0.6583 GB, free: 1.098 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000774/0.752, allocations: 256.6 kB / 0.6586 GB, free: 17.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001942/0.754, allocations: 1.264 MB / 0.6598 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.754, allocations: 0 / 0.6598 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.754, allocations: 0 / 0.6598 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.036e-05/0.7541, allocations: 0 / 0.6598 GB, free: 16.95 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.002736/0.7568, allocations: 1.42 MB / 0.6612 GB, free: 16.13 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.7568, allocations: 16.58 kB / 0.6612 GB, free: 16.12 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004668/0.7573, allocations: 157.7 kB / 0.6613 GB, free: 16.05 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.7587, allocations: 0.7946 MB / 0.6621 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.905e-05/0.7588, allocations: 64.06 kB / 0.6622 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.7589, allocations: 87.09 kB / 0.6623 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.7604, allocations: 0.9393 MB / 0.6632 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.7604, allocations: 0 / 0.6632 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.121e-05/0.7605, allocations: 39.22 kB / 0.6632 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.7605, allocations: 19.97 kB / 0.6632 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.7616, allocations: 0.7178 MB / 0.6639 GB, free: 15.55 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.004817/0.7664, allocations: 4.277 MB / 0.6681 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.7677, allocations: 0.6613 MB / 0.6688 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009252/0.7687, allocations: 1.327 MB / 0.6701 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005974/0.7693, allocations: 386.3 kB / 0.6704 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=65): time 2.455e-06/0.7693, allocations: 0 / 0.6704 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=70): time 0.005032/0.7744, allocations: 2.351 MB / 0.6727 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.129e-05/0.7745, allocations: 223.7 kB / 0.6729 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.7755, allocations: 0.9751 MB / 0.6739 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.654e-05/0.7756, allocations: 41.36 kB / 0.6739 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003193/0.7759, allocations: 0.5083 MB / 0.6744 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000169/0.7761, allocations: 240.8 kB / 0.6747 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.7761, allocations: 18.5 kB / 0.6747 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.7763, allocations: 335.7 kB / 0.675 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000417/0.7767, allocations: 241.8 kB / 0.6752 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005355/0.7772, allocations: 442.7 kB / 0.6756 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004793/0.7777, allocations: 297.4 kB / 0.6759 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.7777, allocations: 0 / 0.6759 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001463/0.7792, allocations: 0.9517 MB / 0.6769 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005722/0.7798, allocations: 1.672 MB / 0.6785 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.7798, allocations: 2.031 kB / 0.6785 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006268/0.7804, allocations: 144.9 kB / 0.6786 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006165/0.7811, allocations: 157 kB / 0.6788 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.7825, allocations: 1.969 MB / 0.6807 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008854/0.7834, allocations: 84.19 kB / 0.6808 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.026e-05/0.7835, allocations: 33.52 kB / 0.6808 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.797e-06/0.7836, allocations: 4.875 kB / 0.6808 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001214/0.7848, allocations: 0.7922 MB / 0.6816 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.7848, allocations: 9.859 kB / 0.6816 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004984/0.7853, allocations: 136.5 kB / 0.6817 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005803/0.7859, allocations: 154.7 kB / 0.6819 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.7872, allocations: 1.976 MB / 0.6838 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008054/0.788, allocations: 66.3 kB / 0.6839 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-05/0.7881, allocations: 30.88 kB / 0.6839 GB, free: 3.57 MB / 0.4981 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 ($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 (84): * Single equations (assignments): 82 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005189/0.7886, allocations: 358.3 kB / 0.6842 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.7888, allocations: 111 kB / 0.6843 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/0.7905, allocations: 1.003 MB / 0.6853 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.7905, allocations: 11.7 kB / 0.6853 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.7905, allocations: 3.094 kB / 0.6853 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.7905, allocations: 3.984 kB / 0.6853 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002654/0.7932, allocations: 1.838 MB / 0.6871 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.7932, allocations: 0 / 0.6871 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005643/0.7938, allocations: 115.4 kB / 0.6873 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000414/0.7942, allocations: 125.4 kB / 0.6874 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.059e-05/0.7943, allocations: 21.89 kB / 0.6874 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001394/0.7957, allocations: 1.99 MB / 0.6893 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.7957, allocations: 3.953 kB / 0.6893 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/0.7979, allocations: 1.375 MB / 0.6907 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005409/0.7984, allocations: 278.6 kB / 0.6909 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/0.7986, allocations: 15.34 kB / 0.691 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000706/0.7994, allocations: 64.47 kB / 0.691 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.7995, allocations: 60.27 kB / 0.6911 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.539e-05/0.7995, allocations: 24.33 kB / 0.6911 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008442/0.8004, allocations: 0.6893 MB / 0.6918 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.3e-07/0.8004, allocations: 96 / 0.6918 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001534/0.802, allocations: 0.5163 MB / 0.6923 GB, free: 15.32 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 (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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.001479/0.8034, allocations: 0.64 MB / 0.6929 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002485/0.806, allocations: 1.276 MB / 0.6942 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.806, allocations: 4.156 kB / 0.6942 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007394/0.8067, allocations: 479 kB / 0.6946 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/0.809, allocations: 486.1 kB / 0.6951 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00409/0.8131, allocations: 2.636 MB / 0.6977 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006805/0.8138, allocations: 1.111 MB / 0.6987 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001071/0.8149, allocations: 245.7 kB / 0.699 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/0.8152, allocations: 87.06 kB / 0.6991 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of SimCode: time 7.12e-07/0.8152, allocations: 0 / 0.6991 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of Templates: time 0.03282/0.848, allocations: 21.11 MB / 0.7197 GB, free: 8.691 MB / 0.5294 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: