Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_10_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.001477/0.001477, 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.001657/0.001657, allocations: 194.4 kB / 16.25 MB, free: 6.625 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.217/1.217, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.252/2.252, allocations: 437 MB / 0.7101 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.91 kB / 0.8688 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5226/0.5239, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004034/0.528, allocations: 3.75 MB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002964/0.531, allocations: 2.506 MB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001857/0.5312, allocations: 11.94 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005526/0.5317, allocations: 214.8 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0007004/0.5325, allocations: 465.7 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008566/0.5333, allocations: 0.4913 MB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00106/0.5344, allocations: 1.371 MB / 1.026 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001972/0.5346, allocations: 149.1 kB / 1.026 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004085/0.535, allocations: 438.4 kB / 1.026 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005341/0.5356, allocations: 0.5138 MB / 1.027 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.408e-05/0.5356, allocations: 59.94 kB / 1.027 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.5357, allocations: 60 kB / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002695/0.536, allocations: 339 kB / 1.027 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003385/0.5364, allocations: 461.6 kB / 1.027 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006525/0.537, allocations: 0.9029 MB / 1.028 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.537, allocations: 0 / 1.028 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.172e-06/0.537, allocations: 0 / 1.028 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.5371, allocations: 0 / 1.028 GB, free: 7.008 MB / 0.7794 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.001751/0.5388, allocations: 1.245 MB / 1.03 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.5388, allocations: 12.03 kB / 1.03 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.118e-05/0.5389, allocations: 70.72 kB / 1.03 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.539, allocations: 99.72 kB / 1.03 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007782/0.5398, allocations: 0.6443 MB / 1.03 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.5399, allocations: 41.03 kB / 1.03 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.808e-05/0.5399, allocations: 60.03 kB / 1.03 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005139/0.5405, allocations: 402.9 kB / 1.031 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.5405, allocations: 3.938 kB / 1.031 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.666e-05/0.5405, allocations: 16 kB / 1.031 GB, free: 4.289 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.5405, allocations: 8 kB / 1.031 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003426/0.5409, allocations: 230.4 kB / 1.031 GB, free: 4.059 MB / 0.7794 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.002397/0.5433, allocations: 2.494 MB / 1.034 GB, free: 1.367 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.5444, allocations: 492.6 kB / 1.034 GB, free: 0.8789 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.5446, allocations: 153.2 kB / 1.034 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.5446, allocations: 240 / 1.034 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.5447, allocations: 46.73 kB / 1.034 GB, free: 0.6719 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 1.303e-06/0.5447, allocations: 0 / 1.034 GB, free: 0.6719 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.001698/0.5464, allocations: 1.204 MB / 1.035 GB, free: 15.39 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.5464, allocations: 59.41 kB / 1.035 GB, free: 15.32 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009428/0.5474, allocations: 0.923 MB / 1.036 GB, free: 14.39 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.5474, allocations: 37.7 kB / 1.036 GB, free: 14.35 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/0.5477, allocations: 364.8 kB / 1.037 GB, free: 13.99 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.053e-05/0.5477, allocations: 118.3 kB / 1.037 GB, free: 13.87 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.5479, allocations: 166.6 kB / 1.037 GB, free: 13.7 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.5481, allocations: 398.7 kB / 1.037 GB, free: 13.3 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003137/0.5484, allocations: 225.8 kB / 1.038 GB, free: 13.08 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005282/0.5489, allocations: 0.6192 MB / 1.038 GB, free: 12.27 MB / 0.795 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.002485/0.5514, allocations: 1.763 MB / 1.04 GB, free: 10.28 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.5514, allocations: 7.938 kB / 1.04 GB, free: 10.27 MB / 0.795 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001126/0.5526, allocations: 0.8998 MB / 1.041 GB, free: 9.359 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.5526, allocations: 12 kB / 1.041 GB, free: 9.348 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.5526, allocations: 12 kB / 1.041 GB, free: 9.336 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001425/0.5528, allocations: 52.83 kB / 1.041 GB, free: 9.281 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005754/0.5533, allocations: 211.6 kB / 1.041 GB, free: 9.074 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009509/0.5543, allocations: 1.468 MB / 1.042 GB, free: 7.465 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005692/0.5549, allocations: 43.97 kB / 1.043 GB, free: 7.422 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.5549, allocations: 47.94 kB / 1.043 GB, free: 7.375 MB / 0.795 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.0002802/0.5552, allocations: 307.3 kB / 1.043 GB, free: 7.066 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.372e-05/0.5553, allocations: 86.84 kB / 1.043 GB, free: 6.98 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.5554, allocations: 72.53 kB / 1.043 GB, free: 6.906 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.5554, allocations: 4 kB / 1.043 GB, free: 6.902 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.5554, allocations: 0 / 1.043 GB, free: 6.902 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.5555, allocations: 7.984 kB / 1.043 GB, free: 6.895 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.5568, allocations: 1.14 MB / 1.044 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5568, allocations: 0 / 1.044 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003434/0.5571, allocations: 87.88 kB / 1.044 GB, free: 5.598 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.115e-05/0.5572, allocations: 32.95 kB / 1.044 GB, free: 5.562 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.5573, allocations: 12 kB / 1.044 GB, free: 5.551 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008309/0.5581, allocations: 1.43 MB / 1.046 GB, free: 3.984 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.5581, allocations: 4.031 kB / 1.046 GB, free: 3.98 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007346/0.5589, allocations: 0.6711 MB / 1.046 GB, free: 3.277 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002024/0.5591, allocations: 192.1 kB / 1.046 GB, free: 3.07 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.104e-05/0.5592, allocations: 8 kB / 1.047 GB, free: 3.062 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/0.5595, allocations: 23.97 kB / 1.047 GB, free: 3.039 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.5596, allocations: 23.97 kB / 1.047 GB, free: 3.016 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.5596, allocations: 8 kB / 1.047 GB, free: 3.008 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006665/0.5603, allocations: 0.6239 MB / 1.047 GB, free: 2.387 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5603, allocations: 0 / 1.047 GB, free: 2.387 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005928/0.5609, allocations: 211.9 kB / 1.047 GB, free: 2.18 MB / 0.795 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.001003/0.5619, allocations: 1.209 MB / 1.049 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009698/0.5629, allocations: 0.6727 MB / 1.049 GB, free: 252 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5629, allocations: 0 / 1.049 GB, free: 252 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003237/0.5632, allocations: 275 kB / 1.049 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007436/0.564, allocations: 175.4 kB / 1.05 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008555/0.5725, allocations: 7.911 MB / 1.057 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004838/0.573, allocations: 0.9838 MB / 1.058 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003606/0.5734, allocations: 153.8 kB / 1.058 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003186/0.5737, allocations: 295.3 kB / 1.059 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.5737, allocations: 0 / 1.059 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.756/2.33, allocations: 15.74 MB / 1.074 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002425/2.33, allocations: 225.4 kB / 1.074 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.394/4.724, allocations: 3.938 kB / 1.074 GB, free: 6.117 MB / 0.8262 GB (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1)