Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.736/1.736, allocations: 288.2 MB / 303.2 MB, free: 8.215 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.001153/0.001153, allocations: 185 kB / 371.8 MB, free: 10.29 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.756/1.756, allocations: 205.4 MB / 0.6305 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008921/0.0008918, allocations: 88.92 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004377/0.0004375, allocations: 15.78 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2279, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7933/1.021, allocations: 146.7 MB / 1.123 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/1.022, allocations: 108.4 kB / 1.123 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04286/1.064, allocations: 17.99 MB / 1.14 GB, free: 27.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.565e-06/1.065, allocations: 0 / 1.14 GB, free: 27.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.851e-05/1.065, allocations: 7.688 kB / 1.14 GB, free: 27.16 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001036/1.066, allocations: 0.6572 MB / 1.141 GB, free: 26.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/1.066, allocations: 11.73 kB / 1.141 GB, free: 26.61 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.872e-05/1.066, allocations: 52.98 kB / 1.141 GB, free: 26.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/1.066, allocations: 50.89 kB / 1.141 GB, free: 26.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005268/1.066, allocations: 357.2 kB / 1.142 GB, free: 26.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/1.066, allocations: 15.28 kB / 1.142 GB, free: 26.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.801e-05/1.066, allocations: 17.44 kB / 1.142 GB, free: 26.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/1.067, allocations: 203.1 kB / 1.142 GB, free: 26.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/1.067, allocations: 3.938 kB / 1.142 GB, free: 26.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/1.067, allocations: 12.34 kB / 1.142 GB, free: 26.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/1.067, allocations: 3.844 kB / 1.142 GB, free: 26.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003437/1.067, allocations: 178.7 kB / 1.142 GB, free: 26.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/1.068, allocations: 0.8791 MB / 1.143 GB, free: 25.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/1.069, allocations: 155.1 kB / 1.143 GB, free: 25.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/1.069, allocations: 4 kB / 1.143 GB, free: 25.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/1.069, allocations: 41.72 kB / 1.143 GB, free: 25.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.973e-06/1.069, allocations: 0 / 1.143 GB, free: 25.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0005606/1.069, allocations: 266 kB / 1.143 GB, free: 25.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/1.069, allocations: 55.25 kB / 1.143 GB, free: 25.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003829/1.07, allocations: 371.2 kB / 1.144 GB, free: 25.21 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/1.07, allocations: 28.77 kB / 1.144 GB, free: 25.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/1.07, allocations: 206.2 kB / 1.144 GB, free: 25.06 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.8e-05/1.07, allocations: 63.16 kB / 1.144 GB, free: 25.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-06/1.07, allocations: 2.688 kB / 1.144 GB, free: 25.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001209/1.07, allocations: 349.7 kB / 1.144 GB, free: 24.69 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/1.07, allocations: 60.16 kB / 1.144 GB, free: 24.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/1.07, allocations: 67.91 kB / 1.144 GB, free: 24.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/1.071, allocations: 68.27 kB / 1.144 GB, free: 24.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.071, allocations: 3.938 kB / 1.144 GB, free: 24.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003462/1.071, allocations: 213.8 kB / 1.145 GB, free: 24.58 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/1.071, allocations: 7.406 kB / 1.145 GB, free: 24.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/1.071, allocations: 0 / 1.145 GB, free: 24.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/1.071, allocations: 4 kB / 1.145 GB, free: 24.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/1.071, allocations: 60.92 kB / 1.145 GB, free: 24.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/1.071, allocations: 3.938 kB / 1.145 GB, free: 24.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/1.071, allocations: 26.98 kB / 1.145 GB, free: 24.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/1.071, allocations: 3.812 kB / 1.145 GB, free: 24.55 MB / 0.698 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001549/1.072, allocations: 164.3 kB / 1.145 GB, free: 24.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.395e-05/1.072, allocations: 38.62 kB / 1.145 GB, free: 24.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.093e-05/1.072, allocations: 41.55 kB / 1.145 GB, free: 24.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/1.072, allocations: 0 / 1.145 GB, free: 24.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/1.072, allocations: 3.844 kB / 1.145 GB, free: 24.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/1.072, allocations: 0 / 1.145 GB, free: 24.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003685/1.072, allocations: 380.6 kB / 1.145 GB, free: 24.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/1.072, allocations: 0 / 1.145 GB, free: 24.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/1.072, allocations: 68.73 kB / 1.145 GB, free: 24.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/1.072, allocations: 0 / 1.145 GB, free: 24.12 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/1.072, allocations: 3.312 kB / 1.145 GB, free: 24.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/1.072, allocations: 3.844 kB / 1.145 GB, free: 24.12 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/1.072, allocations: 0 / 1.145 GB, free: 24.12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005374/1.073, allocations: 394.1 kB / 1.146 GB, free: 23.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.933e-05/1.073, allocations: 121.8 kB / 1.146 GB, free: 23.81 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/1.073, allocations: 7.812 kB / 1.146 GB, free: 23.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/1.073, allocations: 14.95 kB / 1.146 GB, free: 23.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/1.073, allocations: 14.98 kB / 1.146 GB, free: 23.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/1.073, allocations: 3.719 kB / 1.146 GB, free: 23.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002876/1.074, allocations: 305.8 kB / 1.146 GB, free: 23.67 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/1.074, allocations: 0 / 1.146 GB, free: 23.67 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003507/1.074, allocations: 79.72 kB / 1.146 GB, free: 23.66 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.001044/1.075, allocations: 1.079 MB / 1.147 GB, free: 22.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003231/1.075, allocations: 156.7 kB / 1.148 GB, free: 22.88 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.075, allocations: 0 / 1.148 GB, free: 22.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/1.076, allocations: 91.95 kB / 1.148 GB, free: 22.86 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/1.076, allocations: 87.5 kB / 1.148 GB, free: 22.84 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/1.079, allocations: 2.178 MB / 1.15 GB, free: 21.76 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/1.079, allocations: 0.8067 MB / 1.151 GB, free: 21.01 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001381/1.079, allocations: 36.03 kB / 1.151 GB, free: 20.99 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/1.08, allocations: 114.6 kB / 1.151 GB, free: 20.97 MB / 0.698 GB Notification: Performance of SimCode: time 4.9e-07/1.08, allocations: 4 kB / 1.151 GB, free: 20.97 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02107/1.101, allocations: 9.215 MB / 1.16 GB, free: 14.26 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/1.101, allocations: 264.5 kB / 1.16 GB, free: 13.92 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.453/3.554, allocations: 0 / 1.16 GB, free: 13.92 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)