Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.008684/0.008685, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7564/0.7564, allocations: 132.3 MB / 148.1 MB, free: 224 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.2 MB / 403.2 MB, free: 6.734 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.0009449/0.0009448, allocations: 90.95 kB / 485.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003598, allocations: 8 kB / 0.5641 GB, free: 2.117 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.49/0.4904, allocations: 81.59 MB / 0.6438 GB, free: 39.25 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.507/5.998, allocations: 2.147 GB / 2.791 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/5.998, allocations: 107.9 kB / 2.791 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.902/10.9, allocations: 1.25 GB / 4.041 GB, free: 67.21 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.268e-06/10.9, allocations: 0 / 4.041 GB, free: 67.21 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0006441/10.9, allocations: 89.5 kB / 4.041 GB, free: 67.2 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.01753/10.92, allocations: 4.312 MB / 4.045 GB, free: 65.09 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/10.92, allocations: 9.5 kB / 4.045 GB, free: 65.09 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004779/10.92, allocations: 0.5329 MB / 4.046 GB, free: 64.88 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0137/10.94, allocations: 3.434 MB / 4.049 GB, free: 64.27 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000226/10.94, allocations: 163.9 kB / 4.049 GB, free: 64.27 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007894/10.94, allocations: 226.8 kB / 4.05 GB, free: 64.27 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007585/10.94, allocations: 2.59 MB / 4.052 GB, free: 64 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.137e-05/10.95, allocations: 1.875 kB / 4.052 GB, free: 64 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003303/10.95, allocations: 92.62 kB / 4.052 GB, free: 64 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001122/10.95, allocations: 70.89 kB / 4.052 GB, free: 63.99 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005389/10.95, allocations: 2.022 MB / 4.054 GB, free: 63.98 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.025/10.98, allocations: 10.48 MB / 4.065 GB, free: 60.58 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003922/10.98, allocations: 1.554 MB / 4.066 GB, free: 60.54 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001308/10.98, allocations: 1.174 MB / 4.067 GB, free: 59.23 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/10.98, allocations: 52.81 kB / 4.067 GB, free: 59.19 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=126): time 6.372e-06/10.98, allocations: 0 / 4.067 GB, free: 59.19 MB / 0.7292 GB Notification: Performance of matching and sorting (n=134): time 0.01913/11, allocations: 6.795 MB / 4.074 GB, free: 57.09 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001641/11, allocations: 345.1 kB / 4.074 GB, free: 56.71 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007288/11.01, allocations: 3.083 MB / 4.077 GB, free: 56.48 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000463/11.01, allocations: 60.55 kB / 4.077 GB, free: 56.45 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001793/11.01, allocations: 1.472 MB / 4.079 GB, free: 56.08 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006475/11.01, allocations: 455.4 kB / 4.079 GB, free: 55.79 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/11.01, allocations: 34.06 kB / 4.079 GB, free: 55.79 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001526/11.01, allocations: 364.8 kB / 4.08 GB, free: 55.49 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001698/11.01, allocations: 1.077 MB / 4.081 GB, free: 55.48 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002024/11.02, allocations: 1.524 MB / 4.082 GB, free: 55.06 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.007516/11.02, allocations: 4.273 MB / 4.086 GB, free: 54.18 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/11.02, allocations: 1.375 kB / 4.086 GB, free: 54.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005247/11.03, allocations: 3.326 MB / 4.089 GB, free: 53.55 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007167/11.03, allocations: 2.944 MB / 4.092 GB, free: 50.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/11.03, allocations: 5.156 kB / 4.092 GB, free: 50.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005239/11.03, allocations: 152.9 kB / 4.093 GB, free: 50.49 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/11.03, allocations: 265.2 kB / 4.093 GB, free: 50.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008332/11.03, allocations: 1.285 MB / 4.094 GB, free: 49.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003058/11.03, allocations: 198.2 kB / 4.094 GB, free: 49.44 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002828/11.03, allocations: 81.14 kB / 4.094 GB, free: 49.44 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/11.03, allocations: 9.172 kB / 4.094 GB, free: 49.43 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00438/11.04, allocations: 3.419 MB / 4.098 GB, free: 49 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/11.04, allocations: 7.125 kB / 4.098 GB, free: 49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004265/11.04, allocations: 149.6 kB / 4.098 GB, free: 48.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/11.04, allocations: 263.7 kB / 4.098 GB, free: 48.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007927/11.04, allocations: 1.289 MB / 4.099 GB, free: 47.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00301/11.04, allocations: 191.9 kB / 4.099 GB, free: 47.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002423/11.04, allocations: 83.42 kB / 4.1 GB, free: 47.93 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.00237/11.05, allocations: 1.113 MB / 4.101 GB, free: 47.55 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009913/11.05, allocations: 325.3 kB / 4.101 GB, free: 47.39 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004497/11.05, allocations: 2.547 MB / 4.103 GB, free: 47.09 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/11.05, allocations: 15.52 kB / 4.103 GB, free: 47.09 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/11.05, allocations: 7.922 kB / 4.103 GB, free: 47.09 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002888/11.06, allocations: 2.296 MB / 4.106 GB, free: 46.62 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/11.07, allocations: 5.98 MB / 4.112 GB, free: 45.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/11.07, allocations: 7.594 kB / 4.112 GB, free: 45.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001179/11.07, allocations: 264.2 kB / 4.112 GB, free: 45.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-05/11.07, allocations: 17.42 kB / 4.112 GB, free: 45.85 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001295/11.07, allocations: 43.8 kB / 4.112 GB, free: 45.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.521e-05/11.07, allocations: 14.19 kB / 4.112 GB, free: 45.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/11.07, allocations: 9.031 kB / 4.112 GB, free: 45.85 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005965/11.08, allocations: 4.703 MB / 4.116 GB, free: 44.41 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00258/11.08, allocations: 0.7179 MB / 4.117 GB, free: 44.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001311/11.08, allocations: 39.75 kB / 4.117 GB, free: 44.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002908/11.08, allocations: 170.2 kB / 4.117 GB, free: 44.14 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003759/11.08, allocations: 163.7 kB / 4.118 GB, free: 44.13 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001929/11.08, allocations: 65.97 kB / 4.118 GB, free: 44.13 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.005891/11.09, allocations: 2.397 MB / 4.12 GB, free: 43.98 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.91e-07/11.09, allocations: 2.25 kB / 4.12 GB, free: 43.98 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.008418/11.1, allocations: 1.509 MB / 4.121 GB, free: 43.91 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.006422/11.1, allocations: 2.861 MB / 4.124 GB, free: 42.96 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.008057/11.11, allocations: 5.616 MB / 4.13 GB, free: 41.42 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/11.11, allocations: 0 / 4.13 GB, free: 41.42 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002413/11.11, allocations: 1.913 MB / 4.132 GB, free: 41.04 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008414/11.12, allocations: 1.6 MB / 4.133 GB, free: 41.02 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01572/11.14, allocations: 7.372 MB / 4.14 GB, free: 38.15 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003154/11.14, allocations: 2.151 MB / 4.142 GB, free: 37.39 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004473/11.15, allocations: 0.6466 MB / 4.143 GB, free: 37.31 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/11.15, allocations: 206.6 kB / 4.143 GB, free: 37.31 MB / 0.7292 GB Notification: Performance of SimCode: time 1.332e-06/11.15, allocations: 3.281 kB / 4.143 GB, free: 37.31 MB / 0.7292 GB Notification: Performance of Templates: time 0.1428/11.29, allocations: 89.79 MB / 4.231 GB, free: 20.57 MB / 0.7292 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)