Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation") translateModel(IBPSA.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001369/0.001369, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 207.3 kB / 16.79 MB, free: 6.84 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.396/1.396, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7163/0.7163, allocations: 122.9 MB / 413.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 64.95 kB / 0.4904 GB, free: 14.44 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1994, allocations: 77.94 MB / 0.5665 GB, free: 0.707 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.6595/0.859, allocations: 199.7 MB / 0.7615 GB, free: 196 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01542/0.8744, allocations: 7.474 MB / 0.7688 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003122/0.8776, allocations: 31.81 kB / 0.7689 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00313/0.8808, allocations: 0.6065 MB / 0.7695 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01009/0.891, allocations: 2.268 MB / 0.7717 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005028/0.896, allocations: 1.12 MB / 0.7728 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00643/0.9025, allocations: 4.162 MB / 0.7768 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001888/0.9044, allocations: 0.813 MB / 0.7776 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002641/0.9071, allocations: 0.8753 MB / 0.7785 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003888/0.911, allocations: 1.001 MB / 0.7795 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005537/0.9115, allocations: 56 kB / 0.7795 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008216/0.9198, allocations: 2.494 MB / 0.782 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00133/0.9211, allocations: 402.7 kB / 0.7823 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002523/0.9237, allocations: 0.6065 MB / 0.7829 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.008497/0.9322, allocations: 2.501 MB / 0.7854 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.9323, allocations: 4 kB / 0.7854 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9323, allocations: 0 / 0.7854 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.605e-05/0.9324, allocations: 0 / 0.7854 GB, free: 7.715 MB / 0.6075 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.006529/0.9389, allocations: 1.628 MB / 0.787 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.187e-05/0.939, allocations: 8.031 kB / 0.787 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003973/0.943, allocations: 378.2 kB / 0.7873 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002425/0.9454, allocations: 0.8084 MB / 0.7881 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.394e-05/0.9455, allocations: 69.86 kB / 0.7882 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003063/0.9459, allocations: 87.91 kB / 0.7883 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003058/0.9489, allocations: 1.046 MB / 0.7893 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.401e-05/0.949, allocations: 3.938 kB / 0.7893 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001474/0.9492, allocations: 40 kB / 0.7893 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.097e-05/0.9492, allocations: 41.98 kB / 0.7894 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002481/0.9517, allocations: 0.8783 MB / 0.7902 GB, free: 2.605 MB / 0.6075 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.007146/0.9589, allocations: 4.284 MB / 0.7944 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.9606, allocations: 0.6953 MB / 0.7951 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.9618, allocations: 462.8 kB / 0.7955 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008201/0.9626, allocations: 0.6732 MB / 0.7962 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.128e-05/0.9627, allocations: 43.12 kB / 0.7962 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 3.997e-06/0.9627, allocations: 0 / 0.7962 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.002897/0.9656, allocations: 0.9978 MB / 0.7972 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.9657, allocations: 63.97 kB / 0.7973 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.967, allocations: 0.6334 MB / 0.7979 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.475e-05/0.9671, allocations: 37.7 kB / 0.7979 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004162/0.9675, allocations: 432.1 kB / 0.7983 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003592/0.9679, allocations: 244.3 kB / 0.7986 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000294/0.9682, allocations: 118.2 kB / 0.7987 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002109/0.9684, allocations: 398.6 kB / 0.7991 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00068/0.9691, allocations: 277.2 kB / 0.7993 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007514/0.9699, allocations: 353.1 kB / 0.7997 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/0.9713, allocations: 0.6626 MB / 0.8003 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.9714, allocations: 0 / 0.8003 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001974/0.9734, allocations: 0.7929 MB / 0.8011 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.9734, allocations: 8 kB / 0.8011 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.9734, allocations: 6.375 kB / 0.8011 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/0.9735, allocations: 8 kB / 0.8011 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009164/0.9744, allocations: 143.8 kB / 0.8013 GB, free: 6.711 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.241e-05/0.9744, allocations: 4 kB / 0.8013 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.9759, allocations: 111.4 kB / 0.8014 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.334e-05/0.976, allocations: 20 kB / 0.8014 GB, free: 6.578 MB / 0.6231 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.0006376/0.9767, allocations: 293.6 kB / 0.8017 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003344/0.977, allocations: 86.97 kB / 0.8017 GB, free: 6.195 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001995/0.979, allocations: 0.792 MB / 0.8025 GB, free: 5.395 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.9791, allocations: 8 kB / 0.8025 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/0.9791, allocations: 0 / 0.8025 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001601/0.9807, allocations: 0.8191 MB / 0.8033 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004389/0.9851, allocations: 1.86 MB / 0.8051 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.9851, allocations: 0 / 0.8051 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/0.9863, allocations: 167.8 kB / 0.8053 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.985e-05/0.9864, allocations: 3.938 kB / 0.8053 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.538e-05/0.9864, allocations: 16 kB / 0.8053 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.9865, allocations: 0 / 0.8053 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.9865, allocations: 3.938 kB / 0.8053 GB, free: 2.414 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002728/0.9892, allocations: 1.205 MB / 0.8065 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007865/0.99, allocations: 251.7 kB / 0.8067 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000245/0.9903, allocations: 16 kB / 0.8068 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.9916, allocations: 71.84 kB / 0.8068 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/0.9917, allocations: 44.5 kB / 0.8069 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.488e-05/0.9918, allocations: 27.98 kB / 0.8069 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009215/0.9927, allocations: 459 kB / 0.8073 GB, free: 336 kB / 0.6231 GB Notification: Performance of sort global known variables: time 4.9e-07/0.9928, allocations: 0 / 0.8073 GB, free: 336 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001509/0.9943, allocations: 331.2 kB / 0.8076 GB, free: 4 kB / 0.6231 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.0005246/0.9948, allocations: 200.2 kB / 0.8078 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00174/0.9966, allocations: 0.6796 MB / 0.8085 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.9966, allocations: 0 / 0.8085 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008058/0.9974, allocations: 379 kB / 0.8089 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003589/1.001, allocations: 0.5137 MB / 0.8094 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004892/1.006, allocations: 2.556 MB / 0.8119 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008835/1.007, allocations: 1.092 MB / 0.8129 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001119/1.008, allocations: 231.3 kB / 0.8131 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/1.008, allocations: 75.42 kB / 0.8132 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of SimCode: time 1.233e-06/1.008, allocations: 0 / 0.8132 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of Templates: time 0.3342/1.343, allocations: 17.42 MB / 0.8302 GB, free: 222.4 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)