Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008588/0.008588, allocations: 100.6 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 196.7 kB / 16.68 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.505/1.505, allocations: 251.7 MB / 0.5094 GB, free: 2.98 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 64.28 kB / 0.7257 GB, free: 9.027 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.249, allocations: 104.7 MB / 0.828 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004986/0.254, allocations: 3.718 MB / 0.8316 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004631/0.2587, allocations: 2.553 MB / 0.8341 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004385/0.2592, allocations: 11.94 kB / 0.8341 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008472/0.2601, allocations: 250.3 kB / 0.8344 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001135/0.2612, allocations: 0.4931 MB / 0.8349 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.2628, allocations: 0.5339 MB / 0.8354 GB, free: 8.621 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00172/0.2645, allocations: 1.382 MB / 0.8367 GB, free: 7.234 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002977/0.2648, allocations: 149.1 kB / 0.8369 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007093/0.2656, allocations: 446.5 kB / 0.8373 GB, free: 6.648 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006754/0.2662, allocations: 478.1 kB / 0.8378 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.199e-05/0.2663, allocations: 52 kB / 0.8378 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.2665, allocations: 56 kB / 0.8379 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003781/0.2669, allocations: 355 kB / 0.8382 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004448/0.2673, allocations: 457.6 kB / 0.8386 GB, free: 5.277 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009218/0.2682, allocations: 0.9146 MB / 0.8395 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2683, allocations: 0 / 0.8395 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2683, allocations: 0 / 0.8395 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.2683, allocations: 4 kB / 0.8395 GB, free: 4.355 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002398/0.2707, allocations: 1.245 MB / 0.8408 GB, free: 3.059 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.2707, allocations: 8.031 kB / 0.8408 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/0.2709, allocations: 103.7 kB / 0.8409 GB, free: 2.949 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.272, allocations: 0.6598 MB / 0.8415 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.061e-05/0.2721, allocations: 41.03 kB / 0.8415 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.801e-05/0.2722, allocations: 64.28 kB / 0.8416 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006703/0.2729, allocations: 398.9 kB / 0.842 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.2729, allocations: 0 / 0.842 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.93e-05/0.2729, allocations: 20 kB / 0.842 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.2729, allocations: 8 kB / 0.842 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004037/0.2734, allocations: 222.4 kB / 0.8422 GB, free: 1.477 MB / 0.6544 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.003178/0.2765, allocations: 2.494 MB / 0.8447 GB, free: 14.79 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.2779, allocations: 491.2 kB / 0.8451 GB, free: 14.3 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002624/0.2782, allocations: 149.2 kB / 0.8453 GB, free: 14.15 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.2782, allocations: 240 / 0.8453 GB, free: 14.15 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.2782, allocations: 39.27 kB / 0.8453 GB, free: 14.1 MB / 0.67 GB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.2782, allocations: 4 kB / 0.8453 GB, free: 14.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=30): time 0.002326/0.2806, allocations: 1.204 MB / 0.8465 GB, free: 12.82 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.2806, allocations: 55.41 kB / 0.8465 GB, free: 12.75 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.2819, allocations: 0.9269 MB / 0.8474 GB, free: 11.81 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.271e-05/0.2819, allocations: 41.7 kB / 0.8475 GB, free: 11.77 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002888/0.2822, allocations: 364.8 kB / 0.8478 GB, free: 11.4 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.2823, allocations: 110.4 kB / 0.8479 GB, free: 11.29 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/0.2825, allocations: 170.6 kB / 0.8481 GB, free: 11.12 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.2827, allocations: 394.8 kB / 0.8485 GB, free: 10.72 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/0.2831, allocations: 225.8 kB / 0.8487 GB, free: 10.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006952/0.2838, allocations: 0.6192 MB / 0.8493 GB, free: 9.691 MB / 0.67 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Notification: Performance of analyzeInitialSystem (initialization): time 0.003145/0.287, allocations: 1.765 MB / 0.851 GB, free: 7.695 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/0.287, allocations: 7.984 kB / 0.851 GB, free: 7.688 MB / 0.67 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00153/0.2885, allocations: 0.8995 MB / 0.8519 GB, free: 6.777 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.2886, allocations: 12 kB / 0.8519 GB, free: 6.766 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.2886, allocations: 12 kB / 0.8519 GB, free: 6.754 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002084/0.2888, allocations: 53.2 kB / 0.852 GB, free: 6.699 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006968/0.2895, allocations: 215.6 kB / 0.8522 GB, free: 6.488 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.2908, allocations: 1.468 MB / 0.8536 GB, free: 4.879 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008532/0.2917, allocations: 39.98 kB / 0.8537 GB, free: 4.84 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.905e-05/0.2917, allocations: 44 kB / 0.8537 GB, free: 4.797 MB / 0.67 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004473/0.2922, allocations: 301.9 kB / 0.854 GB, free: 4.492 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.2923, allocations: 78.97 kB / 0.8541 GB, free: 4.414 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.2925, allocations: 84.47 kB / 0.8541 GB, free: 4.332 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.2925, allocations: 0 / 0.8541 GB, free: 4.332 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.2925, allocations: 4 kB / 0.8541 GB, free: 4.328 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2925, allocations: 3.984 kB / 0.8542 GB, free: 4.324 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.2943, allocations: 1.132 MB / 0.8553 GB, free: 3.121 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2943, allocations: 0 / 0.8553 GB, free: 3.121 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003992/0.2947, allocations: 83.88 kB / 0.8553 GB, free: 3.039 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001336/0.2948, allocations: 36.83 kB / 0.8554 GB, free: 3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.2949, allocations: 12.12 kB / 0.8554 GB, free: 2.988 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/0.296, allocations: 1.429 MB / 0.8568 GB, free: 1.422 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.296, allocations: 4.031 kB / 0.8568 GB, free: 1.418 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009477/0.297, allocations: 0.66 MB / 0.8574 GB, free: 0.7266 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000299/0.2973, allocations: 192.1 kB / 0.8576 GB, free: 0.5195 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.381e-05/0.2974, allocations: 15.98 kB / 0.8576 GB, free: 0.5039 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004162/0.2978, allocations: 15.98 kB / 0.8576 GB, free: 500 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.2979, allocations: 23.91 kB / 0.8577 GB, free: 476 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.2979, allocations: 8 kB / 0.8577 GB, free: 468 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008361/0.2987, allocations: 0.62 MB / 0.8583 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2987, allocations: 0 / 0.8583 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007974/0.2995, allocations: 208 kB / 0.8585 GB, free: 15.64 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001374/0.2997, allocations: 115.1 kB / 0.8586 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0012/0.3009, allocations: 0.6501 MB / 0.8592 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3009, allocations: 0 / 0.8592 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003676/0.3013, allocations: 264.2 kB / 0.8595 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008896/0.3022, allocations: 181.9 kB / 0.8596 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/0.3046, allocations: 1.612 MB / 0.8612 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006244/0.3053, allocations: 0.9875 MB / 0.8622 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003896/0.3057, allocations: 153.8 kB / 0.8623 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.3058, allocations: 51.44 kB / 0.8624 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of SimCode: time 1.242e-06/0.3058, allocations: 0 / 0.8624 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of Templates: time 0.0182/0.324, allocations: 9.105 MB / 0.8713 GB, free: 2.539 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1)