Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8415/0.8415, allocations: 128.8 MB / 143.8 MB, free: 2.293 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 186.3 kB / 173.9 MB, free: 6.109 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.19/2.19, allocations: 205.4 MB / 409.1 MB, free: 10.48 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 82.12 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003827/0.0003832, allocations: 8.219 kB / 0.5604 GB, free: 97.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2246, allocations: 76.77 MB / 0.6354 GB, free: 30.54 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.6531/0.8778, allocations: 184.1 MB / 0.8152 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01317/0.891, allocations: 6.929 MB / 0.822 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001916/0.893, allocations: 37.81 kB / 0.822 GB, free: 9.738 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001889/0.8949, allocations: 471.7 kB / 0.8224 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.006853/0.9018, allocations: 1.735 MB / 0.8241 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.003914/0.9057, allocations: 0.9189 MB / 0.825 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.006248/0.9119, allocations: 3.649 MB / 0.8286 GB, free: 6.5 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001867/0.9138, allocations: 0.6967 MB / 0.8293 GB, free: 6.207 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002711/0.9166, allocations: 0.9138 MB / 0.8302 GB, free: 5.863 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002137/0.9187, allocations: 0.9285 MB / 0.8311 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001802/0.9189, allocations: 49.31 kB / 0.8311 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003739/0.9227, allocations: 0.9696 MB / 0.8321 GB, free: 5.125 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000676/0.9234, allocations: 388.2 kB / 0.8324 GB, free: 4.949 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0006409/0.924, allocations: 274.8 kB / 0.8327 GB, free: 4.875 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.003106/0.9271, allocations: 1.687 MB / 0.8343 GB, free: 3.934 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.9272, allocations: 0 / 0.8343 GB, free: 3.934 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9272, allocations: 0 / 0.8343 GB, free: 3.934 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.043e-05/0.9272, allocations: 0 / 0.8343 GB, free: 3.934 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.003627/0.9308, allocations: 1.421 MB / 0.8357 GB, free: 2.953 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.9309, allocations: 8 kB / 0.8357 GB, free: 2.953 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002269/0.9332, allocations: 349.1 kB / 0.8361 GB, free: 2.816 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/0.9346, allocations: 0.7737 MB / 0.8368 GB, free: 2.359 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.871e-05/0.9347, allocations: 73.69 kB / 0.8369 GB, free: 2.348 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.9348, allocations: 89.41 kB / 0.837 GB, free: 2.344 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/0.9367, allocations: 1.055 MB / 0.838 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.9367, allocations: 1.75 kB / 0.838 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-05/0.9368, allocations: 33.44 kB / 0.8381 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.241e-05/0.9369, allocations: 51.64 kB / 0.8381 GB, free: 2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/0.9385, allocations: 0.8805 MB / 0.839 GB, free: 1.848 MB / 0.5261 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.005237/0.9437, allocations: 4.284 MB / 0.8431 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.9448, allocations: 0.6871 MB / 0.8438 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006964/0.9455, allocations: 455.3 kB / 0.8443 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006835/0.9462, allocations: 0.6701 MB / 0.8449 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.9462, allocations: 40.5 kB / 0.8449 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=70): time 2.244e-06/0.9462, allocations: 4 kB / 0.8449 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=70): time 0.001782/0.948, allocations: 0.9767 MB / 0.8459 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.9481, allocations: 61.23 kB / 0.846 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007727/0.9488, allocations: 0.6288 MB / 0.8466 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.192e-05/0.9489, allocations: 45.67 kB / 0.8466 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002645/0.9492, allocations: 441.4 kB / 0.847 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.9494, allocations: 250.8 kB / 0.8473 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.9494, allocations: 12.75 kB / 0.8473 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.9496, allocations: 385.5 kB / 0.8477 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004635/0.9501, allocations: 274.8 kB / 0.8479 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000469/0.9505, allocations: 361.8 kB / 0.8483 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004944/0.951, allocations: 318.3 kB / 0.8486 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.9511, allocations: 4.031 kB / 0.8486 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001268/0.9523, allocations: 0.7787 MB / 0.8493 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.9524, allocations: 5.844 kB / 0.8493 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.9524, allocations: 2.844 kB / 0.8493 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.9524, allocations: 5.094 kB / 0.8493 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006628/0.9531, allocations: 145.6 kB / 0.8495 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.9531, allocations: 9.703 kB / 0.8495 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009489/0.9541, allocations: 98.03 kB / 0.8496 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-05/0.9541, allocations: 23.09 kB / 0.8496 GB, free: 11.99 MB / 0.5417 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.0005248/0.9546, allocations: 295.6 kB / 0.8499 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.9548, allocations: 79.97 kB / 0.85 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.9562, allocations: 0.7881 MB / 0.8507 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.9562, allocations: 5.938 kB / 0.8507 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.9562, allocations: 0 / 0.8507 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009834/0.9572, allocations: 0.8026 MB / 0.8515 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002637/0.9599, allocations: 1.829 MB / 0.8533 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.9599, allocations: 4 kB / 0.8533 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009276/0.9608, allocations: 168.2 kB / 0.8535 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.9608, allocations: 0 / 0.8535 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.66e-05/0.9609, allocations: 20.73 kB / 0.8535 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.9609, allocations: 7.953 kB / 0.8535 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9609, allocations: 4 kB / 0.8535 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.9627, allocations: 1.253 MB / 0.8547 GB, free: 9.445 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004479/0.9631, allocations: 253.3 kB / 0.855 GB, free: 9.227 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.922e-05/0.9632, allocations: 11.5 kB / 0.855 GB, free: 9.223 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007648/0.964, allocations: 81.2 kB / 0.8551 GB, free: 9.152 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.9641, allocations: 50.39 kB / 0.8551 GB, free: 9.105 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.968e-05/0.9642, allocations: 25.55 kB / 0.8551 GB, free: 9.086 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005384/0.9648, allocations: 450.5 kB / 0.8556 GB, free: 8.754 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9648, allocations: 0 / 0.8556 GB, free: 8.754 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0009094/0.9657, allocations: 344.1 kB / 0.8559 GB, free: 8.438 MB / 0.5417 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.000336/0.966, allocations: 209.2 kB / 0.8561 GB, free: 8.242 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00106/0.9671, allocations: 0.6658 MB / 0.8567 GB, free: 7.789 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.9671, allocations: 4.062 kB / 0.8567 GB, free: 7.785 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005012/0.9676, allocations: 365.7 kB / 0.8571 GB, free: 7.535 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002478/0.9701, allocations: 0.5202 MB / 0.8576 GB, free: 7.117 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004259/0.9744, allocations: 2.678 MB / 0.8602 GB, free: 4.609 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006624/0.9751, allocations: 1.088 MB / 0.8613 GB, free: 3.527 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001061/0.9762, allocations: 223.2 kB / 0.8615 GB, free: 3.305 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002913/0.9765, allocations: 71.42 kB / 0.8616 GB, free: 3.234 MB / 0.5417 GB Notification: Performance of SimCode: time 8.62e-07/0.9765, allocations: 0 / 0.8616 GB, free: 3.234 MB / 0.5417 GB Notification: Performance of Templates: time 0.03372/1.01, allocations: 17.11 MB / 0.8783 GB, free: 2.328 MB / 0.5573 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)