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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.686/1.686, allocations: 288.2 MB / 303.2 MB, free: 8.262 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.001297/0.001297, allocations: 187 kB / 371.8 MB, free: 10.27 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.629/1.629, allocations: 205.4 MB / 0.6305 GB, free: 9.996 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.0008686/0.0008683, allocations: 91.72 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003784, allocations: 12.22 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2443, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7699/1.014, allocations: 148.8 MB / 1.125 GB, free: 16.59 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/1.015, allocations: 115.1 kB / 1.125 GB, free: 16.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05253/1.067, allocations: 22.19 MB / 1.147 GB, free: 25.17 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.894e-06/1.067, allocations: 0 / 1.147 GB, free: 25.17 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.663e-05/1.067, allocations: 11.38 kB / 1.147 GB, free: 25.17 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001502/1.069, allocations: 0.842 MB / 1.147 GB, free: 24.53 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/1.069, allocations: 15.7 kB / 1.147 GB, free: 24.52 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001417/1.069, allocations: 89.39 kB / 1.148 GB, free: 24.47 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/1.069, allocations: 73.75 kB / 1.148 GB, free: 24.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006834/1.07, allocations: 432.8 kB / 1.148 GB, free: 24.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/1.07, allocations: 35.5 kB / 1.148 GB, free: 24.13 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.731e-05/1.07, allocations: 52.59 kB / 1.148 GB, free: 24.13 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006948/1.071, allocations: 426.6 kB / 1.148 GB, free: 24.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/1.071, allocations: 0 / 1.148 GB, free: 24.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.988e-05/1.071, allocations: 23.84 kB / 1.149 GB, free: 24.01 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/1.071, allocations: 11.53 kB / 1.149 GB, free: 24.01 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006143/1.071, allocations: 371.3 kB / 1.149 GB, free: 23.96 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/1.073, allocations: 1.543 MB / 1.15 GB, free: 23.17 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004392/1.074, allocations: 341.5 kB / 1.151 GB, free: 23.11 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/1.074, allocations: 3.875 kB / 1.151 GB, free: 23.11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/1.074, allocations: 34.12 kB / 1.151 GB, free: 23.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=42): time 2.083e-06/1.074, allocations: 0.7656 kB / 1.151 GB, free: 23.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.0008482/1.075, allocations: 0.5058 MB / 1.151 GB, free: 22.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/1.075, allocations: 55.28 kB / 1.151 GB, free: 22.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000466/1.075, allocations: 429.4 kB / 1.152 GB, free: 22.74 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/1.075, allocations: 37.3 kB / 1.152 GB, free: 22.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/1.075, allocations: 268.9 kB / 1.152 GB, free: 22.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.729e-05/1.075, allocations: 152.8 kB / 1.152 GB, free: 22.44 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.332e-05/1.075, allocations: 7.75 kB / 1.152 GB, free: 22.44 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.076, allocations: 371.5 kB / 1.153 GB, free: 22.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/1.076, allocations: 124.3 kB / 1.153 GB, free: 22.08 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/1.076, allocations: 133.1 kB / 1.153 GB, free: 22.06 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/1.076, allocations: 142 kB / 1.153 GB, free: 22.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.076, allocations: 0 / 1.153 GB, free: 22.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005611/1.077, allocations: 401.4 kB / 1.153 GB, free: 21.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/1.077, allocations: 9.719 kB / 1.153 GB, free: 21.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/1.077, allocations: 0 / 1.153 GB, free: 21.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/1.077, allocations: 0 / 1.153 GB, free: 21.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005018/1.077, allocations: 129.6 kB / 1.153 GB, free: 21.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/1.077, allocations: 0 / 1.153 GB, free: 21.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/1.078, allocations: 54.28 kB / 1.153 GB, free: 21.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/1.078, allocations: 14.25 kB / 1.153 GB, free: 21.9 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 (46): * Single equations (assignments): 46 * 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.0002179/1.078, allocations: 200.4 kB / 1.154 GB, free: 21.74 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.724e-05/1.078, allocations: 51.06 kB / 1.154 GB, free: 21.69 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/1.078, allocations: 57.92 kB / 1.154 GB, free: 21.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/1.078, allocations: 7.984 kB / 1.154 GB, free: 21.65 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/1.078, allocations: 4 kB / 1.154 GB, free: 21.65 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/1.078, allocations: 3.984 kB / 1.154 GB, free: 21.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005585/1.079, allocations: 0.5741 MB / 1.154 GB, free: 21.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/1.079, allocations: 0 / 1.154 GB, free: 21.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004879/1.079, allocations: 127.5 kB / 1.154 GB, free: 21.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/1.079, allocations: 0 / 1.154 GB, free: 21.05 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/1.079, allocations: 11.81 kB / 1.154 GB, free: 21.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/1.079, allocations: 3.938 kB / 1.154 GB, free: 21.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.079, allocations: 7.938 kB / 1.154 GB, free: 21.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008836/1.08, allocations: 0.6646 MB / 1.155 GB, free: 20.54 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/1.08, allocations: 135.5 kB / 1.155 GB, free: 20.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.49e-05/1.08, allocations: 11.06 kB / 1.155 GB, free: 20.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/1.081, allocations: 18.3 kB / 1.155 GB, free: 20.38 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.571e-05/1.081, allocations: 22.91 kB / 1.155 GB, free: 20.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/1.081, allocations: 7.188 kB / 1.155 GB, free: 20.35 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000375/1.081, allocations: 357.5 kB / 1.156 GB, free: 20.08 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.081, allocations: 0 / 1.156 GB, free: 20.08 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004723/1.082, allocations: 156.9 kB / 1.156 GB, free: 19.94 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.001408/1.083, allocations: 1.369 MB / 1.157 GB, free: 18.77 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005272/1.084, allocations: 332.3 kB / 1.157 GB, free: 18.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.084, allocations: 4 kB / 1.157 GB, free: 18.54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002517/1.084, allocations: 188 kB / 1.158 GB, free: 18.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005487/1.084, allocations: 121.6 kB / 1.158 GB, free: 18.32 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004427/1.089, allocations: 3.267 MB / 1.161 GB, free: 15.53 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/1.089, allocations: 0.8818 MB / 1.162 GB, free: 14.62 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002247/1.09, allocations: 57.55 kB / 1.162 GB, free: 14.56 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/1.09, allocations: 196.4 kB / 1.162 GB, free: 14.51 MB / 0.698 GB Notification: Performance of SimCode: time 6.01e-07/1.09, allocations: 3.938 kB / 1.162 GB, free: 14.51 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02885/1.119, allocations: 12.38 MB / 1.174 GB, free: 2.457 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/1.119, allocations: 259.2 kB / 1.174 GB, free: 2.121 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.456/3.575, allocations: 3.266 kB / 1.174 GB, free: 2.121 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)