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.7778/0.7778, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 180.6 kB / 187.2 MB, free: 11.9 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.301/1.301, allocations: 221.3 MB / 441.4 MB, free: 4.625 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.0008568/0.0008568, allocations: 94.16 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001782/0.001782, allocations: 276.9 kB / 0.5939 GB, free: 7.996 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.187e-05/4.189e-05, allocations: 4 kB / 0.6834 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4253/0.4254, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.686/4.111, allocations: 1.88 GB / 2.644 GB, free: 128.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001826/4.111, allocations: 95.44 kB / 2.644 GB, free: 128.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.299/6.411, allocations: 0.663 GB / 3.307 GB, free: 121.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.052e-06/6.411, allocations: 0 / 3.307 GB, free: 121.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.343e-05/6.411, allocations: 26.66 kB / 3.307 GB, free: 121.3 MB / 0.698 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.003152/6.414, allocations: 1.386 MB / 3.308 GB, free: 120.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/6.414, allocations: 9.75 kB / 3.308 GB, free: 120.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002486/6.417, allocations: 370.2 kB / 3.309 GB, free: 120.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/6.418, allocations: 0.8198 MB / 3.31 GB, free: 120.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.156e-05/6.418, allocations: 66.84 kB / 3.31 GB, free: 120.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/6.418, allocations: 97.22 kB / 3.31 GB, free: 120.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/6.42, allocations: 1.002 MB / 3.311 GB, free: 120.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/6.42, allocations: 1.719 kB / 3.311 GB, free: 120.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.279e-05/6.42, allocations: 44.47 kB / 3.311 GB, free: 120.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.147e-05/6.42, allocations: 38 kB / 3.311 GB, free: 120.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/6.422, allocations: 0.824 MB / 3.312 GB, free: 120.4 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.004132/6.426, allocations: 4.442 MB / 3.316 GB, free: 117.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007989/6.427, allocations: 0.6244 MB / 3.317 GB, free: 117.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005983/6.427, allocations: 436.9 kB / 3.317 GB, free: 117.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005614/6.428, allocations: 0.6789 MB / 3.318 GB, free: 117 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/6.428, allocations: 41.61 kB / 3.318 GB, free: 117 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 3.287e-06/6.428, allocations: 0 / 3.318 GB, free: 117 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.001208/6.429, allocations: 0.7002 MB / 3.318 GB, free: 116.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/6.429, allocations: 59.47 kB / 3.318 GB, free: 116.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000555/6.43, allocations: 0.5434 MB / 3.319 GB, free: 116.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.405e-05/6.43, allocations: 44.14 kB / 3.319 GB, free: 116.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002431/6.43, allocations: 420.7 kB / 3.319 GB, free: 116.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/6.43, allocations: 248 kB / 3.32 GB, free: 116.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/6.43, allocations: 14.34 kB / 3.32 GB, free: 116.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001203/6.43, allocations: 391.2 kB / 3.32 GB, free: 116.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/6.431, allocations: 260 kB / 3.32 GB, free: 116.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004361/6.431, allocations: 367.1 kB / 3.321 GB, free: 116 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00043/6.432, allocations: 313.6 kB / 3.321 GB, free: 116 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/6.432, allocations: 1.125 kB / 3.321 GB, free: 116 MB / 0.698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001062/6.433, allocations: 0.7654 MB / 3.322 GB, free: 115.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/6.433, allocations: 7.844 kB / 3.322 GB, free: 115.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/6.433, allocations: 0 / 3.322 GB, free: 115.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/6.433, allocations: 3.531 kB / 3.322 GB, free: 115.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006166/6.433, allocations: 148.7 kB / 3.322 GB, free: 115.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/6.433, allocations: 5.094 kB / 3.322 GB, free: 115.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009522/6.434, allocations: 108.4 kB / 3.322 GB, free: 115.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.516e-05/6.434, allocations: 26.44 kB / 3.322 GB, free: 115.9 MB / 0.698 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 () * 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.0001178/6.435, allocations: 138.3 kB / 3.322 GB, free: 115.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/6.435, allocations: 85.56 kB / 3.322 GB, free: 115.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/6.436, allocations: 0.7713 MB / 3.323 GB, free: 115.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/6.436, allocations: 13.09 kB / 3.323 GB, free: 115.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/6.436, allocations: 7.266 kB / 3.323 GB, free: 115.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008669/6.437, allocations: 0.7899 MB / 3.324 GB, free: 115.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002171/6.439, allocations: 1.809 MB / 3.325 GB, free: 115.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/6.439, allocations: 3.5 kB / 3.325 GB, free: 115.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007942/6.44, allocations: 177.2 kB / 3.326 GB, free: 115.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/6.44, allocations: 0 / 3.326 GB, free: 115.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.668e-05/6.44, allocations: 21.34 kB / 3.326 GB, free: 115.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/6.44, allocations: 3.656 kB / 3.326 GB, free: 115.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/6.44, allocations: 0 / 3.326 GB, free: 115.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/6.441, allocations: 1.232 MB / 3.327 GB, free: 114.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000325/6.442, allocations: 246.1 kB / 3.327 GB, free: 114.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/6.442, allocations: 15.25 kB / 3.327 GB, free: 114.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007164/6.442, allocations: 80.5 kB / 3.327 GB, free: 114.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.39e-05/6.443, allocations: 34.91 kB / 3.327 GB, free: 114.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-05/6.443, allocations: 28.22 kB / 3.327 GB, free: 114.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004341/6.443, allocations: 437 kB / 3.328 GB, free: 114.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/6.443, allocations: 3.188 kB / 3.328 GB, free: 114.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00138/6.444, allocations: 491.1 kB / 3.328 GB, free: 114.6 MB / 0.698 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 () * 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.00174/6.446, allocations: 1.577 MB / 3.33 GB, free: 114.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008317/6.447, allocations: 0.6506 MB / 3.33 GB, free: 114.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/6.447, allocations: 0 / 3.33 GB, free: 114.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000398/6.447, allocations: 355.5 kB / 3.331 GB, free: 114.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/6.45, allocations: 0.5083 MB / 3.331 GB, free: 114.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002582/6.452, allocations: 1.747 MB / 3.333 GB, free: 113.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004739/6.453, allocations: 1.102 MB / 3.334 GB, free: 113.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008197/6.453, allocations: 227.1 kB / 3.334 GB, free: 113 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/6.454, allocations: 71.67 kB / 3.334 GB, free: 113 MB / 0.698 GB Notification: Performance of SimCode: time 1.512e-06/6.454, allocations: 0 / 3.334 GB, free: 113 MB / 0.698 GB Notification: Performance of Templates: time 0.04978/6.503, allocations: 39.77 MB / 3.373 GB, free: 111.9 MB / 0.698 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)