Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2") translateModel(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5709/0.5709, allocations: 94.78 MB / 102.3 MB, free: 10.15 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001493/0.001493, allocations: 176.2 kB / 125.6 MB, free: 11.89 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.622/1.622, allocations: 170.6 MB / 319.4 MB, free: 9.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001741/0.001741, allocations: 101.2 kB / 381.3 MB, free: 18.29 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.875e-05/2.874e-05, allocations: 4 kB / 449.1 MB, free: 1.734 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1821, allocations: 61.52 MB / 0.4987 GB, free: 4.121 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.649/1.831, allocations: 411.1 MB / 0.9002 GB, free: 178.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/1.831, allocations: 90.62 kB / 0.9003 GB, free: 178.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.131/3.963, allocations: 0.5331 GB / 1.433 GB, free: 80.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.647e-06/3.963, allocations: 2.969 kB / 1.433 GB, free: 80.32 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0005572/3.964, allocations: 103.7 kB / 1.433 GB, free: 80.29 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 672 * Number of variables: 672 Notification: Performance of Generate backend data structure: time 0.01278/3.976, allocations: 3.109 MB / 1.436 GB, free: 78.28 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/3.976, allocations: 7.312 kB / 1.436 GB, free: 78.28 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00967/3.986, allocations: 1.327 MB / 1.438 GB, free: 77.82 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04461/4.031, allocations: 16.75 MB / 1.454 GB, free: 68.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003623/4.031, allocations: 86.27 kB / 1.454 GB, free: 68.15 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002274/4.033, allocations: 163.9 kB / 1.454 GB, free: 68.15 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009376/4.043, allocations: 3.017 MB / 1.457 GB, free: 66.69 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008061/4.051, allocations: 3.425 MB / 1.461 GB, free: 64.69 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.42e-05/4.051, allocations: 7.031 kB / 1.461 GB, free: 64.69 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004305/4.052, allocations: 6.906 kB / 1.461 GB, free: 64.69 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000147/4.052, allocations: 110.4 kB / 1.461 GB, free: 64.67 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.0278/4.08, allocations: 14.23 MB / 1.475 GB, free: 50.85 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003731/4.083, allocations: 2.616 MB / 1.477 GB, free: 48.24 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00153/4.085, allocations: 1.36 MB / 1.479 GB, free: 46.89 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01133/4.096, allocations: 4.502 MB / 1.483 GB, free: 42.31 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.202e-05/4.096, allocations: 64.69 kB / 1.483 GB, free: 42.24 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=181): time 5.771e-06/4.096, allocations: 0 / 1.483 GB, free: 42.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=197): time 0.01548/4.112, allocations: 6.835 MB / 1.49 GB, free: 35.29 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/4.112, allocations: 124.8 kB / 1.49 GB, free: 35.14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003358/4.115, allocations: 2.089 MB / 1.492 GB, free: 33.03 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003405/4.116, allocations: 29.7 kB / 1.492 GB, free: 33 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00101/4.117, allocations: 1.447 MB / 1.493 GB, free: 31.53 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006017/4.117, allocations: 0.6506 MB / 1.494 GB, free: 30.87 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/4.118, allocations: 0 / 1.494 GB, free: 30.87 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001627/4.118, allocations: 415.1 kB / 1.494 GB, free: 30.46 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/4.119, allocations: 1.254 MB / 1.496 GB, free: 29.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00192/4.121, allocations: 1.966 MB / 1.497 GB, free: 26.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002868/4.124, allocations: 1.642 MB / 1.499 GB, free: 25.29 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/4.124, allocations: 8 kB / 1.499 GB, free: 25.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01144/4.136, allocations: 5.178 MB / 1.504 GB, free: 19.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.003693/4.139, allocations: 7.83 MB / 1.512 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.879e-05/4.139, allocations: 20 kB / 1.512 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007858/4.147, allocations: 1.93 MB / 1.514 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003321/4.151, allocations: 0.5928 MB / 1.514 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5394/4.69, allocations: 13.76 MB / 1.528 GB, free: 70.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005359/4.696, allocations: 252.6 kB / 1.528 GB, free: 70.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006664/4.696, allocations: 131 kB / 1.528 GB, free: 70.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/4.696, allocations: 7.312 kB / 1.528 GB, free: 70.2 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01082/4.707, allocations: 4.65 MB / 1.533 GB, free: 69.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.53e-05/4.707, allocations: 21.17 kB / 1.533 GB, free: 69.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008206/4.715, allocations: 2.051 MB / 1.535 GB, free: 69.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002991/4.718, allocations: 0.5439 MB / 1.535 GB, free: 69.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01393/4.732, allocations: 12.44 MB / 1.547 GB, free: 61.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005523/4.738, allocations: 223.9 kB / 1.548 GB, free: 61.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007328/4.739, allocations: 124.1 kB / 1.548 GB, free: 61.68 MB / 0.5261 GB Warning: Assuming fixed start value for the following 5 variables: rad1.vol[5].dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = rad1.vol[5].dynBal.T_start unit = "K" nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real [5] rad1.vol[4].dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = rad1.vol[4].dynBal.T_start unit = "K" nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real [5] rad1.vol[3].dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = rad1.vol[3].dynBal.T_start unit = "K" nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real [5] rad1.vol[2].dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = rad1.vol[2].dynBal.T_start unit = "K" nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real [5] rad1.vol[1].dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = rad1.vol[1].dynBal.T_start unit = "K" nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real [5] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 85 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (218): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 3 {5 16,5 40,5 16} Notification: Performance of prepare postOptimizeDAE: time 0.001771/4.741, allocations: 222.2 kB / 1.548 GB, free: 61.57 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001989/4.743, allocations: 269.5 kB / 1.548 GB, free: 61.57 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008549/4.751, allocations: 3.661 MB / 1.552 GB, free: 60.93 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.553e-05/4.751, allocations: 25.56 kB / 1.552 GB, free: 60.93 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/4.751, allocations: 2.969 kB / 1.552 GB, free: 60.93 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-05/4.751, allocations: 16.27 kB / 1.552 GB, free: 60.92 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01395/4.765, allocations: 6.526 MB / 1.558 GB, free: 60.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/4.765, allocations: 3.312 kB / 1.558 GB, free: 60.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002243/4.767, allocations: 446.8 kB / 1.559 GB, free: 60.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002185/4.77, allocations: 0.906 MB / 1.559 GB, free: 59.98 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001528/4.77, allocations: 26.03 kB / 1.559 GB, free: 59.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01069/4.781, allocations: 11.45 MB / 1.571 GB, free: 51.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/4.781, allocations: 0 / 1.571 GB, free: 51.98 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01095/4.792, allocations: 5.112 MB / 1.576 GB, free: 51.09 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002185/4.794, allocations: 379.6 kB / 1.576 GB, free: 50.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001274/4.795, allocations: 7.031 kB / 1.576 GB, free: 50.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002894/4.798, allocations: 148.7 kB / 1.576 GB, free: 50.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000368/4.798, allocations: 139 kB / 1.576 GB, free: 50.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002688/4.799, allocations: 84.73 kB / 1.576 GB, free: 50.85 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003387/4.802, allocations: 1.568 MB / 1.578 GB, free: 50.71 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/4.802, allocations: 0 / 1.578 GB, free: 50.71 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01215/4.814, allocations: 1.534 MB / 1.579 GB, free: 50.71 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (rad1.vol[1].dynBal.medium.T,rad1.vol[2].dynBal.medium.T,rad1.vol[3].dynBal.medium.T,rad1.vol[4].dynBal.medium.T,rad1.vol[5].dynBal.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (138): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 1 {5 50} Notification: Performance of Backend phase and start with SimCode phase: time 0.00219/4.817, allocations: 0.5941 MB / 1.58 GB, free: 50.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01698/4.834, allocations: 6.598 MB / 1.586 GB, free: 49.46 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.907e-05/4.834, allocations: 2.594 kB / 1.586 GB, free: 49.45 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004529/4.838, allocations: 1.984 MB / 1.588 GB, free: 48.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01009/4.848, allocations: 1.518 MB / 1.59 GB, free: 48.89 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01418/4.862, allocations: 5.696 MB / 1.595 GB, free: 47.86 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005189/4.868, allocations: 2.638 MB / 1.598 GB, free: 63.1 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007318/4.875, allocations: 1.903 MB / 1.6 GB, free: 63.07 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005947/4.876, allocations: 160 kB / 1.6 GB, free: 63.06 MB / 0.5417 GB Notification: Performance of SimCode: time 1.754e-06/4.876, allocations: 2.125 kB / 1.6 GB, free: 63.06 MB / 0.5417 GB Notification: Performance of Templates: time 0.1368/5.013, allocations: 78.2 MB / 1.676 GB, free: 39.22 MB / 0.5417 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)