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.5364/0.5364, allocations: 94.69 MB / 107.3 MB, free: 5.18 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.001211/0.001211, allocations: 182.6 kB / 130.7 MB, free: 7.543 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.565/1.565, allocations: 170.5 MB / 324.5 MB, free: 3.992 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.001574/0.001574, allocations: 115.5 kB / 386.6 MB, free: 16.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.02e-05/5.031e-05, allocations: 4 kB / 456 MB, free: 11.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5552/0.5552, allocations: 61.51 MB / 0.5054 GB, free: 49.47 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.457/2.013, allocations: 411.8 MB / 0.9075 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/2.013, allocations: 97.12 kB / 0.9076 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.156/4.169, allocations: 0.5368 GB / 1.444 GB, free: 58.72 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.627e-06/4.169, allocations: 0 / 1.444 GB, free: 58.72 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0006572/4.17, allocations: 95.8 kB / 1.444 GB, free: 58.63 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.01365/4.183, allocations: 3.124 MB / 1.448 GB, free: 55.45 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.998e-05/4.183, allocations: 8.031 kB / 1.448 GB, free: 55.44 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/4.194, allocations: 1.326 MB / 1.449 GB, free: 54.11 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03952/4.233, allocations: 16.82 MB / 1.465 GB, free: 37.21 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002779/4.234, allocations: 205.1 kB / 1.465 GB, free: 37 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001757/4.235, allocations: 271.9 kB / 1.466 GB, free: 36.74 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009103/4.244, allocations: 3.819 MB / 1.469 GB, free: 32.78 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.354e-05/4.245, allocations: 7.938 kB / 1.469 GB, free: 32.77 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006443/4.245, allocations: 112 kB / 1.47 GB, free: 32.66 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000117/4.245, allocations: 109 kB / 1.47 GB, free: 32.55 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006511/4.252, allocations: 3.104 MB / 1.473 GB, free: 29.44 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.0279/4.28, allocations: 14.73 MB / 1.487 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00423/4.284, allocations: 2.525 MB / 1.49 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001623/4.286, allocations: 1.347 MB / 1.491 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01231/4.298, allocations: 4.628 MB / 1.495 GB, free: 5.543 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.098e-05/4.298, allocations: 56.75 kB / 1.495 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=181): time 5.249e-06/4.298, allocations: 0 / 1.495 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=197): time 0.5467/4.845, allocations: 7.484 MB / 1.503 GB, free: 72.88 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/4.845, allocations: 127.1 kB / 1.503 GB, free: 72.75 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005474/4.851, allocations: 2.371 MB / 1.505 GB, free: 72.54 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001085/4.852, allocations: 73.45 kB / 1.505 GB, free: 72.51 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001723/4.854, allocations: 1.438 MB / 1.507 GB, free: 72.41 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001295/4.855, allocations: 0.6747 MB / 1.507 GB, free: 72.11 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/4.855, allocations: 52.34 kB / 1.507 GB, free: 72.11 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003139/4.855, allocations: 413.1 kB / 1.508 GB, free: 71.81 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002906/4.858, allocations: 1.235 MB / 1.509 GB, free: 71.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003561/4.862, allocations: 1.962 MB / 1.511 GB, free: 70.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003417/4.865, allocations: 1.594 MB / 1.512 GB, free: 70.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.362e-05/4.865, allocations: 8.188 kB / 1.512 GB, free: 70.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.015/4.88, allocations: 5.228 MB / 1.518 GB, free: 70.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002843/4.883, allocations: 7.889 MB / 1.525 GB, free: 61.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000107/4.883, allocations: 24.25 kB / 1.525 GB, free: 61.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01037/4.894, allocations: 2.145 MB / 1.527 GB, free: 61.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003595/4.897, allocations: 0.6003 MB / 1.528 GB, free: 61.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01604/4.914, allocations: 13.89 MB / 1.542 GB, free: 52.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005684/4.919, allocations: 305.2 kB / 1.542 GB, free: 52.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001326/4.921, allocations: 132.5 kB / 1.542 GB, free: 52.29 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/4.921, allocations: 5.031 kB / 1.542 GB, free: 52.29 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01466/4.935, allocations: 4.975 MB / 1.547 GB, free: 51.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001013/4.936, allocations: 18.91 kB / 1.547 GB, free: 51.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01004/4.946, allocations: 2.21 MB / 1.549 GB, free: 51.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003021/4.949, allocations: 0.5373 MB / 1.55 GB, free: 51.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01658/4.965, allocations: 12.7 MB / 1.562 GB, free: 43.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005074/4.97, allocations: 273.7 kB / 1.562 GB, free: 43.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009226/4.971, allocations: 123.1 kB / 1.562 GB, free: 43.36 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 {3 18,5 40,4 17} Notification: Performance of prepare postOptimizeDAE: time 0.001462/4.973, allocations: 321.9 kB / 1.563 GB, free: 43.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001456/4.974, allocations: 276 kB / 1.563 GB, free: 43.11 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007095/4.981, allocations: 3.849 MB / 1.567 GB, free: 42.44 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.135e-05/4.982, allocations: 20.81 kB / 1.567 GB, free: 42.44 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/4.982, allocations: 4.719 kB / 1.567 GB, free: 42.44 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.502e-05/4.982, allocations: 12.98 kB / 1.567 GB, free: 42.44 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01689/4.998, allocations: 7.01 MB / 1.574 GB, free: 41.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/4.999, allocations: 2.188 kB / 1.574 GB, free: 41.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002542/5.001, allocations: 447.8 kB / 1.574 GB, free: 41.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003377/5.005, allocations: 1.026 MB / 1.575 GB, free: 41.44 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002632/5.005, allocations: 53.94 kB / 1.575 GB, free: 41.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01105/5.016, allocations: 11.72 MB / 1.586 GB, free: 33.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/5.016, allocations: 3.672 kB / 1.586 GB, free: 33.06 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009488/5.025, allocations: 5.271 MB / 1.592 GB, free: 32.15 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002177/5.028, allocations: 403.5 kB / 1.592 GB, free: 31.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004977/5.028, allocations: 52.59 kB / 1.592 GB, free: 31.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002018/5.03, allocations: 176.8 kB / 1.592 GB, free: 31.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003956/5.031, allocations: 138.2 kB / 1.592 GB, free: 31.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002101/5.031, allocations: 87.12 kB / 1.592 GB, free: 31.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0035/5.034, allocations: 1.812 MB / 1.594 GB, free: 31.74 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.252e-06/5.034, allocations: 3.844 kB / 1.594 GB, free: 31.74 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008813/5.043, allocations: 1.681 MB / 1.596 GB, free: 31.74 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.001714/5.045, allocations: 0.6159 MB / 1.596 GB, free: 31.63 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01844/5.063, allocations: 7.124 MB / 1.603 GB, free: 30.41 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-05/5.063, allocations: 4.344 kB / 1.603 GB, free: 30.41 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004366/5.068, allocations: 2.068 MB / 1.605 GB, free: 29.83 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01035/5.078, allocations: 1.594 MB / 1.607 GB, free: 29.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01287/5.091, allocations: 5.846 MB / 1.613 GB, free: 28.76 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002402/5.094, allocations: 2.631 MB / 1.615 GB, free: 27.99 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007752/5.101, allocations: 2 MB / 1.617 GB, free: 27.96 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007039/5.102, allocations: 162.8 kB / 1.617 GB, free: 27.95 MB / 0.5261 GB Notification: Performance of SimCode: time 3.497e-06/5.102, allocations: 1.938 kB / 1.617 GB, free: 27.95 MB / 0.5261 GB Notification: Performance of Templates: time 0.1521/5.254, allocations: 86.51 MB / 1.702 GB, free: 12.73 MB / 0.5573 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)