Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.614/1.614, allocations: 285.4 MB / 298 MB, free: 5.953 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001162/0.001162, allocations: 180.9 kB / 366.4 MB, free: 2.074 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.1 MB / 0.6248 GB, free: 7.727 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 92.55 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.246e-05/4.292e-05, allocations: 4 kB / 0.8584 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7432/0.7432, allocations: 115.3 MB / 0.971 GB, free: 77.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2058/0.9491, allocations: 141 MB / 1.109 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.9494, allocations: 86.16 kB / 1.109 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01336/0.9628, allocations: 3.371 MB / 1.112 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9629, allocations: 1.219 kB / 1.112 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.006e-06/0.9629, allocations: 0 / 1.112 GB, free: 7.305 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.00036/0.9632, allocations: 362.3 kB / 1.112 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.9633, allocations: 8.031 kB / 1.112 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.857e-05/0.9634, allocations: 109.8 kB / 1.113 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.944e-05/0.9634, allocations: 79.28 kB / 1.113 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.9638, allocations: 279.6 kB / 1.113 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.917e-05/0.9638, allocations: 150.6 kB / 1.113 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.666e-05/0.9639, allocations: 150.6 kB / 1.113 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.126e-05/0.964, allocations: 105 kB / 1.113 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.133e-05/0.964, allocations: 79.28 kB / 1.113 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.433e-05/0.9641, allocations: 150.6 kB / 1.113 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.653e-05/0.9641, allocations: 150.6 kB / 1.114 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.549e-05/0.9642, allocations: 153.2 kB / 1.114 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000329/0.9646, allocations: 473.8 kB / 1.114 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.813e-05/0.9647, allocations: 169.8 kB / 1.114 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.104e-05/0.9647, allocations: 80.14 kB / 1.114 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.9647, allocations: 75.28 kB / 1.115 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.519e-05/0.9648, allocations: 109.8 kB / 1.115 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.9648, allocations: 0 / 1.115 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 8.483e-05/0.9649, allocations: 37.55 kB / 1.115 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/0.965, allocations: 130.7 kB / 1.115 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.9651, allocations: 121.2 kB / 1.115 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.9652, allocations: 29.69 kB / 1.115 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.805e-05/0.9652, allocations: 92.05 kB / 1.115 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-06/0.9652, allocations: 0 / 1.115 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-06/0.9653, allocations: 0 / 1.115 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.9654, allocations: 326.9 kB / 1.115 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.524e-05/0.9655, allocations: 8 kB / 1.115 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.106e-05/0.9655, allocations: 0 / 1.115 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.113e-05/0.9655, allocations: 8 kB / 1.115 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.9655, allocations: 0 / 1.115 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001356/0.9657, allocations: 45.59 kB / 1.115 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.9657, allocations: 8 kB / 1.115 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.386e-05/0.9657, allocations: 3.984 kB / 1.115 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.9658, allocations: 0 / 1.115 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/0.9658, allocations: 0 / 1.115 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.9658, allocations: 0 / 1.115 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.617e-05/0.9658, allocations: 12.53 kB / 1.115 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.9658, allocations: 0 / 1.115 GB, free: 3.645 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.9659, allocations: 180.3 kB / 1.116 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.008e-05/0.966, allocations: 111.7 kB / 1.116 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.517e-05/0.9661, allocations: 112.6 kB / 1.116 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.228e-05/0.9662, allocations: 180.3 kB / 1.116 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.807e-05/0.9662, allocations: 181.9 kB / 1.116 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.578e-05/0.9663, allocations: 184.2 kB / 1.116 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.9665, allocations: 409.2 kB / 1.117 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.462e-05/0.9666, allocations: 108.9 kB / 1.117 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.695e-05/0.9666, allocations: 101 kB / 1.117 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-05/0.9667, allocations: 184.3 kB / 1.117 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.677e-05/0.9668, allocations: 192.2 kB / 1.117 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.084e-05/0.9668, allocations: 176.3 kB / 1.117 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-05/0.9669, allocations: 184.4 kB / 1.118 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.967, allocations: 311.7 kB / 1.118 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.053e-05/0.9671, allocations: 189.9 kB / 1.118 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.116e-05/0.9672, allocations: 192.2 kB / 1.118 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.051e-05/0.9673, allocations: 107.4 kB / 1.118 GB, free: 412 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.9674, allocations: 177.2 kB / 1.119 GB, free: 228 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.893e-05/0.9674, allocations: 104.9 kB / 1.119 GB, free: 116 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.278e-05/0.9675, allocations: 105 kB / 1.119 GB, free: 12 kB / 0.7136 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9675, allocations: 4 kB / 1.119 GB, free: 8 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003779/0.9679, allocations: 39.98 kB / 1.119 GB, free: 15.96 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006011/0.9685, allocations: 0.8702 MB / 1.12 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.938e-05/0.9686, allocations: 37.64 kB / 1.12 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9686, allocations: 4 kB / 1.12 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.9686, allocations: 0 / 1.12 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.969, allocations: 0.5341 MB / 1.12 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003803/0.9694, allocations: 196.1 kB / 1.12 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.9696, allocations: 0.6848 MB / 1.121 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.006e-05/0.9697, allocations: 5.578 kB / 1.121 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.552e-05/0.9697, allocations: 15.44 kB / 1.121 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.9697, allocations: 0 / 1.121 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0132/0.9829, allocations: 2.382 MB / 1.123 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/0.9832, allocations: 204.3 kB / 1.124 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/2.719, allocations: 0 / 1.124 GB, free: 11.15 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)