Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007437/0.007437, allocations: 170.6 kB / 15.11 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7564/0.7564, allocations: 135.2 MB / 151.1 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 223.2 MB / 406.9 MB, free: 3.223 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008911/0.000891, allocations: 90.78 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003392, allocations: 8 kB / 0.5691 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4215, allocations: 82.32 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.44/5.862, allocations: 2.147 GB / 2.797 GB, free: 42.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004375/5.862, allocations: 106.8 kB / 2.797 GB, free: 42.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.859/10.72, allocations: 1.25 GB / 4.047 GB, free: 71.16 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.204e-06/10.72, allocations: 0 / 4.047 GB, free: 71.16 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004068/10.72, allocations: 91.41 kB / 4.047 GB, free: 71.15 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.0112/10.73, allocations: 4.314 MB / 4.051 GB, free: 68.82 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/10.73, allocations: 7.469 kB / 4.051 GB, free: 68.82 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003014/10.74, allocations: 0.5416 MB / 4.052 GB, free: 68.61 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008113/10.74, allocations: 3.426 MB / 4.055 GB, free: 68 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/10.74, allocations: 167 kB / 4.055 GB, free: 68 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004287/10.74, allocations: 221 kB / 4.056 GB, free: 68 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004367/10.75, allocations: 2.578 MB / 4.058 GB, free: 67.73 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.521e-05/10.75, allocations: 4.875 kB / 4.058 GB, free: 67.73 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001973/10.75, allocations: 87.31 kB / 4.058 GB, free: 67.73 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.51e-05/10.75, allocations: 74.27 kB / 4.058 GB, free: 67.73 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003204/10.75, allocations: 2.025 MB / 4.06 GB, free: 67.71 MB / 0.7292 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.01517/10.77, allocations: 10.5 MB / 4.07 GB, free: 64.31 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002206/10.77, allocations: 1.544 MB / 4.072 GB, free: 64.27 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008678/10.77, allocations: 1.184 MB / 4.073 GB, free: 62.95 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/10.77, allocations: 52.91 kB / 4.073 GB, free: 62.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=126): time 4.729e-06/10.77, allocations: 0 / 4.073 GB, free: 62.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=134): time 0.0116/10.78, allocations: 6.792 MB / 4.08 GB, free: 60.82 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/10.78, allocations: 341.5 kB / 4.08 GB, free: 60.44 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005273/10.79, allocations: 3.091 MB / 4.083 GB, free: 60.21 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0005305/10.79, allocations: 55.98 kB / 4.083 GB, free: 60.18 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001243/10.79, allocations: 1.468 MB / 4.085 GB, free: 59.81 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006184/10.79, allocations: 466 kB / 4.085 GB, free: 59.52 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.762e-05/10.79, allocations: 29.09 kB / 4.085 GB, free: 59.52 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000115/10.79, allocations: 365 kB / 4.085 GB, free: 59.22 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001545/10.79, allocations: 1.077 MB / 4.087 GB, free: 59.21 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001729/10.79, allocations: 1.525 MB / 4.088 GB, free: 58.79 MB / 0.7292 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.006998/10.8, allocations: 4.275 MB / 4.092 GB, free: 57.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/10.8, allocations: 5.406 kB / 4.092 GB, free: 57.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004931/10.81, allocations: 3.325 MB / 4.095 GB, free: 57.27 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006216/10.81, allocations: 2.937 MB / 4.098 GB, free: 54.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/10.81, allocations: 7.531 kB / 4.098 GB, free: 54.22 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004666/10.81, allocations: 151.6 kB / 4.098 GB, free: 54.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/10.81, allocations: 263.8 kB / 4.099 GB, free: 54.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007601/10.81, allocations: 1.291 MB / 4.1 GB, free: 53.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00289/10.81, allocations: 185.5 kB / 4.1 GB, free: 53.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002893/10.81, allocations: 92.55 kB / 4.1 GB, free: 53.15 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/10.81, allocations: 3.688 kB / 4.1 GB, free: 53.15 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004283/10.82, allocations: 3.406 MB / 4.104 GB, free: 52.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/10.82, allocations: 8.25 kB / 4.104 GB, free: 52.72 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004099/10.82, allocations: 153.4 kB / 4.104 GB, free: 52.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009933/10.82, allocations: 260.3 kB / 4.104 GB, free: 52.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007445/10.82, allocations: 1.297 MB / 4.105 GB, free: 51.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003216/10.82, allocations: 191.3 kB / 4.105 GB, free: 51.65 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002053/10.82, allocations: 81.84 kB / 4.106 GB, free: 51.65 MB / 0.7292 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: 26 * Number of states: 0 () * Number of discrete variables: 8 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,conCoo.I.trigger_internal,conHea.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.002496/10.82, allocations: 1.122 MB / 4.107 GB, free: 50.94 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009639/10.83, allocations: 323.5 kB / 4.107 GB, free: 50.77 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00398/10.83, allocations: 2.553 MB / 4.109 GB, free: 49.6 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/10.83, allocations: 17.16 kB / 4.109 GB, free: 49.6 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/10.83, allocations: 3.953 kB / 4.109 GB, free: 49.59 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00261/10.83, allocations: 2.293 MB / 4.112 GB, free: 48.41 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01001/10.84, allocations: 5.991 MB / 4.118 GB, free: 45.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/10.84, allocations: 4.562 kB / 4.118 GB, free: 45.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/10.84, allocations: 267.6 kB / 4.118 GB, free: 45.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.545e-05/10.84, allocations: 14.8 kB / 4.118 GB, free: 45.48 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/10.84, allocations: 46.91 kB / 4.118 GB, free: 45.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-05/10.84, allocations: 14.75 kB / 4.118 GB, free: 45.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.962e-06/10.84, allocations: 7.844 kB / 4.118 GB, free: 45.45 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005449/10.85, allocations: 4.701 MB / 4.122 GB, free: 42.67 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002264/10.85, allocations: 0.7086 MB / 4.123 GB, free: 42.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001015/10.85, allocations: 48.45 kB / 4.123 GB, free: 42.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002456/10.85, allocations: 165.4 kB / 4.123 GB, free: 42.13 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000351/10.86, allocations: 167.8 kB / 4.124 GB, free: 42.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001738/10.86, allocations: 58.12 kB / 4.124 GB, free: 42.07 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.005608/10.86, allocations: 2.395 MB / 4.126 GB, free: 41.12 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.51e-07/10.86, allocations: 2.438 kB / 4.126 GB, free: 41.12 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.007496/10.87, allocations: 1.512 MB / 4.127 GB, free: 40.85 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 6 (conHea.I.y,vol.dynBal.U,vol.dynBal.mXi[1],conCoo.I.y,beaCooHea.conCoo.hex.vol.dynBal.U,beaCooHea.conHea.hex.vol.dynBal.U) * Number of discrete variables: 6 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i) * Number of discrete states: 6 (beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * 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.005144/10.87, allocations: 2.87 MB / 4.13 GB, free: 39.65 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00736/10.88, allocations: 5.61 MB / 4.136 GB, free: 36.48 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/10.88, allocations: 0 / 4.136 GB, free: 36.48 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00236/10.88, allocations: 1.913 MB / 4.138 GB, free: 35.43 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008624/10.89, allocations: 1.594 MB / 4.139 GB, free: 35.09 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/10.91, allocations: 7.371 MB / 4.146 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002954/10.91, allocations: 2.153 MB / 4.148 GB, free: 30.1 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003461/10.91, allocations: 0.6437 MB / 4.149 GB, free: 30.01 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006223/10.91, allocations: 212 kB / 4.149 GB, free: 30 MB / 0.7292 GB Notification: Performance of SimCode: time 8.52e-07/10.91, allocations: 3.828 kB / 4.149 GB, free: 30 MB / 0.7292 GB Notification: Performance of Templates: time 0.596/11.51, allocations: 89.78 MB / 4.237 GB, free: 84.73 MB / 0.7448 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)