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.802/0.802, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.001012/0.001012, allocations: 176.9 kB / 182.2 MB, free: 9.445 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.329/1.329, allocations: 221.5 MB / 436.4 MB, free: 13.26 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.0008681/0.0008679, allocations: 92.08 kB / 0.5074 GB, free: 10.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001977/0.001977, allocations: 269.5 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.655e-05/1.65e-05, allocations: 4 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3847, allocations: 82.78 MB / 0.7574 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.959/4.344, allocations: 1.879 GB / 2.636 GB, free: 180.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/4.344, allocations: 87.83 kB / 2.636 GB, free: 180.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.049/6.394, allocations: 0.6561 GB / 3.293 GB, free: 51.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.443e-06/6.394, allocations: 0 / 3.293 GB, free: 51.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001131/6.394, allocations: 24 kB / 3.293 GB, free: 51.07 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.004124/6.398, allocations: 1.384 MB / 3.294 GB, free: 49.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/6.398, allocations: 8.031 kB / 3.294 GB, free: 49.63 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002776/6.401, allocations: 370.2 kB / 3.294 GB, free: 49.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/6.403, allocations: 0.8245 MB / 3.295 GB, free: 48.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/6.403, allocations: 35.94 kB / 3.295 GB, free: 48.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001867/6.403, allocations: 55.95 kB / 3.295 GB, free: 48.31 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001199/6.404, allocations: 0.738 MB / 3.296 GB, free: 47.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/6.405, allocations: 0.8834 MB / 3.297 GB, free: 46.65 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/6.405, allocations: 4 kB / 3.297 GB, free: 46.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.947e-05/6.405, allocations: 0 / 3.297 GB, free: 46.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.521e-05/6.405, allocations: 34 kB / 3.297 GB, free: 46.61 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.003816/6.409, allocations: 4.335 MB / 3.301 GB, free: 41.93 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006785/6.41, allocations: 0.6033 MB / 3.302 GB, free: 41.32 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005247/6.41, allocations: 422.4 kB / 3.302 GB, free: 40.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004608/6.411, allocations: 0.6771 MB / 3.303 GB, free: 40.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/6.411, allocations: 39.12 kB / 3.303 GB, free: 40.03 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 2.214e-06/6.411, allocations: 4 kB / 3.303 GB, free: 40.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.001221/6.412, allocations: 0.7248 MB / 3.303 GB, free: 39.29 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.12e-05/6.412, allocations: 59.97 kB / 3.304 GB, free: 39.22 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004563/6.413, allocations: 487.6 kB / 3.304 GB, free: 38.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.799e-05/6.413, allocations: 25.7 kB / 3.304 GB, free: 38.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/6.413, allocations: 424 kB / 3.304 GB, free: 38.28 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/6.413, allocations: 240.4 kB / 3.305 GB, free: 38.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/6.413, allocations: 0 / 3.305 GB, free: 38.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.807e-05/6.413, allocations: 386.7 kB / 3.305 GB, free: 37.66 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003137/6.414, allocations: 265.5 kB / 3.305 GB, free: 37.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003487/6.414, allocations: 364.4 kB / 3.306 GB, free: 37.01 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004912/6.414, allocations: 340.4 kB / 3.306 GB, free: 36.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/6.414, allocations: 0 / 3.306 GB, free: 36.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001009/6.415, allocations: 0.7726 MB / 3.307 GB, free: 35.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/6.415, allocations: 4 kB / 3.307 GB, free: 35.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/6.415, allocations: 4 kB / 3.307 GB, free: 35.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.353e-05/6.416, allocations: 4 kB / 3.307 GB, free: 35.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006412/6.416, allocations: 147.8 kB / 3.307 GB, free: 35.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/6.416, allocations: 4 kB / 3.307 GB, free: 35.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00091/6.417, allocations: 83.59 kB / 3.307 GB, free: 35.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/6.417, allocations: 31.92 kB / 3.307 GB, free: 35.62 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.0001133/6.417, allocations: 116.8 kB / 3.307 GB, free: 35.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/6.417, allocations: 79.06 kB / 3.307 GB, free: 35.42 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/6.419, allocations: 0.7805 MB / 3.308 GB, free: 34.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/6.419, allocations: 4 kB / 3.308 GB, free: 34.62 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/6.419, allocations: 4 kB / 3.308 GB, free: 34.62 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008734/6.419, allocations: 0.8078 MB / 3.309 GB, free: 33.76 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/6.422, allocations: 1.748 MB / 3.31 GB, free: 31.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/6.422, allocations: 0 / 3.31 GB, free: 31.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008017/6.422, allocations: 179.8 kB / 3.311 GB, free: 31.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/6.422, allocations: 4 kB / 3.311 GB, free: 31.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/6.423, allocations: 12 kB / 3.311 GB, free: 31.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/6.423, allocations: 0 / 3.311 GB, free: 31.78 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/6.423, allocations: 0 / 3.311 GB, free: 31.78 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/6.424, allocations: 1.265 MB / 3.312 GB, free: 30.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002941/6.424, allocations: 251.9 kB / 3.312 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/6.424, allocations: 8 kB / 3.312 GB, free: 30.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007279/6.425, allocations: 63.78 kB / 3.312 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.9e-05/6.425, allocations: 40.5 kB / 3.312 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.591e-05/6.425, allocations: 23.98 kB / 3.312 GB, free: 30.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003282/6.426, allocations: 371.2 kB / 3.313 GB, free: 29.74 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.91e-07/6.426, allocations: 0 / 3.313 GB, free: 29.74 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009632/6.427, allocations: 435.1 kB / 3.313 GB, free: 29.32 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.001755/6.428, allocations: 1.765 MB / 3.315 GB, free: 27.47 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007632/6.429, allocations: 0.6622 MB / 3.315 GB, free: 26.81 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/6.429, allocations: 4 kB / 3.315 GB, free: 26.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003642/6.429, allocations: 358 kB / 3.316 GB, free: 26.45 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/6.432, allocations: 474.1 kB / 3.316 GB, free: 26 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/6.434, allocations: 1.741 MB / 3.318 GB, free: 24.23 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/6.434, allocations: 1.108 MB / 3.319 GB, free: 23.09 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008314/6.435, allocations: 238.7 kB / 3.319 GB, free: 22.85 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/6.435, allocations: 71.42 kB / 3.319 GB, free: 22.78 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/6.435, allocations: 4 kB / 3.319 GB, free: 22.78 MB / 0.698 GB Notification: Performance of Templates: time 0.4239/6.859, allocations: 24.38 MB / 3.343 GB, free: 125.6 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)