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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001932/0.001932, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002206/0.002206, allocations: 189.5 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002553/0.002553, allocations: 286.8 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.142/1.142, allocations: 178.6 MB / 0.507 GB, free: 4.73 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002756/0.002756, allocations: 100.2 kB / 0.6059 GB, free: 25.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1857, allocations: 89.15 MB / 0.693 GB, free: 4.699 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.6084/0.7941, allocations: 199.4 MB / 0.8877 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0125/0.8066, allocations: 7.352 MB / 0.8949 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002376/0.809, allocations: 39.75 kB / 0.8949 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002854/0.8119, allocations: 0.6182 MB / 0.8955 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008023/0.82, allocations: 2.257 MB / 0.8977 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003795/0.8238, allocations: 1.132 MB / 0.8988 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005133/0.8289, allocations: 2.91 MB / 0.9016 GB, free: 6.246 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001622/0.8306, allocations: 0.9344 MB / 0.9026 GB, free: 5.297 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002219/0.8328, allocations: 1.028 MB / 0.9036 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002335/0.8352, allocations: 1.036 MB / 0.9046 GB, free: 3.234 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.8354, allocations: 116 kB / 0.9047 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005068/0.8404, allocations: 2.225 MB / 0.9069 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006457/0.8411, allocations: 450.8 kB / 0.9073 GB, free: 460 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.8423, allocations: 0.6689 MB / 0.9079 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007071/0.8494, allocations: 2.54 MB / 0.9104 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.8494, allocations: 4 kB / 0.9104 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.395e-06/0.8494, allocations: 0 / 0.9104 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.996e-05/0.8495, allocations: 0 / 0.9104 GB, free: 13.23 MB / 0.6387 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.003976/0.8534, allocations: 1.625 MB / 0.912 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.8535, allocations: 12.03 kB / 0.912 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002614/0.8561, allocations: 378.2 kB / 0.9124 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/0.8576, allocations: 0.8045 MB / 0.9132 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.658e-05/0.8576, allocations: 69.94 kB / 0.9132 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.8578, allocations: 88 kB / 0.9133 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.8597, allocations: 1.038 MB / 0.9143 GB, free: 9.09 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/0.8598, allocations: 3.906 kB / 0.9143 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-05/0.8599, allocations: 36 kB / 0.9144 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.575e-05/0.86, allocations: 45.98 kB / 0.9144 GB, free: 9.008 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001611/0.8616, allocations: 0.8822 MB / 0.9153 GB, free: 8.125 MB / 0.6387 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.005638/0.8672, allocations: 4.288 MB / 0.9195 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.8685, allocations: 0.7013 MB / 0.9201 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008074/0.8693, allocations: 451 kB / 0.9206 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008083/0.8702, allocations: 0.6732 MB / 0.9212 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.977e-05/0.8702, allocations: 40.38 kB / 0.9213 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 2.495e-06/0.8702, allocations: 4 kB / 0.9213 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.00211/0.8723, allocations: 0.9977 MB / 0.9223 GB, free: 472 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.8724, allocations: 59.97 kB / 0.9223 GB, free: 400 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008623/0.8733, allocations: 0.6334 MB / 0.9229 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.976e-05/0.8734, allocations: 37.7 kB / 0.923 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003905/0.8738, allocations: 432.1 kB / 0.9234 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002885/0.8741, allocations: 252.3 kB / 0.9236 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000225/0.8743, allocations: 118.2 kB / 0.9237 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002494/0.8745, allocations: 394.7 kB / 0.9241 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005213/0.8751, allocations: 277.1 kB / 0.9244 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005689/0.8756, allocations: 353.1 kB / 0.9247 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.8768, allocations: 0.6665 MB / 0.9254 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.8768, allocations: 0 / 0.9254 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001362/0.8782, allocations: 0.7931 MB / 0.9261 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.8782, allocations: 10.19 kB / 0.9261 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.8783, allocations: 0 / 0.9261 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.8783, allocations: 4 kB / 0.9261 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006739/0.879, allocations: 143.8 kB / 0.9263 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.879, allocations: 4 kB / 0.9263 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009479/0.8799, allocations: 117.4 kB / 0.9264 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.658e-05/0.88, allocations: 24 kB / 0.9264 GB, free: 12.09 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004387/0.8805, allocations: 301.5 kB / 0.9267 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.8806, allocations: 82.97 kB / 0.9268 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/0.8821, allocations: 0.7889 MB / 0.9276 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.8822, allocations: 12 kB / 0.9276 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.8822, allocations: 0 / 0.9276 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001206/0.8834, allocations: 0.823 MB / 0.9284 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003021/0.8864, allocations: 1.844 MB / 0.9302 GB, free: 8.117 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.8864, allocations: 3.984 kB / 0.9302 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008568/0.8873, allocations: 159.8 kB / 0.9303 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-05/0.8873, allocations: 11.94 kB / 0.9303 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.509e-05/0.8874, allocations: 23.92 kB / 0.9304 GB, free: 7.922 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.8874, allocations: 4 kB / 0.9304 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.8874, allocations: 3.984 kB / 0.9304 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/0.8894, allocations: 1.19 MB / 0.9315 GB, free: 6.707 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004335/0.8899, allocations: 259.7 kB / 0.9318 GB, free: 6.434 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.89, allocations: 13.88 kB / 0.9318 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007531/0.8908, allocations: 71.84 kB / 0.9319 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.8909, allocations: 44.5 kB / 0.9319 GB, free: 6.309 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.948e-05/0.891, allocations: 16 kB / 0.9319 GB, free: 6.293 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006014/0.8916, allocations: 463 kB / 0.9324 GB, free: 5.848 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8916, allocations: 0 / 0.9324 GB, free: 5.848 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009291/0.8925, allocations: 335.2 kB / 0.9327 GB, free: 5.52 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004068/0.8929, allocations: 200.6 kB / 0.9329 GB, free: 5.316 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001711/0.8946, allocations: 0.8165 MB / 0.9337 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8947, allocations: 4.062 kB / 0.9337 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005881/0.8952, allocations: 371 kB / 0.934 GB, free: 4.129 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002407/0.8977, allocations: 0.5575 MB / 0.9346 GB, free: 3.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004141/0.9018, allocations: 2.55 MB / 0.9371 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008235/0.9027, allocations: 1.093 MB / 0.9381 GB, free: 15.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009659/0.9036, allocations: 227.2 kB / 0.9383 GB, free: 15.67 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/0.9039, allocations: 71.44 kB / 0.9384 GB, free: 15.6 MB / 0.67 GB Notification: Performance of SimCode: time 2.8e-07/0.9039, allocations: 0 / 0.9384 GB, free: 15.6 MB / 0.67 GB Notification: Performance of Templates: time 0.03377/0.9376, allocations: 18.14 MB / 0.9561 GB, free: 13.75 MB / 0.6856 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)