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.586/1.586, allocations: 288.4 MB / 303.7 MB, free: 7.965 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.001052/0.001052, allocations: 167.6 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.297/1.297, allocations: 205.4 MB / 0.631 GB, free: 9.922 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.0009223/0.0009223, allocations: 94.28 kB / 0.7444 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005266/0.0005268, allocations: 19.66 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2302, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.6269/0.8571, allocations: 183.8 MB / 1.16 GB, free: 3.719 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01026/0.8674, allocations: 6.853 MB / 1.166 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.8686, allocations: 28.66 kB / 1.166 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.8702, allocations: 0.5468 MB / 1.167 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.005243/0.8754, allocations: 2.066 MB / 1.169 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003001/0.8785, allocations: 0.9706 MB / 1.17 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.004503/0.883, allocations: 3.486 MB / 1.173 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.8842, allocations: 0.7763 MB / 1.174 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001645/0.8859, allocations: 0.8638 MB / 1.175 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001541/0.8874, allocations: 0.918 MB / 1.176 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.8875, allocations: 48.09 kB / 1.176 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004871/0.8924, allocations: 2.439 MB / 1.178 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0004895/0.8929, allocations: 387.1 kB / 1.179 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0007217/0.8937, allocations: 0.5834 MB / 1.179 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002167/0.8958, allocations: 1.756 MB / 1.181 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.8959, allocations: 4 kB / 1.181 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.425e-06/0.8959, allocations: 0 / 1.181 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.205e-05/0.8959, allocations: 0 / 1.181 GB, free: 4.922 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.00298/0.8989, allocations: 1.401 MB / 1.182 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.8989, allocations: 11.94 kB / 1.182 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002223/0.9012, allocations: 377.4 kB / 1.183 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.9024, allocations: 0.7959 MB / 1.183 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.759e-05/0.9024, allocations: 69.09 kB / 1.183 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.9026, allocations: 85.28 kB / 1.184 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.9041, allocations: 1.036 MB / 1.185 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.9042, allocations: 3.938 kB / 1.185 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.88e-05/0.9043, allocations: 34.88 kB / 1.185 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.957e-05/0.9043, allocations: 43.3 kB / 1.185 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.9058, allocations: 0.8788 MB / 1.185 GB, free: 1.875 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.004459/0.9103, allocations: 4.288 MB / 1.19 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009948/0.9113, allocations: 0.6952 MB / 1.19 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000698/0.912, allocations: 449.8 kB / 1.191 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005993/0.9126, allocations: 0.6747 MB / 1.191 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.9126, allocations: 48.03 kB / 1.191 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=70): time 2.625e-06/0.9127, allocations: 0 / 1.191 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=70): time 0.001728/0.9144, allocations: 0.9816 MB / 1.192 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.9144, allocations: 67.72 kB / 1.192 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006626/0.9151, allocations: 0.6139 MB / 1.193 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.287e-05/0.9152, allocations: 39.58 kB / 1.193 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/0.9154, allocations: 440.6 kB / 1.194 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.9156, allocations: 243.7 kB / 1.194 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.9157, allocations: 16.88 kB / 1.194 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.9159, allocations: 387.7 kB / 1.194 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004378/0.9163, allocations: 271.2 kB / 1.194 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005282/0.9168, allocations: 370.9 kB / 1.195 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009775/0.9178, allocations: 0.6611 MB / 1.195 GB, free: 9.941 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.9178, allocations: 0 / 1.195 GB, free: 9.941 MB / 0.7292 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001196/0.919, allocations: 0.7844 MB / 1.196 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.9191, allocations: 13.31 kB / 1.196 GB, free: 9.535 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.9191, allocations: 0 / 1.196 GB, free: 9.535 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.9191, allocations: 5.844 kB / 1.196 GB, free: 9.535 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006282/0.9197, allocations: 144.5 kB / 1.196 GB, free: 9.504 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.9198, allocations: 8.5 kB / 1.196 GB, free: 9.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008632/0.9206, allocations: 104.8 kB / 1.196 GB, free: 9.438 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/0.9207, allocations: 28.44 kB / 1.196 GB, free: 9.426 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.0003937/0.9211, allocations: 280.9 kB / 1.197 GB, free: 9.211 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.9212, allocations: 80.5 kB / 1.197 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.9225, allocations: 0.7921 MB / 1.198 GB, free: 8.715 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.9225, allocations: 6 kB / 1.198 GB, free: 8.715 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.9226, allocations: 0 / 1.198 GB, free: 8.715 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001032/0.9236, allocations: 0.8215 MB / 1.198 GB, free: 8.156 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002531/0.9261, allocations: 1.845 MB / 1.2 GB, free: 6.914 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.9262, allocations: 7.922 kB / 1.2 GB, free: 6.906 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007917/0.9269, allocations: 169.8 kB / 1.2 GB, free: 6.871 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.927, allocations: 2.5 kB / 1.2 GB, free: 6.871 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.592e-05/0.927, allocations: 13.72 kB / 1.2 GB, free: 6.863 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.927, allocations: 3.125 kB / 1.2 GB, free: 6.863 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.927, allocations: 8 kB / 1.2 GB, free: 6.855 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.9287, allocations: 1.273 MB / 1.202 GB, free: 6.137 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003794/0.9291, allocations: 245.4 kB / 1.202 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.9292, allocations: 20.83 kB / 1.202 GB, free: 5.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007159/0.9299, allocations: 73.05 kB / 1.202 GB, free: 5.875 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.9301, allocations: 47.08 kB / 1.202 GB, free: 5.848 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.415e-05/0.9301, allocations: 21.75 kB / 1.202 GB, free: 5.84 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005194/0.9306, allocations: 442.4 kB / 1.202 GB, free: 5.582 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9306, allocations: 0 / 1.202 GB, free: 5.582 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007831/0.9314, allocations: 338.1 kB / 1.203 GB, free: 5.516 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.0002977/0.9317, allocations: 202.1 kB / 1.203 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00104/0.9328, allocations: 0.6762 MB / 1.204 GB, free: 4.797 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.9328, allocations: 384 / 1.204 GB, free: 4.797 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004886/0.9333, allocations: 375 kB / 1.204 GB, free: 4.43 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/0.9355, allocations: 0.5065 MB / 1.204 GB, free: 3.93 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/0.9389, allocations: 2.645 MB / 1.207 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006338/0.9396, allocations: 1.085 MB / 1.208 GB, free: 148 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0009401/0.9405, allocations: 227.1 kB / 1.208 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/0.9407, allocations: 71.42 kB / 1.208 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of SimCode: time 5.71e-07/0.9407, allocations: 0 / 1.208 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of Templates: time 0.02712/0.9679, allocations: 17.17 MB / 1.225 GB, free: 14.88 MB / 0.7605 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)