Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001158/0.001158, allocations: 191.9 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.096/2.096, allocations: 390.2 MB / 0.6644 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.91 kB / 0.8121 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5215/0.5227, allocations: 140.4 MB / 0.9492 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.003941/0.5267, allocations: 3.747 MB / 0.9529 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0033/0.53, allocations: 2.494 MB / 0.9553 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005316/0.5306, allocations: 16.91 kB / 0.9553 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007432/0.5313, allocations: 222.3 kB / 0.9555 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009925/0.5324, allocations: 467.3 kB / 0.956 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.5334, allocations: 497.4 kB / 0.9565 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001103/0.5345, allocations: 1.367 MB / 0.9578 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.5348, allocations: 147.2 kB / 0.9579 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004132/0.5352, allocations: 448.2 kB / 0.9584 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005207/0.5357, allocations: 0.5164 MB / 0.9589 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.59e-05/0.5358, allocations: 53.38 kB / 0.9589 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.5359, allocations: 57.88 kB / 0.959 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002459/0.5362, allocations: 341 kB / 0.9593 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003165/0.5365, allocations: 463.6 kB / 0.9597 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005968/0.5371, allocations: 0.9046 MB / 0.9606 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.5371, allocations: 0 / 0.9606 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5371, allocations: 1.312 kB / 0.9606 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.5371, allocations: 0 / 0.9606 GB, free: 0.793 MB / 0.7169 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.001783/0.5389, allocations: 1.244 MB / 0.9618 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.539, allocations: 9.781 kB / 0.9618 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.805e-05/0.539, allocations: 70.66 kB / 0.9619 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.5392, allocations: 101.7 kB / 0.962 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008887/0.5401, allocations: 0.6422 MB / 0.9626 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/0.5401, allocations: 45.34 kB / 0.9627 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-05/0.5402, allocations: 61.44 kB / 0.9627 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005742/0.5408, allocations: 399.2 kB / 0.9631 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.5408, allocations: 1.125 kB / 0.9631 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.5408, allocations: 16.03 kB / 0.9631 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.5409, allocations: 11.67 kB / 0.9632 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003812/0.5412, allocations: 224.5 kB / 0.9634 GB, free: 14.77 MB / 0.7325 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.002672/0.5439, allocations: 2.499 MB / 0.9658 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.5452, allocations: 490.4 kB / 0.9663 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.5454, allocations: 148.8 kB / 0.9664 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.5455, allocations: 3.234 kB / 0.9664 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.5455, allocations: 40.83 kB / 0.9665 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 1.483e-06/0.5455, allocations: 0 / 0.9665 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.001874/0.5474, allocations: 1.212 MB / 0.9676 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.5474, allocations: 54.5 kB / 0.9677 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.5485, allocations: 0.9237 MB / 0.9686 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.796e-05/0.5485, allocations: 41.77 kB / 0.9686 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/0.5488, allocations: 366.8 kB / 0.969 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.423e-05/0.5489, allocations: 105.2 kB / 0.9691 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.5491, allocations: 174.2 kB / 0.9693 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.5493, allocations: 401.2 kB / 0.9696 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003483/0.5496, allocations: 227.2 kB / 0.9699 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005869/0.5502, allocations: 0.6193 MB / 0.9705 GB, free: 9.066 MB / 0.7325 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.002801/0.553, allocations: 1.76 MB / 0.9722 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.553, allocations: 8.312 kB / 0.9722 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001299/0.5543, allocations: 0.9041 MB / 0.9731 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.5544, allocations: 11.5 kB / 0.9731 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.5544, allocations: 13.94 kB / 0.9731 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001589/0.5546, allocations: 53.64 kB / 0.9731 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006319/0.5552, allocations: 213.2 kB / 0.9733 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/0.5563, allocations: 1.464 MB / 0.9748 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006542/0.557, allocations: 46.03 kB / 0.9748 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.837e-05/0.557, allocations: 43.22 kB / 0.9749 GB, free: 5.68 MB / 0.7325 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.0003324/0.5574, allocations: 297.3 kB / 0.9751 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.5575, allocations: 81.84 kB / 0.9752 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.5576, allocations: 79.28 kB / 0.9753 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.5576, allocations: 2.594 kB / 0.9753 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.5576, allocations: 5.359 kB / 0.9753 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.5576, allocations: 0 / 0.9753 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.5591, allocations: 1.138 MB / 0.9764 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.5591, allocations: 1.375 kB / 0.9764 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003826/0.5595, allocations: 82.66 kB / 0.9765 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001016/0.5596, allocations: 39.98 kB / 0.9765 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.5597, allocations: 8.375 kB / 0.9765 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009425/0.5606, allocations: 1.431 MB / 0.9779 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5606, allocations: 9.328 kB / 0.9779 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008154/0.5614, allocations: 0.6582 MB / 0.9786 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002329/0.5617, allocations: 193.4 kB / 0.9788 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.669e-05/0.5618, allocations: 15.86 kB / 0.9788 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004121/0.5622, allocations: 22.14 kB / 0.9788 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.211e-05/0.5623, allocations: 25.81 kB / 0.9788 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.5623, allocations: 6.719 kB / 0.9788 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007526/0.5631, allocations: 0.6236 MB / 0.9794 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5631, allocations: 0 / 0.9794 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006837/0.5638, allocations: 211.9 kB / 0.9797 GB, free: 1.523 MB / 0.7325 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.001085/0.5648, allocations: 1.208 MB / 0.9808 GB, free: 276 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.5659, allocations: 0.6774 MB / 0.9815 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.566, allocations: 0 / 0.9815 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000346/0.5663, allocations: 277 kB / 0.9818 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008364/0.5672, allocations: 178.6 kB / 0.9819 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009914/0.5771, allocations: 7.922 MB / 0.9897 GB, free: 6.633 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005387/0.5776, allocations: 0.9875 MB / 0.9906 GB, free: 5.617 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004104/0.5781, allocations: 157.8 kB / 0.9908 GB, free: 5.461 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003519/0.5784, allocations: 299.3 kB / 0.9911 GB, free: 5.168 MB / 0.7481 GB Notification: Performance of SimCode: time 6.31e-07/0.5784, allocations: 0 / 0.9911 GB, free: 5.168 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.386/1.964, allocations: 15.73 MB / 1.006 GB, free: 5.711 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002661/1.964, allocations: 217.5 kB / 1.007 GB, free: 5.461 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/3.951, allocations: 0 / 1.007 GB, free: 5.461 MB / 0.7637 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1)