Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.839/1.839, allocations: 288.4 MB / 303.4 MB, free: 8.125 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001294/0.001295, allocations: 188.5 kB / 372 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.169/2.169, allocations: 205.4 MB / 0.6307 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000852/0.0008522, allocations: 100.8 kB / 0.7441 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004674/0.0004674, allocations: 15.28 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2886, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.9678/1.256, allocations: 183.8 MB / 1.159 GB, free: 3.984 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01286/1.269, allocations: 6.853 MB / 1.166 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002446/1.272, allocations: 29.44 kB / 1.166 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002203/1.274, allocations: 465 kB / 1.166 GB, free: 14 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.007676/1.282, allocations: 1.719 MB / 1.168 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004453/1.286, allocations: 0.8735 MB / 1.169 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.007782/1.294, allocations: 3.476 MB / 1.172 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002028/1.296, allocations: 0.676 MB / 1.173 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003262/1.299, allocations: 0.8683 MB / 1.174 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003389/1.303, allocations: 0.9219 MB / 1.175 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.000313/1.303, allocations: 52.12 kB / 1.175 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005323/1.309, allocations: 1.043 MB / 1.176 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0008838/1.309, allocations: 385.4 kB / 1.176 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0008067/1.31, allocations: 263.6 kB / 1.176 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003946/1.314, allocations: 1.605 MB / 1.178 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.314, allocations: 0 / 1.178 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.134e-06/1.314, allocations: 0 / 1.178 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.372e-05/1.314, allocations: 0 / 1.178 GB, free: 6.727 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003661/1.318, allocations: 1.413 MB / 1.179 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/1.318, allocations: 7.812 kB / 1.179 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002587/1.321, allocations: 381.3 kB / 1.18 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/1.322, allocations: 0.7677 MB / 1.18 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.952e-05/1.322, allocations: 63.41 kB / 1.18 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/1.322, allocations: 85.94 kB / 1.18 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002037/1.325, allocations: 1.044 MB / 1.182 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/1.325, allocations: 0 / 1.182 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.083e-05/1.325, allocations: 35.83 kB / 1.182 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.255e-05/1.325, allocations: 45.48 kB / 1.182 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001576/1.326, allocations: 0.8802 MB / 1.182 GB, free: 3.699 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.005809/1.332, allocations: 4.276 MB / 1.187 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/1.333, allocations: 0.6952 MB / 1.187 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00073/1.334, allocations: 455.8 kB / 1.188 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007008/1.335, allocations: 0.6784 MB / 1.188 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/1.335, allocations: 42.03 kB / 1.188 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=70): time 2.217e-05/1.335, allocations: 0 / 1.188 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of matching and sorting (n=70): time 0.00204/1.337, allocations: 0.986 MB / 1.189 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/1.337, allocations: 61.72 kB / 1.189 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008641/1.338, allocations: 0.621 MB / 1.19 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.108e-05/1.338, allocations: 36.39 kB / 1.19 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003747/1.338, allocations: 436 kB / 1.191 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003043/1.339, allocations: 246.4 kB / 1.191 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/1.339, allocations: 18.91 kB / 1.191 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002449/1.339, allocations: 385.6 kB / 1.191 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004531/1.339, allocations: 271.3 kB / 1.191 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005295/1.34, allocations: 378.4 kB / 1.192 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005454/1.34, allocations: 325.2 kB / 1.192 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/1.34, allocations: 3.953 kB / 1.192 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001369/1.342, allocations: 0.7899 MB / 1.193 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/1.342, allocations: 4.594 kB / 1.193 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/1.342, allocations: 3.031 kB / 1.193 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/1.342, allocations: 2.906 kB / 1.193 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006481/1.342, allocations: 144.5 kB / 1.193 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/1.343, allocations: 8.594 kB / 1.193 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/1.344, allocations: 102.8 kB / 1.193 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.985e-05/1.344, allocations: 24.58 kB / 1.193 GB, free: 11.47 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006833/1.344, allocations: 284.6 kB / 1.193 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002793/1.345, allocations: 90.44 kB / 1.193 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/1.346, allocations: 0.791 MB / 1.194 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/1.346, allocations: 7.938 kB / 1.194 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/1.346, allocations: 0 / 1.194 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001207/1.347, allocations: 0.8198 MB / 1.195 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003138/1.351, allocations: 1.836 MB / 1.197 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/1.351, allocations: 0 / 1.197 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008414/1.351, allocations: 173.9 kB / 1.197 GB, free: 8.918 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/1.351, allocations: 6.922 kB / 1.197 GB, free: 8.914 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.834e-05/1.352, allocations: 17.75 kB / 1.197 GB, free: 8.902 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/1.352, allocations: 5.719 kB / 1.197 GB, free: 8.898 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.352, allocations: 3.344 kB / 1.197 GB, free: 8.898 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/1.354, allocations: 1.272 MB / 1.198 GB, free: 8.172 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000554/1.354, allocations: 245.1 kB / 1.199 GB, free: 7.961 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/1.354, allocations: 21.12 kB / 1.199 GB, free: 7.945 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007763/1.355, allocations: 73.03 kB / 1.199 GB, free: 7.91 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/1.355, allocations: 44.59 kB / 1.199 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-05/1.355, allocations: 23.92 kB / 1.199 GB, free: 7.879 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005979/1.356, allocations: 446.3 kB / 1.199 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.3e-07/1.356, allocations: 0 / 1.199 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001027/1.357, allocations: 336.4 kB / 1.199 GB, free: 7.551 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003751/1.357, allocations: 198.3 kB / 1.2 GB, free: 7.406 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001152/1.358, allocations: 0.6691 MB / 1.2 GB, free: 7.098 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/1.359, allocations: 10.84 kB / 1.2 GB, free: 7.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005601/1.359, allocations: 367.1 kB / 1.201 GB, free: 6.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/1.361, allocations: 0.5243 MB / 1.201 GB, free: 6.668 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004222/1.366, allocations: 2.654 MB / 1.204 GB, free: 4.457 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007677/1.367, allocations: 1.081 MB / 1.205 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001254/1.368, allocations: 219.1 kB / 1.205 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/1.368, allocations: 75.42 kB / 1.205 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of SimCode: time 1.122e-06/1.368, allocations: 3.938 kB / 1.205 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of Templates: time 0.03283/1.401, allocations: 16.87 MB / 1.222 GB, free: 2.391 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)