Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001098/0.001098, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.442/1.442, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.715/1.715, allocations: 292.3 MB / 0.5489 GB, free: 12.88 MB / 462.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.001466/0.001466, allocations: 66.64 kB / 0.6715 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2816, allocations: 114.6 MB / 0.7834 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.7232/1.005, allocations: 201.9 MB / 0.9805 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0127/1.018, allocations: 7.32 MB / 0.9877 GB, free: 13 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002433/1.02, allocations: 35.97 kB / 0.9877 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00228/1.022, allocations: 0.6998 MB / 0.9884 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007188/1.03, allocations: 2.35 MB / 0.9907 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004196/1.034, allocations: 1.27 MB / 0.9919 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004993/1.039, allocations: 2.892 MB / 0.9948 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001707/1.041, allocations: 0.9388 MB / 0.9957 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002509/1.043, allocations: 1.014 MB / 0.9967 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002312/1.045, allocations: 0.9671 MB / 0.9976 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002339/1.046, allocations: 110.9 kB / 0.9977 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00602/1.052, allocations: 2.134 MB / 0.9998 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007662/1.053, allocations: 449.3 kB / 1 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001252/1.054, allocations: 0.663 MB / 1.001 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00545/1.059, allocations: 2.385 MB / 1.003 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.059, allocations: 0 / 1.003 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of FrontEnd: time 7.72e-07/1.059, allocations: 0 / 1.003 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.046e-05/1.059, allocations: 0 / 1.003 GB, free: 4.398 MB / 0.7325 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.003408/1.063, allocations: 1.614 MB / 1.005 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/1.063, allocations: 9.688 kB / 1.005 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002495/1.065, allocations: 377.7 kB / 1.005 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/1.067, allocations: 0.8035 MB / 1.006 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.969e-05/1.067, allocations: 65.09 kB / 1.006 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/1.067, allocations: 89.31 kB / 1.006 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/1.068, allocations: 1.044 MB / 1.007 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/1.068, allocations: 7.875 kB / 1.007 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.299e-05/1.069, allocations: 35.5 kB / 1.007 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.155e-05/1.069, allocations: 41.23 kB / 1.007 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/1.07, allocations: 0.8809 MB / 1.008 GB, free: 1.234 MB / 0.7325 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.004807/1.075, allocations: 4.31 MB / 1.012 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/1.076, allocations: 0.7071 MB / 1.013 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000722/1.077, allocations: 450.1 kB / 1.013 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005892/1.077, allocations: 0.6751 MB / 1.014 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/1.077, allocations: 40 kB / 1.014 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=70): time 2.144e-06/1.077, allocations: 0 / 1.014 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70): time 0.001912/1.079, allocations: 0.9881 MB / 1.015 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/1.079, allocations: 59.72 kB / 1.015 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007244/1.08, allocations: 0.632 MB / 1.016 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.037e-05/1.08, allocations: 42.52 kB / 1.016 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002748/1.08, allocations: 429.1 kB / 1.016 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002114/1.081, allocations: 245.6 kB / 1.016 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/1.081, allocations: 123 kB / 1.017 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000158/1.081, allocations: 392.2 kB / 1.017 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004179/1.081, allocations: 276.7 kB / 1.017 GB, free: 9.883 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004959/1.082, allocations: 366.8 kB / 1.018 GB, free: 9.648 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/1.083, allocations: 0.6595 MB / 1.018 GB, free: 9.27 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.083, allocations: 0 / 1.018 GB, free: 9.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001263/1.084, allocations: 0.7884 MB / 1.019 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/1.084, allocations: 7.75 kB / 1.019 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/1.084, allocations: 0 / 1.019 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/1.084, allocations: 9.266 kB / 1.019 GB, free: 8.859 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000621/1.085, allocations: 146.8 kB / 1.019 GB, free: 8.828 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/1.085, allocations: 4.688 kB / 1.019 GB, free: 8.828 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008204/1.086, allocations: 50.83 kB / 1.019 GB, free: 8.793 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-05/1.086, allocations: 25.56 kB / 1.019 GB, free: 8.785 MB / 0.7481 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.0004437/1.086, allocations: 291.9 kB / 1.019 GB, free: 8.559 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/1.086, allocations: 83.34 kB / 1.02 GB, free: 8.516 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/1.088, allocations: 0.786 MB / 1.02 GB, free: 8.059 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/1.088, allocations: 11.44 kB / 1.02 GB, free: 8.055 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/1.088, allocations: 0 / 1.02 GB, free: 8.055 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001044/1.089, allocations: 0.8169 MB / 1.021 GB, free: 7.508 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/1.092, allocations: 1.839 MB / 1.023 GB, free: 6.281 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/1.092, allocations: 3.984 kB / 1.023 GB, free: 6.277 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007955/1.092, allocations: 180.6 kB / 1.023 GB, free: 6.23 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/1.092, allocations: 2.844 kB / 1.023 GB, free: 6.23 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.868e-05/1.092, allocations: 12.59 kB / 1.023 GB, free: 6.223 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/1.092, allocations: 4.875 kB / 1.023 GB, free: 6.223 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.092, allocations: 0 / 1.023 GB, free: 6.223 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/1.094, allocations: 1.274 MB / 1.024 GB, free: 5.504 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004373/1.095, allocations: 242 kB / 1.025 GB, free: 5.297 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/1.095, allocations: 17.27 kB / 1.025 GB, free: 5.285 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006263/1.095, allocations: 23.56 kB / 1.025 GB, free: 5.27 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/1.096, allocations: 40.28 kB / 1.025 GB, free: 5.25 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.014e-05/1.096, allocations: 27.27 kB / 1.025 GB, free: 5.238 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006146/1.096, allocations: 450.3 kB / 1.025 GB, free: 4.984 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/1.096, allocations: 0 / 1.025 GB, free: 4.984 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009681/1.097, allocations: 332.3 kB / 1.025 GB, free: 4.922 MB / 0.7481 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.0003668/1.098, allocations: 210.3 kB / 1.026 GB, free: 4.777 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001641/1.099, allocations: 0.8132 MB / 1.026 GB, free: 4.445 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.099, allocations: 0 / 1.026 GB, free: 4.445 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005477/1.1, allocations: 372 kB / 1.027 GB, free: 4.277 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/1.102, allocations: 0.5555 MB / 1.027 GB, free: 3.984 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003562/1.106, allocations: 2.151 MB / 1.029 GB, free: 2.602 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006354/1.107, allocations: 1.091 MB / 1.03 GB, free: 1.594 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001068/1.108, allocations: 219.1 kB / 1.031 GB, free: 1.375 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/1.108, allocations: 75.42 kB / 1.031 GB, free: 1.301 MB / 0.7481 GB Notification: Performance of SimCode: time 1.412e-06/1.108, allocations: 0 / 1.031 GB, free: 1.301 MB / 0.7481 GB Notification: Performance of Templates: time 0.03118/1.139, allocations: 18.34 MB / 1.049 GB, free: 15.26 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)