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.7617/0.7617, allocations: 141.8 MB / 149.3 MB, free: 9.227 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.0009523/0.0009523, allocations: 175.8 kB / 182.2 MB, free: 9.469 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.313/1.313, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0009747/0.0009746, allocations: 88.05 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001767/0.001767, allocations: 289.9 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.677e-05/1.678e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3804, allocations: 82.78 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.107/4.488, allocations: 1.879 GB / 2.636 GB, free: 180.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/4.488, allocations: 91.83 kB / 2.636 GB, free: 180.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.026/6.514, allocations: 0.6561 GB / 3.293 GB, free: 51.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.152e-06/6.514, allocations: 4 kB / 3.293 GB, free: 51.53 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.425e-05/6.514, allocations: 36.11 kB / 3.293 GB, free: 51.5 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.003881/6.518, allocations: 1.38 MB / 3.294 GB, free: 50.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/6.518, allocations: 8.25 kB / 3.294 GB, free: 50.06 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002575/6.521, allocations: 362.3 kB / 3.294 GB, free: 49.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/6.523, allocations: 0.8283 MB / 3.295 GB, free: 48.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.609e-05/6.523, allocations: 28 kB / 3.295 GB, free: 48.81 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/6.523, allocations: 59.95 kB / 3.295 GB, free: 48.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001221/6.524, allocations: 0.738 MB / 3.296 GB, free: 48.01 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/6.525, allocations: 0.8872 MB / 3.297 GB, free: 47.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/6.525, allocations: 0 / 3.297 GB, free: 47.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-05/6.525, allocations: 7.984 kB / 3.297 GB, free: 47.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.558e-05/6.526, allocations: 30 kB / 3.297 GB, free: 47.05 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.005393/6.531, allocations: 4.342 MB / 3.301 GB, free: 42.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/6.532, allocations: 0.6032 MB / 3.302 GB, free: 41.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009693/6.533, allocations: 428.7 kB / 3.302 GB, free: 41.33 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006978/6.534, allocations: 0.6732 MB / 3.303 GB, free: 40.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/6.534, allocations: 47.11 kB / 3.303 GB, free: 40.45 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 4.628e-06/6.534, allocations: 0 / 3.303 GB, free: 40.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.002208/6.536, allocations: 0.7132 MB / 3.303 GB, free: 39.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/6.536, allocations: 63.97 kB / 3.304 GB, free: 39.65 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009083/6.537, allocations: 483.5 kB / 3.304 GB, free: 39.17 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.287e-05/6.537, allocations: 25.7 kB / 3.304 GB, free: 39.14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003355/6.538, allocations: 424.1 kB / 3.304 GB, free: 38.72 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003072/6.538, allocations: 240.4 kB / 3.305 GB, free: 38.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/6.538, allocations: 0 / 3.305 GB, free: 38.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001603/6.538, allocations: 386.7 kB / 3.305 GB, free: 38.09 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006024/6.539, allocations: 269.4 kB / 3.305 GB, free: 37.83 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006378/6.539, allocations: 372.3 kB / 3.306 GB, free: 37.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000952/6.54, allocations: 332.4 kB / 3.306 GB, free: 37.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/6.54, allocations: 4 kB / 3.306 GB, free: 37.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001872/6.542, allocations: 0.7688 MB / 3.307 GB, free: 36.33 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/6.542, allocations: 8 kB / 3.307 GB, free: 36.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/6.542, allocations: 0 / 3.307 GB, free: 36.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/6.542, allocations: 4 kB / 3.307 GB, free: 36.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/6.544, allocations: 147.8 kB / 3.307 GB, free: 36.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/6.544, allocations: 7.938 kB / 3.307 GB, free: 36.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/6.545, allocations: 87.53 kB / 3.307 GB, free: 36.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.652e-05/6.545, allocations: 24 kB / 3.307 GB, free: 36.05 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.0001971/6.546, allocations: 116.8 kB / 3.307 GB, free: 35.93 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002555/6.546, allocations: 83.05 kB / 3.307 GB, free: 35.85 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/6.548, allocations: 0.7688 MB / 3.308 GB, free: 35.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/6.548, allocations: 8 kB / 3.308 GB, free: 35.06 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/6.548, allocations: 0 / 3.308 GB, free: 35.06 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00159/6.55, allocations: 0.8117 MB / 3.309 GB, free: 34.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004135/6.554, allocations: 1.737 MB / 3.31 GB, free: 32.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/6.554, allocations: 0 / 3.31 GB, free: 32.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001411/6.555, allocations: 175.8 kB / 3.311 GB, free: 32.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.216e-05/6.555, allocations: 8 kB / 3.311 GB, free: 32.24 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.085e-05/6.555, allocations: 11.98 kB / 3.311 GB, free: 32.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.106e-05/6.555, allocations: 4 kB / 3.311 GB, free: 32.22 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/6.555, allocations: 0 / 3.311 GB, free: 32.22 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002613/6.558, allocations: 1.276 MB / 3.312 GB, free: 30.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006483/6.559, allocations: 247.9 kB / 3.312 GB, free: 30.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/6.559, allocations: 11.98 kB / 3.312 GB, free: 30.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/6.56, allocations: 55.84 kB / 3.312 GB, free: 30.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/6.56, allocations: 36.52 kB / 3.312 GB, free: 30.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.449e-05/6.561, allocations: 27.98 kB / 3.312 GB, free: 30.54 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006481/6.561, allocations: 379.2 kB / 3.313 GB, free: 30.18 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.2e-07/6.561, allocations: 0 / 3.313 GB, free: 30.18 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001814/6.563, allocations: 423.1 kB / 3.313 GB, free: 29.76 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.00207/6.565, allocations: 1.783 MB / 3.315 GB, free: 27.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008831/6.566, allocations: 0.6622 MB / 3.315 GB, free: 27.24 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/6.566, allocations: 0 / 3.315 GB, free: 27.24 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00038/6.566, allocations: 361.9 kB / 3.316 GB, free: 26.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00223/6.569, allocations: 470 kB / 3.316 GB, free: 26.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/6.571, allocations: 1.737 MB / 3.318 GB, free: 24.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005265/6.572, allocations: 1.108 MB / 3.319 GB, free: 23.53 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009981/6.573, allocations: 218.8 kB / 3.319 GB, free: 23.31 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002394/6.573, allocations: 75.42 kB / 3.319 GB, free: 23.24 MB / 0.698 GB Notification: Performance of SimCode: time 7.91e-07/6.573, allocations: 0 / 3.319 GB, free: 23.24 MB / 0.698 GB Notification: Performance of Templates: time 0.4118/6.985, allocations: 24.4 MB / 3.343 GB, free: 126.1 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)