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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005848/0.005849, allocations: 100.4 kB / 15.73 MB, free: 6.035 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.001086/0.001087, allocations: 192.8 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.974/1.974, allocations: 205.1 MB / 222.5 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.704/1.704, allocations: 251.7 MB / 0.5094 GB, free: 2.996 MB / 414.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: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 78.08 kB / 0.7258 GB, free: 9.047 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2917, allocations: 104.7 MB / 0.828 GB, free: 240 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 1.155/1.447, allocations: 202.1 MB / 1.025 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01517/1.462, allocations: 7.372 MB / 1.033 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002948/1.465, allocations: 34.53 kB / 1.033 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002971/1.468, allocations: 0.7254 MB / 1.033 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01149/1.48, allocations: 2.449 MB / 1.036 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.006515/1.486, allocations: 1.34 MB / 1.037 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.007952/1.494, allocations: 3.013 MB / 1.04 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002429/1.497, allocations: 0.9907 MB / 1.041 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003426/1.5, allocations: 1.09 MB / 1.042 GB, free: 1.566 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003513/1.504, allocations: 0.9814 MB / 1.043 GB, free: 0.5859 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0006385/1.505, allocations: 112 kB / 1.043 GB, free: 488 kB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006742/1.511, allocations: 2.151 MB / 1.045 GB, free: 14.32 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001126/1.512, allocations: 462.8 kB / 1.046 GB, free: 13.87 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002461/1.515, allocations: 0.6768 MB / 1.046 GB, free: 13.19 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00849/1.523, allocations: 2.461 MB / 1.049 GB, free: 10.72 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/1.523, allocations: 0 / 1.049 GB, free: 10.72 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.166e-06/1.523, allocations: 3.938 kB / 1.049 GB, free: 10.72 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.68e-05/1.524, allocations: 0 / 1.049 GB, free: 10.72 MB / 0.795 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.005873/1.529, allocations: 1.643 MB / 1.05 GB, free: 9.02 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 6.095e-05/1.53, allocations: 12.03 kB / 1.05 GB, free: 9.008 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002914/1.532, allocations: 374.2 kB / 1.051 GB, free: 8.641 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002084/1.535, allocations: 0.8396 MB / 1.051 GB, free: 7.758 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-05/1.535, allocations: 73.92 kB / 1.052 GB, free: 7.688 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002299/1.535, allocations: 88 kB / 1.052 GB, free: 7.602 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002224/1.537, allocations: 1.057 MB / 1.053 GB, free: 6.508 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.328e-05/1.537, allocations: 4 kB / 1.053 GB, free: 6.504 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.817e-05/1.537, allocations: 32 kB / 1.053 GB, free: 6.473 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.729e-05/1.537, allocations: 45.98 kB / 1.053 GB, free: 6.43 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/1.539, allocations: 0.8783 MB / 1.054 GB, free: 5.547 MB / 0.795 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.006218/1.545, allocations: 4.315 MB / 1.058 GB, free: 0.8789 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/1.547, allocations: 0.6953 MB / 1.059 GB, free: 180 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007826/1.547, allocations: 455 kB / 1.059 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007331/1.548, allocations: 0.6732 MB / 1.06 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.956e-05/1.548, allocations: 47.12 kB / 1.06 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=70): time 4.529e-06/1.548, allocations: 3.984 kB / 1.06 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70): time 0.00212/1.55, allocations: 0.9705 MB / 1.061 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/1.55, allocations: 67.89 kB / 1.061 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/1.551, allocations: 0.6373 MB / 1.061 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.444e-05/1.552, allocations: 45.64 kB / 1.061 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003746/1.552, allocations: 432 kB / 1.062 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003139/1.552, allocations: 248.3 kB / 1.062 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/1.552, allocations: 118.2 kB / 1.062 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002019/1.553, allocations: 394.8 kB / 1.062 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004676/1.553, allocations: 265.2 kB / 1.063 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000513/1.554, allocations: 366.8 kB / 1.063 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/1.555, allocations: 0.6509 MB / 1.064 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/1.555, allocations: 4 kB / 1.064 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001478/1.556, allocations: 0.7775 MB / 1.064 GB, free: 9.801 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/1.556, allocations: 4 kB / 1.064 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.556, allocations: 4 kB / 1.064 GB, free: 9.793 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.687e-05/1.556, allocations: 5.625 kB / 1.064 GB, free: 9.789 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006482/1.557, allocations: 143.8 kB / 1.065 GB, free: 9.648 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.041e-05/1.557, allocations: 11.92 kB / 1.065 GB, free: 9.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008632/1.558, allocations: 52.14 kB / 1.065 GB, free: 9.586 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.806e-05/1.558, allocations: 32.12 kB / 1.065 GB, free: 9.555 MB / 0.8106 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.0005616/1.558, allocations: 293.5 kB / 1.065 GB, free: 9.258 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002869/1.559, allocations: 83.06 kB / 1.065 GB, free: 9.176 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/1.56, allocations: 0.79 MB / 1.066 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/1.56, allocations: 11.94 kB / 1.066 GB, free: 8.359 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/1.56, allocations: 0 / 1.066 GB, free: 8.359 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001061/1.561, allocations: 0.8035 MB / 1.067 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002996/1.564, allocations: 1.841 MB / 1.068 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/1.564, allocations: 0 / 1.068 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008146/1.565, allocations: 178.8 kB / 1.069 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.477e-05/1.565, allocations: 4 kB / 1.069 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.223e-05/1.565, allocations: 12 kB / 1.069 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/1.565, allocations: 4 kB / 1.069 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.565, allocations: 0 / 1.069 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/1.567, allocations: 1.269 MB / 1.07 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005499/1.568, allocations: 255.9 kB / 1.07 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/1.568, allocations: 16 kB / 1.07 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007437/1.569, allocations: 26.56 kB / 1.07 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/1.569, allocations: 40.5 kB / 1.07 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.178e-05/1.569, allocations: 23.98 kB / 1.07 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006234/1.57, allocations: 467 kB / 1.071 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.21e-07/1.57, allocations: 0 / 1.071 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001117/1.571, allocations: 343.1 kB / 1.071 GB, free: 2.977 MB / 0.8106 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.0004387/1.571, allocations: 201.2 kB / 1.071 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00127/1.572, allocations: 0.6717 MB / 1.072 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.572, allocations: 0 / 1.072 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005617/1.573, allocations: 367 kB / 1.072 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002304/1.575, allocations: 0.5622 MB / 1.073 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004176/1.58, allocations: 2.148 MB / 1.075 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008903/1.58, allocations: 1.096 MB / 1.076 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0009588/1.581, allocations: 223.1 kB / 1.076 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002783/1.582, allocations: 71.44 kB / 1.076 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of SimCode: time 9.02e-07/1.582, allocations: 0 / 1.076 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of Templates: time 0.0347/1.616, allocations: 18.75 MB / 1.094 GB, free: 11.14 MB / 0.8419 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)