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.008265/0.008265, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001262/0.001262, allocations: 190.5 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.14/2.14, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.564/1.564, allocations: 251.7 MB / 0.5094 GB, free: 2.953 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.00156/0.00156, allocations: 63.91 kB / 0.7258 GB, free: 9.043 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2955, allocations: 104.7 MB / 0.828 GB, free: 232 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 1.118/1.414, allocations: 202.1 MB / 1.025 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0173/1.431, allocations: 7.38 MB / 1.033 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003424/1.435, allocations: 34.5 kB / 1.033 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002944/1.438, allocations: 0.697 MB / 1.033 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.009829/1.448, allocations: 2.368 MB / 1.036 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00551/1.453, allocations: 1.317 MB / 1.037 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006845/1.46, allocations: 3.026 MB / 1.04 GB, free: 3.785 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002465/1.463, allocations: 0.9776 MB / 1.041 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003442/1.466, allocations: 1.067 MB / 1.042 GB, free: 1.719 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00362/1.47, allocations: 0.9783 MB / 1.043 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0006624/1.471, allocations: 116 kB / 1.043 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006656/1.477, allocations: 2.128 MB / 1.045 GB, free: 14.5 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0009589/1.478, allocations: 466.7 kB / 1.045 GB, free: 14.04 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001345/1.48, allocations: 0.6768 MB / 1.046 GB, free: 13.36 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.006645/1.486, allocations: 2.457 MB / 1.049 GB, free: 10.9 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/1.486, allocations: 0 / 1.049 GB, free: 10.9 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.613e-06/1.486, allocations: 0 / 1.049 GB, free: 10.9 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.666e-05/1.486, allocations: 0 / 1.049 GB, free: 10.9 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.004034/1.49, allocations: 1.647 MB / 1.05 GB, free: 9.195 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/1.49, allocations: 8.031 kB / 1.05 GB, free: 9.188 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002524/1.493, allocations: 378.2 kB / 1.051 GB, free: 8.816 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/1.495, allocations: 0.8435 MB / 1.051 GB, free: 7.93 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.84e-05/1.495, allocations: 69.94 kB / 1.051 GB, free: 7.863 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/1.495, allocations: 84 kB / 1.051 GB, free: 7.781 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/1.497, allocations: 1.057 MB / 1.053 GB, free: 6.688 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/1.497, allocations: 0 / 1.053 GB, free: 6.688 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.567e-05/1.497, allocations: 43.98 kB / 1.053 GB, free: 6.645 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.862e-05/1.497, allocations: 45.98 kB / 1.053 GB, free: 6.602 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/1.498, allocations: 0.8861 MB / 1.053 GB, free: 5.711 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.005205/1.503, allocations: 4.311 MB / 1.058 GB, free: 1.047 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/1.505, allocations: 0.6914 MB / 1.058 GB, free: 360 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007877/1.505, allocations: 455 kB / 1.059 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006881/1.506, allocations: 0.6732 MB / 1.059 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.683e-05/1.506, allocations: 44.25 kB / 1.059 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=70): time 2.956e-06/1.506, allocations: 0 / 1.059 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70): time 0.001914/1.508, allocations: 0.9783 MB / 1.06 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/1.508, allocations: 63.91 kB / 1.06 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007784/1.509, allocations: 0.6334 MB / 1.061 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.042e-05/1.509, allocations: 41.7 kB / 1.061 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003262/1.509, allocations: 444 kB / 1.062 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002227/1.51, allocations: 248.3 kB / 1.062 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/1.51, allocations: 122.2 kB / 1.062 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001973/1.51, allocations: 390.7 kB / 1.062 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004344/1.51, allocations: 269.2 kB / 1.063 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004993/1.511, allocations: 370.7 kB / 1.063 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009619/1.512, allocations: 0.647 MB / 1.064 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.512, allocations: 0 / 1.064 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001257/1.513, allocations: 0.7852 MB / 1.064 GB, free: 9.969 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/1.513, allocations: 4 kB / 1.064 GB, free: 9.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/1.513, allocations: 0 / 1.064 GB, free: 9.965 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/1.513, allocations: 8 kB / 1.064 GB, free: 9.957 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006669/1.514, allocations: 140.7 kB / 1.064 GB, free: 9.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/1.514, allocations: 12.12 kB / 1.064 GB, free: 9.809 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008357/1.515, allocations: 58.64 kB / 1.065 GB, free: 9.754 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.775e-05/1.515, allocations: 20 kB / 1.065 GB, free: 9.734 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.0005312/1.515, allocations: 293.6 kB / 1.065 GB, free: 9.438 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/1.516, allocations: 83.06 kB / 1.065 GB, free: 9.355 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/1.517, allocations: 0.7934 MB / 1.066 GB, free: 8.547 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/1.517, allocations: 7.938 kB / 1.066 GB, free: 8.539 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/1.517, allocations: 8 kB / 1.066 GB, free: 8.531 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001094/1.518, allocations: 0.7997 MB / 1.066 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002951/1.521, allocations: 1.841 MB / 1.068 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/1.521, allocations: 4 kB / 1.068 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008002/1.522, allocations: 171.8 kB / 1.068 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/1.522, allocations: 4 kB / 1.068 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.986e-05/1.522, allocations: 19.98 kB / 1.068 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-06/1.522, allocations: 4 kB / 1.068 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.522, allocations: 0 / 1.068 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/1.524, allocations: 1.265 MB / 1.07 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004982/1.524, allocations: 251.9 kB / 1.07 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/1.525, allocations: 16 kB / 1.07 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006643/1.525, allocations: 34.66 kB / 1.07 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/1.525, allocations: 44.5 kB / 1.07 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.93e-05/1.525, allocations: 20 kB / 1.07 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006134/1.526, allocations: 459 kB / 1.07 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/1.526, allocations: 3.938 kB / 1.07 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001093/1.527, allocations: 351.1 kB / 1.071 GB, free: 3.141 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.0004365/1.528, allocations: 192.8 kB / 1.071 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001254/1.529, allocations: 0.6756 MB / 1.072 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/1.529, allocations: 384 / 1.072 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005137/1.529, allocations: 371 kB / 1.072 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/1.532, allocations: 0.5506 MB / 1.073 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003654/1.535, allocations: 2.14 MB / 1.075 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006848/1.536, allocations: 1.093 MB / 1.076 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0008948/1.537, allocations: 227.1 kB / 1.076 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/1.537, allocations: 75.42 kB / 1.076 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of SimCode: time 1.062e-06/1.537, allocations: 0 / 1.076 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of Templates: time 0.03288/1.57, allocations: 18.75 MB / 1.094 GB, free: 11.31 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)