Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation") translateModel(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.953/0.953, allocations: 140.1 MB / 156 MB, free: 5.18 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001276/0.001276, allocations: 184.1 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.183/2.183, allocations: 205.4 MB / 426.3 MB, free: 8.473 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 93.39 kB / 0.4945 GB, free: 8.418 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.002254/0.002254, allocations: 277.4 kB / 0.5729 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006919/0.0006922, allocations: 16 kB / 0.662 GB, free: 6.828 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5272/0.5279, allocations: 79.3 MB / 0.7395 GB, free: 46.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.292/6.82, allocations: 2.044 GB / 2.783 GB, free: 166.2 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/6.82, allocations: 95.77 kB / 2.783 GB, free: 166.2 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.494/9.314, allocations: 0.6536 GB / 3.437 GB, free: 2.512 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.435e-06/9.314, allocations: 0 / 3.437 GB, free: 2.512 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001576/9.315, allocations: 24 kB / 3.437 GB, free: 2.488 MB / 0.6667 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.006989/9.322, allocations: 1.555 MB / 3.439 GB, free: 0.8789 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 7.498e-05/9.322, allocations: 8.031 kB / 3.439 GB, free: 0.8711 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003541/9.325, allocations: 363.2 kB / 3.439 GB, free: 0.5156 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00305/9.328, allocations: 0.8682 MB / 3.44 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/9.328, allocations: 70.36 kB / 3.44 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004223/9.329, allocations: 84.38 kB / 3.44 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002933/9.332, allocations: 1.032 MB / 3.441 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.175e-05/9.332, allocations: 15.88 kB / 3.441 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001716/9.332, allocations: 32 kB / 3.441 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-05/9.332, allocations: 37.94 kB / 3.441 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/9.334, allocations: 0.8588 MB / 3.442 GB, free: 13.44 MB / 0.6823 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.007685/9.342, allocations: 4.452 MB / 3.446 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/9.343, allocations: 0.6386 MB / 3.447 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000818/9.344, allocations: 456.1 kB / 3.447 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007848/9.345, allocations: 0.6693 MB / 3.448 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/9.345, allocations: 47.12 kB / 3.448 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 4.118e-06/9.345, allocations: 0 / 3.448 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.002315/9.347, allocations: 0.9822 MB / 3.449 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/9.347, allocations: 59.91 kB / 3.449 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/9.348, allocations: 0.6294 MB / 3.45 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001063/9.349, allocations: 37.7 kB / 3.45 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003942/9.349, allocations: 424.1 kB / 3.45 GB, free: 4.496 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003307/9.349, allocations: 256.3 kB / 3.45 GB, free: 4.242 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/9.349, allocations: 16 kB / 3.45 GB, free: 4.227 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002405/9.35, allocations: 382.8 kB / 3.451 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005101/9.35, allocations: 269.2 kB / 3.451 GB, free: 3.582 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000599/9.351, allocations: 380.5 kB / 3.451 GB, free: 3.176 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/9.352, allocations: 0.6626 MB / 3.452 GB, free: 2.492 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/9.352, allocations: 7.875 kB / 3.452 GB, free: 2.484 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001649/9.354, allocations: 0.7891 MB / 3.453 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/9.354, allocations: 4 kB / 3.453 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/9.354, allocations: 8 kB / 3.453 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.417e-05/9.354, allocations: 4 kB / 3.453 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007133/9.354, allocations: 151.8 kB / 3.453 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.908e-05/9.354, allocations: 4 kB / 3.453 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/9.356, allocations: 99.56 kB / 3.453 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.877e-05/9.356, allocations: 31.94 kB / 3.453 GB, free: 1.391 MB / 0.6823 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.0007983/9.357, allocations: 286 kB / 3.453 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003447/9.357, allocations: 83.06 kB / 3.453 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/9.359, allocations: 0.7919 MB / 3.454 GB, free: 220 kB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/9.359, allocations: 4 kB / 3.454 GB, free: 216 kB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/9.359, allocations: 4 kB / 3.454 GB, free: 212 kB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.6188/9.978, allocations: 0.812 MB / 3.455 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004651/9.982, allocations: 1.834 MB / 3.457 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/9.982, allocations: 1.094 kB / 3.457 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/9.983, allocations: 175.2 kB / 3.457 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.227e-05/9.983, allocations: 2.188 kB / 3.457 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.325e-05/9.983, allocations: 19.42 kB / 3.457 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/9.983, allocations: 2.562 kB / 3.457 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.748e-06/9.984, allocations: 3.875 kB / 3.457 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002824/9.986, allocations: 1.273 MB / 3.458 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007033/9.987, allocations: 246.5 kB / 3.458 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/9.987, allocations: 17.83 kB / 3.458 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008499/9.988, allocations: 70.72 kB / 3.458 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/9.988, allocations: 41.11 kB / 3.459 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.508e-05/9.988, allocations: 25.72 kB / 3.459 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009437/9.989, allocations: 446.8 kB / 3.459 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.11e-07/9.989, allocations: 0 / 3.459 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002293/9.992, allocations: 497.4 kB / 3.459 GB, free: 118.2 MB / 0.6823 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.003489/9.995, allocations: 1.604 MB / 3.461 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00154/9.997, allocations: 0.6683 MB / 3.462 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/9.997, allocations: 2.375 kB / 3.462 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005761/9.997, allocations: 369.3 kB / 3.462 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00282/10, allocations: 0.51 MB / 3.463 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004683/10, allocations: 2.642 MB / 3.465 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/10.01, allocations: 1.083 MB / 3.466 GB, free: 116 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001426/10.01, allocations: 224 kB / 3.466 GB, free: 116 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003054/10.01, allocations: 81.89 kB / 3.466 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.894e-06/10.01, allocations: 0 / 3.466 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.06838/10.08, allocations: 36.14 MB / 3.502 GB, free: 115.1 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)