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.552/0.552, allocations: 95.62 MB / 110.6 MB, free: 9.371 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.001175/0.001175, allocations: 169.9 kB / 134.2 MB, free: 2.266 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.521/1.521, allocations: 170.7 MB / 328.4 MB, free: 12.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.001585/0.001585, allocations: 115.3 kB / 390.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003977/0.0003977, allocations: 16 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1364, allocations: 61.52 MB / 0.512 GB, free: 6.094 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.083/1.219, allocations: 411.9 MB / 0.9142 GB, free: 0.7969 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/1.22, allocations: 98.38 kB / 0.9143 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.228/3.447, allocations: 0.5377 GB / 1.452 GB, free: 83.64 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.064e-06/3.447, allocations: 0.9375 kB / 1.452 GB, free: 83.64 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004578/3.448, allocations: 92.06 kB / 1.452 GB, free: 83.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.01183/3.46, allocations: 3.68 MB / 1.456 GB, free: 81.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/3.46, allocations: 15.58 kB / 1.456 GB, free: 81.82 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008653/3.468, allocations: 1.332 MB / 1.457 GB, free: 81.62 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03811/3.506, allocations: 16.93 MB / 1.474 GB, free: 72.39 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002341/3.507, allocations: 205 kB / 1.474 GB, free: 72.29 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001178/3.508, allocations: 272.4 kB / 1.474 GB, free: 72.21 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007473/3.515, allocations: 3.873 MB / 1.478 GB, free: 69.09 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.664e-05/3.515, allocations: 7.938 kB / 1.478 GB, free: 69.08 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004138/3.516, allocations: 112 kB / 1.478 GB, free: 68.97 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.632e-05/3.516, allocations: 113 kB / 1.478 GB, free: 68.86 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005633/3.522, allocations: 3.184 MB / 1.481 GB, free: 65.66 MB / 0.5261 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.02574/3.547, allocations: 14.75 MB / 1.496 GB, free: 50.56 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004213/3.552, allocations: 2.564 MB / 1.498 GB, free: 48 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01263/3.564, allocations: 4.611 MB / 1.503 GB, free: 43.31 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.177e-05/3.564, allocations: 60.7 kB / 1.503 GB, free: 43.25 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=181): time 5.861e-06/3.564, allocations: 0 / 1.503 GB, free: 43.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=197): time 0.02599/3.59, allocations: 9.817 MB / 1.512 GB, free: 33.31 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/3.591, allocations: 124.8 kB / 1.512 GB, free: 33.16 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003524/3.594, allocations: 2.404 MB / 1.515 GB, free: 30.75 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004583/3.595, allocations: 69.7 kB / 1.515 GB, free: 30.67 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001036/3.596, allocations: 1.442 MB / 1.516 GB, free: 29.22 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006056/3.596, allocations: 0.6691 MB / 1.517 GB, free: 28.56 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/3.596, allocations: 59.88 kB / 1.517 GB, free: 28.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001904/3.597, allocations: 411.2 kB / 1.517 GB, free: 28.09 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002118/3.599, allocations: 1.309 MB / 1.518 GB, free: 26.78 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002424/3.601, allocations: 2.035 MB / 1.52 GB, free: 24.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002299/3.603, allocations: 1.651 MB / 1.522 GB, free: 22.78 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.395e-06/3.604, allocations: 4 kB / 1.522 GB, free: 22.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01013/3.614, allocations: 5.405 MB / 1.527 GB, free: 17.24 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001604/3.615, allocations: 7.896 MB / 1.535 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/3.615, allocations: 16 kB / 1.535 GB, free: 8.559 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008866/3.624, allocations: 2.241 MB / 1.537 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002827/3.627, allocations: 0.5928 MB / 1.538 GB, free: 5.727 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/3.641, allocations: 14.12 MB / 1.552 GB, free: 6.828 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00461/3.645, allocations: 310.9 kB / 1.552 GB, free: 6.523 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004498/3.646, allocations: 127.9 kB / 1.552 GB, free: 6.398 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/3.646, allocations: 4.781 kB / 1.552 GB, free: 6.395 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01112/3.657, allocations: 5.145 MB / 1.557 GB, free: 1.129 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-05/3.657, allocations: 20 kB / 1.557 GB, free: 1.109 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.453/4.11, allocations: 2.31 MB / 1.559 GB, free: 91.42 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003459/4.114, allocations: 0.5435 MB / 1.56 GB, free: 91.42 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01714/4.131, allocations: 12.94 MB / 1.573 GB, free: 83.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004658/4.136, allocations: 267 kB / 1.573 GB, free: 83.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005826/4.136, allocations: 127.8 kB / 1.573 GB, free: 83.3 MB / 0.5417 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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 () * Number of clocked 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.003897/4.14, allocations: 1.34 MB / 1.574 GB, free: 83.1 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00129/4.141, allocations: 281.7 kB / 1.574 GB, free: 83.1 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006774/4.148, allocations: 3.895 MB / 1.578 GB, free: 82.46 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/4.148, allocations: 19.78 kB / 1.578 GB, free: 82.46 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/4.148, allocations: 7.594 kB / 1.578 GB, free: 82.46 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.147e-05/4.148, allocations: 11.17 kB / 1.578 GB, free: 82.46 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01567/4.164, allocations: 7.072 MB / 1.585 GB, free: 81.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/4.164, allocations: 1.156 kB / 1.585 GB, free: 81.53 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00246/4.167, allocations: 449.8 kB / 1.586 GB, free: 81.53 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003842/4.17, allocations: 1.022 MB / 1.587 GB, free: 81.47 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002547/4.171, allocations: 60.36 kB / 1.587 GB, free: 81.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01057/4.181, allocations: 11.85 MB / 1.598 GB, free: 73.16 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/4.181, allocations: 0 / 1.598 GB, free: 73.16 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009871/4.191, allocations: 5.36 MB / 1.604 GB, free: 72.39 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002185/4.193, allocations: 401.4 kB / 1.604 GB, free: 72.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004184/4.194, allocations: 42.94 kB / 1.604 GB, free: 72.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001903/4.196, allocations: 186.2 kB / 1.604 GB, free: 72.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003591/4.196, allocations: 124.9 kB / 1.604 GB, free: 72.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002138/4.196, allocations: 88.39 kB / 1.604 GB, free: 72.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.003206/4.2, allocations: 1.834 MB / 1.606 GB, free: 72.05 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.21e-07/4.2, allocations: 0 / 1.606 GB, free: 72.05 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007216/4.207, allocations: 1.676 MB / 1.608 GB, free: 72.05 MB / 0.5417 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 () * Number of clocked 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.001709/4.209, allocations: 0.6282 MB / 1.608 GB, free: 71.93 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01818/4.227, allocations: 7.239 MB / 1.615 GB, free: 70.71 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/4.227, allocations: 0.5625 kB / 1.615 GB, free: 70.71 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00392/4.231, allocations: 2.117 MB / 1.618 GB, free: 70.12 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00802/4.239, allocations: 1.585 MB / 1.619 GB, free: 70.09 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/4.253, allocations: 8.198 MB / 1.627 GB, free: 67.27 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00235/4.256, allocations: 2.632 MB / 1.63 GB, free: 66.51 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005106/4.261, allocations: 1.299 MB / 1.631 GB, free: 66.48 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006702/4.261, allocations: 223.3 kB / 1.631 GB, free: 66.47 MB / 0.5417 GB Notification: Performance of SimCode: time 1.874e-06/4.261, allocations: 0 / 1.631 GB, free: 66.47 MB / 0.5417 GB Notification: Performance of Templates: time 0.1267/4.388, allocations: 81.48 MB / 1.711 GB, free: 35.28 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)