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.001291/0.001291, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001625/0.001625, allocations: 193.3 kB / 16.25 MB, free: 6.629 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.48/1.48, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.499/1.499, allocations: 251.7 MB / 0.5089 GB, free: 3.309 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.001811/0.001811, allocations: 67.91 kB / 0.6217 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4842/0.486, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004454/0.4905, allocations: 3.742 MB / 0.7276 GB, free: 9.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003722/0.4943, allocations: 2.553 MB / 0.7301 GB, free: 6.758 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004151/0.4947, allocations: 11.94 kB / 0.7301 GB, free: 6.746 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007249/0.4956, allocations: 222.8 kB / 0.7303 GB, free: 6.527 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009352/0.4965, allocations: 466 kB / 0.7308 GB, free: 6.07 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.4978, allocations: 499.1 kB / 0.7313 GB, free: 5.582 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001201/0.499, allocations: 1.375 MB / 0.7326 GB, free: 4.203 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002313/0.4993, allocations: 153.1 kB / 0.7328 GB, free: 4.051 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004608/0.4998, allocations: 438.4 kB / 0.7332 GB, free: 3.621 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005514/0.5003, allocations: 0.5099 MB / 0.7337 GB, free: 3.109 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.467e-05/0.5004, allocations: 55.94 kB / 0.7337 GB, free: 3.055 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.5005, allocations: 60 kB / 0.7338 GB, free: 2.996 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002635/0.5008, allocations: 339 kB / 0.7341 GB, free: 2.664 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003272/0.5011, allocations: 457.7 kB / 0.7345 GB, free: 2.215 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006521/0.5018, allocations: 0.8989 MB / 0.7354 GB, free: 1.312 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5018, allocations: 4 kB / 0.7354 GB, free: 1.309 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5018, allocations: 0 / 0.7354 GB, free: 1.309 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.5018, allocations: 4 kB / 0.7354 GB, free: 1.305 MB / 0.545 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.00177/0.5036, allocations: 1.237 MB / 0.7366 GB, free: 16 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.5036, allocations: 16.03 kB / 0.7367 GB, free: 0 / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.5038, allocations: 99.89 kB / 0.7367 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007879/0.5046, allocations: 0.6442 MB / 0.7374 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.5046, allocations: 45.03 kB / 0.7374 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.071e-05/0.5047, allocations: 60.28 kB / 0.7375 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005228/0.5052, allocations: 402.9 kB / 0.7379 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.5052, allocations: 0 / 0.7379 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.5053, allocations: 12 kB / 0.7379 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.5053, allocations: 8 kB / 0.7379 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000339/0.5056, allocations: 230.4 kB / 0.7381 GB, free: 14.44 MB / 0.5606 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.002435/0.5081, allocations: 2.498 MB / 0.7405 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.5092, allocations: 496.5 kB / 0.741 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.5095, allocations: 157.2 kB / 0.7412 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.5095, allocations: 4.234 kB / 0.7412 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.5095, allocations: 35.27 kB / 0.7412 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 1.714e-06/0.5095, allocations: 0 / 0.7412 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001762/0.5113, allocations: 1.209 MB / 0.7424 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.5113, allocations: 59.34 kB / 0.7424 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009309/0.5123, allocations: 0.9192 MB / 0.7433 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.5123, allocations: 41.7 kB / 0.7434 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.5125, allocations: 360.8 kB / 0.7437 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.574e-05/0.5126, allocations: 118.4 kB / 0.7438 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.5128, allocations: 166.6 kB / 0.744 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.5129, allocations: 398.8 kB / 0.7444 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/0.5133, allocations: 229.8 kB / 0.7446 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005096/0.5138, allocations: 0.6193 MB / 0.7452 GB, free: 6.625 MB / 0.5606 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.002495/0.5163, allocations: 1.765 MB / 0.7469 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.5163, allocations: 4 kB / 0.7469 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001199/0.5175, allocations: 0.8997 MB / 0.7478 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.5175, allocations: 12 kB / 0.7478 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.5176, allocations: 12 kB / 0.7478 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001591/0.5177, allocations: 52.83 kB / 0.7479 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005988/0.5183, allocations: 211.9 kB / 0.7481 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009383/0.5193, allocations: 1.46 MB / 0.7495 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006688/0.52, allocations: 47.97 kB / 0.7495 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.122e-05/0.52, allocations: 40 kB / 0.7496 GB, free: 1.746 MB / 0.5606 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.0003094/0.5203, allocations: 302.8 kB / 0.7499 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.871e-05/0.5204, allocations: 78.97 kB / 0.75 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.5205, allocations: 80.45 kB / 0.75 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.5205, allocations: 4 kB / 0.75 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.5205, allocations: 0 / 0.75 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.5206, allocations: 7.984 kB / 0.75 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.5219, allocations: 1.144 MB / 0.7512 GB, free: 56 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.5219, allocations: 3.938 kB / 0.7512 GB, free: 52 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003685/0.5223, allocations: 83.94 kB / 0.7512 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001025/0.5224, allocations: 40.89 kB / 0.7513 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.5224, allocations: 8 kB / 0.7513 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000809/0.5232, allocations: 1.429 MB / 0.7527 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5233, allocations: 4.031 kB / 0.7527 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007293/0.524, allocations: 0.6628 MB / 0.7533 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.5242, allocations: 192.1 kB / 0.7535 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.572e-05/0.5243, allocations: 11.98 kB / 0.7535 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003964/0.5247, allocations: 23.92 kB / 0.7536 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.5248, allocations: 23.97 kB / 0.7536 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.5248, allocations: 8 kB / 0.7536 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006707/0.5255, allocations: 0.6239 MB / 0.7542 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5255, allocations: 0 / 0.7542 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00067/0.5261, allocations: 208 kB / 0.7544 GB, free: 12.55 MB / 0.5762 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.0001165/0.5263, allocations: 119.1 kB / 0.7545 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001022/0.5273, allocations: 0.6718 MB / 0.7552 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5273, allocations: 1.625 kB / 0.7552 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003095/0.5276, allocations: 266.7 kB / 0.7554 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007867/0.5284, allocations: 173 kB / 0.7556 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.5305, allocations: 1.859 MB / 0.7574 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.5309, allocations: 0.9915 MB / 0.7584 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003732/0.5313, allocations: 149.9 kB / 0.7585 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.5314, allocations: 51.44 kB / 0.7586 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of SimCode: time 4.1e-07/0.5315, allocations: 0 / 0.7586 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of Templates: time 0.01465/0.5461, allocations: 8.951 MB / 0.7673 GB, free: 15.34 MB / 0.5919 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)