Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.604/1.604, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 171.7 kB / 326.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.781/1.781, allocations: 205 MB / 0.5766 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008635/0.0008634, allocations: 89.7 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003486, allocations: 9.312 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2294, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.662/0.8915, allocations: 199.6 MB / 1.092 GB, free: 1.477 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01122/0.9027, allocations: 7.474 MB / 1.099 GB, free: 1.336 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/0.9048, allocations: 30.28 kB / 1.099 GB, free: 1.336 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002136/0.907, allocations: 0.6065 MB / 1.1 GB, free: 1.32 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006775/0.9138, allocations: 2.24 MB / 1.102 GB, free: 1.199 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003714/0.9175, allocations: 1.2 MB / 1.103 GB, free: 1.152 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005207/0.9227, allocations: 4.282 MB / 1.107 GB, free: 1.145 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.9241, allocations: 0.8025 MB / 1.108 GB, free: 1.012 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002176/0.9263, allocations: 0.906 MB / 1.109 GB, free: 1.012 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002597/0.9289, allocations: 0.9871 MB / 1.11 GB, free: 1 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002206/0.9292, allocations: 49.66 kB / 1.11 GB, free: 1 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005108/0.9343, allocations: 2.477 MB / 1.112 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006577/0.935, allocations: 397.8 kB / 1.113 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001076/0.9361, allocations: 0.5997 MB / 1.113 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002837/0.9389, allocations: 1.792 MB / 1.115 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.9389, allocations: 1.859 kB / 1.115 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.896e-06/0.9389, allocations: 6.906 kB / 1.115 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.174e-05/0.939, allocations: 0 / 1.115 GB, free: 0.8438 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.00312/0.9421, allocations: 1.414 MB / 1.116 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.9422, allocations: 8.344 kB / 1.116 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002353/0.9445, allocations: 381.7 kB / 1.117 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.9459, allocations: 0.815 MB / 1.117 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.206e-05/0.9459, allocations: 65.78 kB / 1.118 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.9461, allocations: 81.47 kB / 1.118 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.9477, allocations: 1.061 MB / 1.119 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/0.9477, allocations: 2.906 kB / 1.119 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.88e-05/0.9478, allocations: 34.81 kB / 1.119 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.442e-05/0.9479, allocations: 54.02 kB / 1.119 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.9493, allocations: 0.8843 MB / 1.12 GB, free: 15.49 MB / 0.7136 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.004801/0.9541, allocations: 4.304 MB / 1.124 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009741/0.9551, allocations: 0.6973 MB / 1.124 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006869/0.9558, allocations: 449.1 kB / 1.125 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006487/0.9564, allocations: 0.6734 MB / 1.126 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.9565, allocations: 42.28 kB / 1.126 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=70): time 3.486e-06/0.9565, allocations: 6.938 kB / 1.126 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70): time 0.0018/0.9583, allocations: 0.9806 MB / 1.127 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.9583, allocations: 65.95 kB / 1.127 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000922/0.9593, allocations: 0.6388 MB / 1.127 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.574e-05/0.9594, allocations: 40.83 kB / 1.127 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003931/0.9598, allocations: 445.2 kB / 1.128 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002618/0.96, allocations: 240.4 kB / 1.128 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.9601, allocations: 64.52 kB / 1.128 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000218/0.9604, allocations: 385.2 kB / 1.128 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006064/0.961, allocations: 268.8 kB / 1.129 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007622/0.9618, allocations: 370 kB / 1.129 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.963, allocations: 0.6563 MB / 1.13 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.9631, allocations: 0.5 kB / 1.13 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001402/0.9645, allocations: 0.7858 MB / 1.13 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.9645, allocations: 13.78 kB / 1.13 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.9645, allocations: 3.062 kB / 1.13 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.9645, allocations: 2.906 kB / 1.13 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006378/0.9652, allocations: 143.2 kB / 1.131 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.9652, allocations: 5.766 kB / 1.131 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.9662, allocations: 112.3 kB / 1.131 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.9663, allocations: 20.66 kB / 1.131 GB, free: 10.86 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005101/0.9668, allocations: 292.5 kB / 1.131 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/0.967, allocations: 87.88 kB / 1.131 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.9684, allocations: 0.793 MB / 1.132 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.9684, allocations: 6.219 kB / 1.132 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.9685, allocations: 0 / 1.132 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009629/0.9694, allocations: 0.8049 MB / 1.133 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002939/0.9724, allocations: 1.854 MB / 1.134 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.9724, allocations: 0 / 1.134 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008141/0.9732, allocations: 172.8 kB / 1.135 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.9732, allocations: 3.531 kB / 1.135 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.961e-05/0.9733, allocations: 16.52 kB / 1.135 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-06/0.9733, allocations: 2.906 kB / 1.135 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.9733, allocations: 4 kB / 1.135 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/0.9755, allocations: 1.264 MB / 1.136 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005932/0.9761, allocations: 255.5 kB / 1.136 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.9762, allocations: 12.62 kB / 1.136 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008254/0.977, allocations: 83.69 kB / 1.136 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.9772, allocations: 52.09 kB / 1.136 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-05/0.9772, allocations: 26.7 kB / 1.136 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006765/0.9779, allocations: 460.2 kB / 1.137 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.41e-07/0.9779, allocations: 0 / 1.137 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009743/0.9789, allocations: 348.6 kB / 1.137 GB, free: 9.52 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 70 * 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 Backend phase and start with SimCode phase: time 0.000374/0.9793, allocations: 196.2 kB / 1.137 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001124/0.9804, allocations: 0.6721 MB / 1.138 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.9804, allocations: 6.656 kB / 1.138 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004868/0.9809, allocations: 365.1 kB / 1.138 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/0.9833, allocations: 0.5164 MB / 1.139 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003845/0.9871, allocations: 2.632 MB / 1.141 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006779/0.9879, allocations: 1.093 MB / 1.142 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003445/0.9882, allocations: 77.59 kB / 1.142 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/0.9882, allocations: 0 / 1.142 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of Templates: time 0.02582/1.014, allocations: 15.26 MB / 1.157 GB, free: 15.64 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)