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.0008253/0.0008254, allocations: 91.84 kB / 15.7 MB, free: 472 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.0009257/0.0009258, allocations: 164.9 kB / 16.57 MB, free: 5.688 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.401/1.401, allocations: 223.3 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7278/0.7278, allocations: 115.5 MB / 407.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.000352, allocations: 9.125 kB / 495.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1769, allocations: 77.53 MB / 0.5593 GB, free: 9.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.5302/0.7071, allocations: 183.9 MB / 0.7389 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01195/0.7191, allocations: 6.919 MB / 0.7456 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001714/0.7208, allocations: 27.81 kB / 0.7456 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001809/0.7227, allocations: 473.1 kB / 0.7461 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005772/0.7285, allocations: 1.758 MB / 0.7478 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002865/0.7313, allocations: 0.8512 MB / 0.7486 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004791/0.7361, allocations: 3.491 MB / 0.7521 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.7373, allocations: 0.6772 MB / 0.7527 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00164/0.739, allocations: 0.8715 MB / 0.7536 GB, free: 284 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001347/0.7403, allocations: 0.9223 MB / 0.7545 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.7404, allocations: 48 kB / 0.7545 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003058/0.7435, allocations: 1.044 MB / 0.7555 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004411/0.744, allocations: 386.8 kB / 0.7559 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003745/0.7443, allocations: 265.1 kB / 0.7562 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.7464, allocations: 1.602 MB / 0.7577 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.7465, allocations: 0 / 0.7577 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.394e-06/0.7465, allocations: 0 / 0.7577 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.679e-05/0.7465, allocations: 0 / 0.7577 GB, free: 12.01 MB / 0.5762 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.002878/0.7494, allocations: 1.422 MB / 0.7591 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.7494, allocations: 8.031 kB / 0.7591 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002348/0.7518, allocations: 382.1 kB / 0.7595 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.753, allocations: 0.7933 MB / 0.7603 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.771e-05/0.7531, allocations: 70 kB / 0.7603 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.7533, allocations: 84 kB / 0.7604 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.7551, allocations: 1.033 MB / 0.7614 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.7551, allocations: 8 kB / 0.7614 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.593e-05/0.7552, allocations: 36 kB / 0.7615 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.875e-05/0.7553, allocations: 45.92 kB / 0.7615 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.7568, allocations: 0.8783 MB / 0.7624 GB, free: 7.137 MB / 0.5762 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.00507/0.7619, allocations: 4.3 MB / 0.7666 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.7631, allocations: 0.6828 MB / 0.7672 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007465/0.7639, allocations: 448.9 kB / 0.7676 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006119/0.7645, allocations: 0.681 MB / 0.7683 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.7645, allocations: 39.12 kB / 0.7683 GB, free: 484 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.254e-06/0.7645, allocations: 0 / 0.7683 GB, free: 484 kB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.001918/0.7665, allocations: 1.002 MB / 0.7693 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.7665, allocations: 59.97 kB / 0.7694 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007699/0.7673, allocations: 0.6295 MB / 0.77 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.408e-05/0.7674, allocations: 41.7 kB / 0.77 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003092/0.7677, allocations: 428.1 kB / 0.7704 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/0.7679, allocations: 260.2 kB / 0.7707 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.7679, allocations: 8 kB / 0.7707 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.7681, allocations: 386.8 kB / 0.7711 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004676/0.7686, allocations: 277.2 kB / 0.7713 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005227/0.7691, allocations: 357.1 kB / 0.7717 GB, free: 13 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000537/0.7697, allocations: 335.1 kB / 0.772 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.7697, allocations: 0 / 0.772 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001303/0.771, allocations: 0.7892 MB / 0.7728 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.771, allocations: 4 kB / 0.7728 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.771, allocations: 4 kB / 0.7728 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.7711, allocations: 4.188 kB / 0.7728 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006375/0.7717, allocations: 147.8 kB / 0.7729 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.7717, allocations: 4 kB / 0.7729 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008609/0.7726, allocations: 123.3 kB / 0.773 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.7727, allocations: 23.94 kB / 0.7731 GB, free: 11.57 MB / 0.5919 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.0004354/0.7731, allocations: 281.6 kB / 0.7733 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.7733, allocations: 86.97 kB / 0.7734 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/0.7748, allocations: 0.7998 MB / 0.7742 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.7748, allocations: 4 kB / 0.7742 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.7748, allocations: 3.953 kB / 0.7742 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00112/0.7759, allocations: 0.823 MB / 0.775 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002894/0.7788, allocations: 1.852 MB / 0.7768 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.7788, allocations: 0 / 0.7768 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008412/0.7797, allocations: 163.8 kB / 0.777 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.301e-05/0.7797, allocations: 4.859 kB / 0.777 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.935e-05/0.7798, allocations: 23.95 kB / 0.777 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.7798, allocations: 4 kB / 0.777 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.7798, allocations: 4 kB / 0.777 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.7816, allocations: 1.19 MB / 0.7782 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000433/0.782, allocations: 247.8 kB / 0.7784 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.7822, allocations: 12 kB / 0.7784 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007693/0.783, allocations: 88.77 kB / 0.7785 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.7831, allocations: 44.5 kB / 0.7785 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.966e-05/0.7831, allocations: 23.92 kB / 0.7786 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005985/0.7837, allocations: 451 kB / 0.779 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7838, allocations: 0 / 0.779 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009209/0.7847, allocations: 339.2 kB / 0.7793 GB, free: 5.004 MB / 0.5919 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 (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.0003549/0.7851, allocations: 203.6 kB / 0.7795 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001209/0.7863, allocations: 0.6759 MB / 0.7802 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.7863, allocations: 4.125 kB / 0.7802 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005512/0.7868, allocations: 367 kB / 0.7805 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0024/0.7893, allocations: 0.5196 MB / 0.781 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004702/0.794, allocations: 2.675 MB / 0.7836 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008139/0.7948, allocations: 1.092 MB / 0.7847 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001125/0.7959, allocations: 227.2 kB / 0.7849 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002846/0.7962, allocations: 75.42 kB / 0.785 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of SimCode: time 1.583e-06/0.7962, allocations: 0 / 0.785 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of Templates: time 0.0305/0.8267, allocations: 16.81 MB / 0.8014 GB, free: 14.57 MB / 0.6231 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)