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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 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.9031/0.9031, allocations: 143.4 MB / 158.3 MB, free: 5.773 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 177 kB / 191.5 MB, free: 5.754 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.649/1.649, allocations: 223.2 MB / 447.7 MB, free: 4.785 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 102.4 kB / 0.5188 GB, free: 1.148 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001718/0.001718, allocations: 267.5 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004597/0.0004592, allocations: 14.22 kB / 0.6929 GB, free: 59.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1975, allocations: 82.79 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.641/5.839, allocations: 1.88 GB / 2.653 GB, free: 198.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/5.839, allocations: 94.2 kB / 2.654 GB, free: 198.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.501/8.34, allocations: 0.6636 GB / 3.317 GB, free: 85.55 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.994e-06/8.34, allocations: 0 / 3.317 GB, free: 85.55 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.095e-05/8.34, allocations: 28 kB / 3.317 GB, free: 85.53 MB / 0.7136 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.005007/8.345, allocations: 1.551 MB / 3.319 GB, free: 83.92 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.825e-05/8.345, allocations: 12.55 kB / 3.319 GB, free: 83.91 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002707/8.348, allocations: 366.2 kB / 3.319 GB, free: 83.55 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001821/8.35, allocations: 0.8207 MB / 3.32 GB, free: 82.69 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.851e-05/8.35, allocations: 73.94 kB / 3.32 GB, free: 82.62 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/8.35, allocations: 91.91 kB / 3.32 GB, free: 82.53 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/8.352, allocations: 1.031 MB / 3.321 GB, free: 81.45 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.311e-05/8.352, allocations: 4 kB / 3.321 GB, free: 81.45 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.583e-05/8.352, allocations: 39.98 kB / 3.321 GB, free: 81.41 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.706e-05/8.352, allocations: 30 kB / 3.321 GB, free: 81.38 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/8.354, allocations: 0.8666 MB / 3.322 GB, free: 80.51 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.005265/8.359, allocations: 4.449 MB / 3.326 GB, free: 75.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000923/8.36, allocations: 0.6333 MB / 3.327 GB, free: 75.05 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006451/8.36, allocations: 0.6771 MB / 3.328 GB, free: 74.23 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/8.361, allocations: 43.12 kB / 3.328 GB, free: 74.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=70): time 5.64e-06/8.361, allocations: 3.984 kB / 3.328 GB, free: 74.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70): time 0.001909/8.362, allocations: 0.9903 MB / 3.329 GB, free: 73.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/8.363, allocations: 63.91 kB / 3.329 GB, free: 73.11 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006647/8.363, allocations: 0.5466 MB / 3.329 GB, free: 72.56 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.343e-05/8.363, allocations: 41.7 kB / 3.329 GB, free: 72.51 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002631/8.364, allocations: 424.1 kB / 3.33 GB, free: 72.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002087/8.364, allocations: 248.3 kB / 3.33 GB, free: 71.84 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/8.364, allocations: 12 kB / 3.33 GB, free: 71.83 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001697/8.364, allocations: 390.7 kB / 3.33 GB, free: 71.44 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004011/8.364, allocations: 269.2 kB / 3.33 GB, free: 71.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004466/8.365, allocations: 380.4 kB / 3.331 GB, free: 70.78 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004825/8.365, allocations: 327.1 kB / 3.331 GB, free: 70.46 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/8.365, allocations: 3.953 kB / 3.331 GB, free: 70.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001166/8.367, allocations: 0.7891 MB / 3.332 GB, free: 69.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/8.367, allocations: 13.28 kB / 3.332 GB, free: 69.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/8.367, allocations: 0 / 3.332 GB, free: 69.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/8.367, allocations: 4 kB / 3.332 GB, free: 69.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000674/8.367, allocations: 139.8 kB / 3.332 GB, free: 69.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/8.367, allocations: 11.98 kB / 3.332 GB, free: 69.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/8.368, allocations: 103.3 kB / 3.332 GB, free: 69.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-05/8.369, allocations: 23.98 kB / 3.332 GB, free: 69.37 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005946/8.369, allocations: 285.7 kB / 3.332 GB, free: 69.08 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/8.369, allocations: 90.92 kB / 3.333 GB, free: 68.99 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/8.371, allocations: 0.7844 MB / 3.333 GB, free: 68.19 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/8.371, allocations: 8 kB / 3.333 GB, free: 68.18 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/8.371, allocations: 4 kB / 3.333 GB, free: 68.18 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009323/8.372, allocations: 0.8157 MB / 3.334 GB, free: 67.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/8.373, allocations: 0.9734 MB / 3.335 GB, free: 66.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/8.373, allocations: 0 / 3.335 GB, free: 66.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008638/8.374, allocations: 179.7 kB / 3.335 GB, free: 66.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/8.374, allocations: 4 kB / 3.335 GB, free: 66.11 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.865e-05/8.374, allocations: 12 kB / 3.335 GB, free: 66.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/8.374, allocations: 4 kB / 3.335 GB, free: 66.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/8.374, allocations: 0 / 3.335 GB, free: 66.1 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/8.376, allocations: 1.272 MB / 3.337 GB, free: 64.81 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005644/8.376, allocations: 243.9 kB / 3.337 GB, free: 64.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/8.376, allocations: 19.94 kB / 3.337 GB, free: 64.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007652/8.377, allocations: 79.78 kB / 3.337 GB, free: 64.45 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/8.377, allocations: 44.45 kB / 3.337 GB, free: 64.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-05/8.377, allocations: 23.98 kB / 3.337 GB, free: 64.39 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005493/8.378, allocations: 443 kB / 3.337 GB, free: 63.96 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/8.378, allocations: 4 kB / 3.337 GB, free: 63.96 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001848/8.38, allocations: 483.1 kB / 3.338 GB, free: 63.48 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 (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.002477/8.382, allocations: 1.566 MB / 3.339 GB, free: 61.85 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001151/8.383, allocations: 0.6757 MB / 3.34 GB, free: 61.17 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/8.383, allocations: 0 / 3.34 GB, free: 61.17 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004266/8.384, allocations: 371 kB / 3.34 GB, free: 60.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/8.386, allocations: 0.5062 MB / 3.341 GB, free: 60.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003691/8.39, allocations: 2.625 MB / 3.343 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005827/8.39, allocations: 1.112 MB / 3.345 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00101/8.391, allocations: 223.1 kB / 3.345 GB, free: 56.29 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/8.392, allocations: 75.42 kB / 3.345 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of SimCode: time 1.824e-06/8.392, allocations: 0 / 3.345 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of Templates: time 0.0572/8.449, allocations: 35.55 MB / 3.38 GB, free: 20.87 MB / 0.7136 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)