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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.387/1.387, allocations: 249.5 MB / 257 MB, free: 6.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009819/0.0009817, allocations: 172.8 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007812/0.0007812, allocations: 85.78 kB / 0.6714 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.551e-05/1.554e-05, allocations: 0 / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1814, allocations: 106.4 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6276/0.809, allocations: 141.5 MB / 1.024 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.8093, allocations: 70.94 kB / 1.024 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06355/0.8729, allocations: 18.13 MB / 1.041 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.442e-06/0.8729, allocations: 3.938 kB / 1.041 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.455e-05/0.873, allocations: 20 kB / 1.041 GB, free: 12.93 MB / 0.6667 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.001676/0.8747, allocations: 0.94 MB / 1.042 GB, free: 12 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.8747, allocations: 8.031 kB / 1.042 GB, free: 11.99 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003006/0.875, allocations: 102.8 kB / 1.042 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002051/0.8771, allocations: 1.06 MB / 1.043 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.8771, allocations: 8 kB / 1.043 GB, free: 11 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-05/0.8772, allocations: 39.41 kB / 1.043 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003502/0.8776, allocations: 175.8 kB / 1.044 GB, free: 10.85 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004777/0.878, allocations: 343.4 kB / 1.044 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.8781, allocations: 3.953 kB / 1.044 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.8781, allocations: 4 kB / 1.044 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.8781, allocations: 8 kB / 1.044 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002687/0.8808, allocations: 2.219 MB / 1.046 GB, free: 8.473 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.882, allocations: 462.5 kB / 1.047 GB, free: 8.117 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.8821, allocations: 141.3 kB / 1.047 GB, free: 8.02 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.8822, allocations: 4.234 kB / 1.047 GB, free: 8.016 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.8822, allocations: 34.73 kB / 1.047 GB, free: 7.973 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=28): time 2.354e-06/0.8822, allocations: 0 / 1.047 GB, free: 7.973 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30): time 0.001417/0.8836, allocations: 0.9219 MB / 1.048 GB, free: 7.125 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.8837, allocations: 55.41 kB / 1.048 GB, free: 7.059 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008096/0.8845, allocations: 0.7551 MB / 1.048 GB, free: 6.488 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.8845, allocations: 25.7 kB / 1.048 GB, free: 6.457 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.8848, allocations: 357.5 kB / 1.049 GB, free: 6.238 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 9.871e-05/0.8849, allocations: 107.1 kB / 1.049 GB, free: 6.145 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.021e-05/0.8849, allocations: 0 / 1.049 GB, free: 6.145 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.885, allocations: 398.1 kB / 1.049 GB, free: 5.781 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/0.8853, allocations: 200.6 kB / 1.049 GB, free: 5.645 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004674/0.8858, allocations: 0.5865 MB / 1.05 GB, free: 4.949 MB / 0.6667 GB 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])) 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[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3])) Notification: Performance of analyzeInitialSystem (initialization): time 0.001778/0.8876, allocations: 0.9795 MB / 1.051 GB, free: 4.098 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.8876, allocations: 4 kB / 1.051 GB, free: 4.094 MB / 0.6667 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001057/0.8886, allocations: 0.7665 MB / 1.052 GB, free: 3.438 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.8887, allocations: 8 kB / 1.052 GB, free: 3.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.8887, allocations: 19.94 kB / 1.052 GB, free: 3.41 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001547/0.8889, allocations: 56.7 kB / 1.052 GB, free: 3.355 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006537/0.8895, allocations: 203.6 kB / 1.052 GB, free: 3.164 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009588/0.8905, allocations: 1.328 MB / 1.053 GB, free: 1.777 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008777/0.8914, allocations: 55.94 kB / 1.053 GB, free: 1.723 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.017e-05/0.8914, allocations: 46.89 kB / 1.053 GB, free: 1.684 MB / 0.6667 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3]). 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001627/0.8916, allocations: 160.4 kB / 1.054 GB, free: 1.523 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005108/0.8921, allocations: 362.1 kB / 1.054 GB, free: 1.223 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.8923, allocations: 78.95 kB / 1.054 GB, free: 1.145 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/0.8924, allocations: 83.12 kB / 1.054 GB, free: 1.086 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.8924, allocations: 4 kB / 1.054 GB, free: 1.082 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.8924, allocations: 0 / 1.054 GB, free: 1.082 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.8924, allocations: 0 / 1.054 GB, free: 1.082 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.8939, allocations: 1.111 MB / 1.055 GB, free: 144 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.8939, allocations: 0 / 1.055 GB, free: 144 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003814/0.8943, allocations: 86.19 kB / 1.055 GB, free: 60 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001089/0.8945, allocations: 35.88 kB / 1.055 GB, free: 24 kB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.8945, allocations: 6.75 kB / 1.055 GB, free: 20 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008507/0.8953, allocations: 1.307 MB / 1.057 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.8954, allocations: 0 / 1.057 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000699/0.8961, allocations: 0.6576 MB / 1.057 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002758/0.8964, allocations: 205.6 kB / 1.057 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.8965, allocations: 7.984 kB / 1.057 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005635/0.897, allocations: 35.73 kB / 1.057 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.8971, allocations: 18.86 kB / 1.057 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.8971, allocations: 10.69 kB / 1.057 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006299/0.8978, allocations: 0.5515 MB / 1.058 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8978, allocations: 0 / 1.058 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007302/0.8985, allocations: 188 kB / 1.058 GB, free: 13.21 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001149/0.8997, allocations: 1.546 MB / 1.06 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009007/0.9006, allocations: 0.5729 MB / 1.06 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.9006, allocations: 0 / 1.06 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002902/0.9009, allocations: 244 kB / 1.06 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006748/0.9016, allocations: 152 kB / 1.061 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.904, allocations: 1.415 MB / 1.062 GB, free: 9.559 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005548/0.9045, allocations: 1 MB / 1.063 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004466/0.905, allocations: 153.6 kB / 1.063 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003729/0.9054, allocations: 290.7 kB / 1.063 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of SimCode: time 5.81e-07/0.9054, allocations: 3.938 kB / 1.063 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03599/0.9414, allocations: 14.3 MB / 1.077 GB, free: 10.16 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/0.9416, allocations: 160.8 kB / 1.078 GB, free: 9.957 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.157/3.099, allocations: 0 / 1.078 GB, free: 9.957 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1)