Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 182.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5302/0.5302, allocations: 91.99 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.2 MB / 354.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000881/0.0008811, allocations: 100.2 kB / 427.4 MB, free: 3.906 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003353, allocations: 15.94 kB / 0.4982 GB, free: 42.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1422, allocations: 72.31 MB / 0.5689 GB, free: 1.938 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.599/5.741, allocations: 2.136 GB / 2.705 GB, free: 164.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/5.742, allocations: 106.6 kB / 2.705 GB, free: 164.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.598/9.34, allocations: 0.8862 GB / 3.591 GB, free: 60.96 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.254e-06/9.34, allocations: 0 / 3.591 GB, free: 60.96 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002598/9.34, allocations: 55.98 kB / 3.591 GB, free: 60.96 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.007645/9.348, allocations: 2.759 MB / 3.594 GB, free: 59.81 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/9.348, allocations: 10.38 kB / 3.594 GB, free: 59.81 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002219/9.35, allocations: 383 kB / 3.594 GB, free: 59.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005717/9.356, allocations: 2.065 MB / 3.596 GB, free: 59.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/9.356, allocations: 109.3 kB / 3.596 GB, free: 59.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003106/9.356, allocations: 136.5 kB / 3.596 GB, free: 59.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003693/9.36, allocations: 1.604 MB / 3.598 GB, free: 59.17 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.625e-05/9.36, allocations: 2.25 kB / 3.598 GB, free: 59.17 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/9.36, allocations: 54.41 kB / 3.598 GB, free: 59.17 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.512e-05/9.36, allocations: 48.19 kB / 3.598 GB, free: 59.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002438/9.363, allocations: 1.25 MB / 3.599 GB, free: 59.15 MB / 0.6355 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.009553/9.372, allocations: 6.469 MB / 3.606 GB, free: 57.01 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/9.374, allocations: 0.9157 MB / 3.607 GB, free: 56.98 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000584/9.374, allocations: 0.6808 MB / 3.607 GB, free: 56.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/9.375, allocations: 52.86 kB / 3.607 GB, free: 56.19 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=83): time 3.086e-06/9.375, allocations: 0 / 3.607 GB, free: 56.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85): time 0.006185/9.381, allocations: 3.921 MB / 3.611 GB, free: 54.95 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.97e-05/9.381, allocations: 198.9 kB / 3.611 GB, free: 54.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002938/9.384, allocations: 1.794 MB / 3.613 GB, free: 54.53 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001133/9.384, allocations: 49.33 kB / 3.613 GB, free: 54.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008349/9.385, allocations: 0.8839 MB / 3.614 GB, free: 54.24 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002677/9.385, allocations: 292.3 kB / 3.614 GB, free: 54.05 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-05/9.385, allocations: 22.5 kB / 3.614 GB, free: 54.05 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001093/9.385, allocations: 344 kB / 3.615 GB, free: 53.75 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/9.386, allocations: 0.6035 MB / 3.615 GB, free: 53.75 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/9.388, allocations: 0.8685 MB / 3.616 GB, free: 53.5 MB / 0.6355 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005174/9.393, allocations: 2.437 MB / 3.618 GB, free: 53.01 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/9.393, allocations: 1.062 kB / 3.618 GB, free: 53.01 MB / 0.6355 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003673/9.396, allocations: 1.848 MB / 3.62 GB, free: 52.67 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006084/9.397, allocations: 1.658 MB / 3.622 GB, free: 50.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/9.397, allocations: 6.719 kB / 3.622 GB, free: 50.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.087e-05/9.397, allocations: 7.094 kB / 3.622 GB, free: 50.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008697/9.398, allocations: 178.1 kB / 3.622 GB, free: 50.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.378e-05/9.398, allocations: 9.969 kB / 3.622 GB, free: 50.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/9.4, allocations: 128.9 kB / 3.622 GB, free: 50.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/9.4, allocations: 54.02 kB / 3.622 GB, free: 50.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/9.4, allocations: 4.094 kB / 3.622 GB, free: 50.89 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002735/9.403, allocations: 1.844 MB / 3.624 GB, free: 50.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/9.403, allocations: 4.703 kB / 3.624 GB, free: 50.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/9.403, allocations: 8.594 kB / 3.624 GB, free: 50.67 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006839/9.404, allocations: 183.8 kB / 3.624 GB, free: 50.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/9.404, allocations: 7.844 kB / 3.624 GB, free: 50.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/9.405, allocations: 124 kB / 3.624 GB, free: 50.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/9.406, allocations: 44.11 kB / 3.624 GB, free: 50.66 MB / 0.6355 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 6 * 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.001501/9.407, allocations: 0.7113 MB / 3.625 GB, free: 50.38 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003415/9.407, allocations: 201.7 kB / 3.625 GB, free: 50.28 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002494/9.41, allocations: 1.483 MB / 3.627 GB, free: 50.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/9.41, allocations: 8.875 kB / 3.627 GB, free: 50.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/9.41, allocations: 0 / 3.627 GB, free: 50.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001831/9.412, allocations: 1.562 MB / 3.628 GB, free: 49.55 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005719/9.417, allocations: 3.627 MB / 3.632 GB, free: 48.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-06/9.418, allocations: 2.625 kB / 3.632 GB, free: 48.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007375/9.418, allocations: 167 kB / 3.632 GB, free: 48.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.388e-05/9.418, allocations: 10.06 kB / 3.632 GB, free: 48.96 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.265e-05/9.418, allocations: 33.36 kB / 3.632 GB, free: 48.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.069e-05/9.418, allocations: 10.81 kB / 3.632 GB, free: 48.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/9.418, allocations: 6.531 kB / 3.632 GB, free: 48.96 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002999/9.421, allocations: 2.783 MB / 3.635 GB, free: 47.97 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/9.423, allocations: 456.7 kB / 3.635 GB, free: 47.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002449/9.423, allocations: 32.09 kB / 3.635 GB, free: 47.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/9.424, allocations: 102 kB / 3.635 GB, free: 47.77 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/9.424, allocations: 98.59 kB / 3.635 GB, free: 47.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-05/9.424, allocations: 38.48 kB / 3.635 GB, free: 47.77 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002098/9.426, allocations: 1.406 MB / 3.637 GB, free: 47.62 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.7e-07/9.426, allocations: 2.094 kB / 3.637 GB, free: 47.62 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003402/9.43, allocations: 1.008 MB / 3.638 GB, free: 47.57 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (conPID.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 2 * 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.00358/9.433, allocations: 2.274 MB / 3.64 GB, free: 46.93 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003717/9.437, allocations: 3.047 MB / 3.643 GB, free: 46.15 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/9.437, allocations: 3.844 kB / 3.643 GB, free: 46.15 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001218/9.438, allocations: 1.009 MB / 3.644 GB, free: 45.96 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005057/9.443, allocations: 0.9938 MB / 3.645 GB, free: 45.95 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006937/9.45, allocations: 4.491 MB / 3.649 GB, free: 44.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/9.451, allocations: 1.557 MB / 3.651 GB, free: 43.38 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002188/9.454, allocations: 436 kB / 3.651 GB, free: 43.36 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003696/9.454, allocations: 135.3 kB / 3.651 GB, free: 43.35 MB / 0.6355 GB Notification: Performance of SimCode: time 1.233e-06/9.454, allocations: 0 / 3.651 GB, free: 43.35 MB / 0.6355 GB Notification: Performance of Templates: time 0.08918/9.543, allocations: 59.56 MB / 3.71 GB, free: 40.43 MB / 0.6355 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)