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.407/1.407, allocations: 252 MB / 268 MB, free: 10.84 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.001089/0.001089, allocations: 167.4 kB / 327.6 MB, free: 2.078 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.874/1.874, allocations: 205.4 MB / 0.5786 GB, free: 20.17 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.0008585/0.0008588, allocations: 94.36 kB / 0.6832 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002942/0.0002942, allocations: 9.938 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1819, allocations: 106.3 MB / 0.9014 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.6341/0.8161, allocations: 197.2 MB / 1.094 GB, free: 1.605 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009567/0.8257, allocations: 7.395 MB / 1.101 GB, free: 1.457 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001522/0.8272, allocations: 28.34 kB / 1.101 GB, free: 1.457 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001587/0.8288, allocations: 0.6176 MB / 1.102 GB, free: 1.438 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005303/0.8341, allocations: 2.232 MB / 1.104 GB, free: 1.32 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003307/0.8375, allocations: 1.196 MB / 1.105 GB, free: 1.277 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004711/0.8422, allocations: 4.287 MB / 1.109 GB, free: 1.266 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.8435, allocations: 0.7924 MB / 1.11 GB, free: 1.137 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002036/0.8455, allocations: 0.9176 MB / 1.111 GB, free: 1.133 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002134/0.8477, allocations: 0.9795 MB / 1.112 GB, free: 1.125 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.8478, allocations: 50.28 kB / 1.112 GB, free: 1.125 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004817/0.8526, allocations: 2.477 MB / 1.115 GB, free: 1.102 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004843/0.8531, allocations: 400.4 kB / 1.115 GB, free: 1.098 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008322/0.854, allocations: 0.6246 MB / 1.116 GB, free: 1.066 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002232/0.8562, allocations: 1.795 MB / 1.117 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.8562, allocations: 0 / 1.117 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8562, allocations: 0 / 1.117 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.8563, allocations: 0 / 1.117 GB, free: 0.9336 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.002666/0.8589, allocations: 1.414 MB / 1.119 GB, free: 16.13 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.859, allocations: 10.78 kB / 1.119 GB, free: 16.13 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002236/0.8612, allocations: 378.7 kB / 1.119 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.8624, allocations: 0.8153 MB / 1.12 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.518e-05/0.8624, allocations: 72.81 kB / 1.12 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.8625, allocations: 81.38 kB / 1.12 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.8642, allocations: 1.066 MB / 1.121 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/0.8642, allocations: 2.438 kB / 1.121 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.028e-05/0.8643, allocations: 36.86 kB / 1.121 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-05/0.8644, allocations: 46.62 kB / 1.121 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.8657, allocations: 0.8855 MB / 1.122 GB, free: 15.57 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.004504/0.8702, allocations: 4.306 MB / 1.126 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009747/0.8712, allocations: 0.691 MB / 1.127 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006484/0.8719, allocations: 452.4 kB / 1.127 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006012/0.8725, allocations: 0.6798 MB / 1.128 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.8725, allocations: 43.31 kB / 1.128 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=70): time 2.264e-06/0.8725, allocations: 2.844 kB / 1.128 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70): time 0.001761/0.8743, allocations: 0.9877 MB / 1.129 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.8744, allocations: 63.72 kB / 1.129 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000827/0.8752, allocations: 0.6323 MB / 1.13 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.954e-05/0.8753, allocations: 42.77 kB / 1.13 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000295/0.8756, allocations: 434.6 kB / 1.13 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000225/0.8758, allocations: 243.9 kB / 1.13 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.8758, allocations: 15.88 kB / 1.13 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.876, allocations: 388.2 kB / 1.131 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004301/0.8765, allocations: 273.4 kB / 1.131 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005442/0.877, allocations: 364.5 kB / 1.131 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/0.8783, allocations: 0.6581 MB / 1.132 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.8783, allocations: 1.031 kB / 1.132 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001635/0.88, allocations: 0.794 MB / 1.133 GB, free: 11 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.88, allocations: 3.188 kB / 1.133 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.88, allocations: 1.562 kB / 1.133 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.88, allocations: 5.344 kB / 1.133 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000669/0.8807, allocations: 140.4 kB / 1.133 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.8807, allocations: 9.641 kB / 1.133 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009722/0.8817, allocations: 107.1 kB / 1.133 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.43e-05/0.8818, allocations: 21.44 kB / 1.133 GB, free: 10.96 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.0005055/0.8823, allocations: 295.2 kB / 1.133 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.8824, allocations: 92.28 kB / 1.133 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.8837, allocations: 0.7811 MB / 1.134 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.8837, allocations: 6.688 kB / 1.134 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.8837, allocations: 8.5 kB / 1.134 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009933/0.8847, allocations: 0.8055 MB / 1.135 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002512/0.8872, allocations: 1.854 MB / 1.137 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.8872, allocations: 0 / 1.137 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007907/0.888, allocations: 171.7 kB / 1.137 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.8881, allocations: 3.281 kB / 1.137 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.844e-05/0.8881, allocations: 16.8 kB / 1.137 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.8881, allocations: 5.422 kB / 1.137 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.8881, allocations: 0 / 1.137 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.8898, allocations: 1.272 MB / 1.138 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004323/0.8902, allocations: 256.1 kB / 1.138 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.8903, allocations: 12.25 kB / 1.138 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008174/0.8912, allocations: 79.55 kB / 1.139 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.8913, allocations: 56.7 kB / 1.139 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.572e-05/0.8913, allocations: 28.78 kB / 1.139 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005332/0.8919, allocations: 461.5 kB / 1.139 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8919, allocations: 0 / 1.139 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008392/0.8927, allocations: 341.6 kB / 1.139 GB, free: 9.465 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.0003194/0.8931, allocations: 201.6 kB / 1.14 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001036/0.8941, allocations: 0.6683 MB / 1.14 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.8941, allocations: 3.125 kB / 1.14 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004675/0.8946, allocations: 366.6 kB / 1.141 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002301/0.8969, allocations: 0.5233 MB / 1.141 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003671/0.9006, allocations: 2.787 MB / 1.144 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006034/0.9012, allocations: 1.094 MB / 1.145 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000275/0.9015, allocations: 77.86 kB / 1.145 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of SimCode: time 4.41e-07/0.9015, allocations: 0 / 1.145 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of Templates: time 0.02106/0.9226, allocations: 15.26 MB / 1.16 GB, free: 14.52 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)