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.715/1.715, allocations: 285.4 MB / 298 MB, free: 6.016 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: 180.8 kB / 366.4 MB, free: 2.105 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.715/1.715, allocations: 205.1 MB / 0.6248 GB, free: 7.75 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.001076/0.001077, allocations: 88.03 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.753e-05/4.78e-05, allocations: 4 kB / 0.8584 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7512/0.7513, allocations: 115.3 MB / 0.971 GB, free: 78.04 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2103/0.9617, allocations: 146.6 MB / 1.114 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004231/0.9622, allocations: 107.9 kB / 1.114 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0509/1.013, allocations: 18 MB / 1.132 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.283e-06/1.013, allocations: 0 / 1.132 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.274e-05/1.013, allocations: 4 kB / 1.132 GB, free: 3.176 MB / 0.7292 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.0007511/1.014, allocations: 0.5797 MB / 1.132 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/1.014, allocations: 15.25 kB / 1.132 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.116e-05/1.014, allocations: 54.55 kB / 1.132 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.015e-05/1.014, allocations: 51.73 kB / 1.133 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004766/1.015, allocations: 351.7 kB / 1.133 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/1.015, allocations: 12.44 kB / 1.133 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.953e-05/1.015, allocations: 20 kB / 1.133 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003347/1.015, allocations: 191.5 kB / 1.133 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/1.015, allocations: 0 / 1.133 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/1.015, allocations: 7.938 kB / 1.133 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/1.015, allocations: 8 kB / 1.133 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002524/1.015, allocations: 137.7 kB / 1.133 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/1.017, allocations: 0.874 MB / 1.134 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/1.017, allocations: 146.7 kB / 1.134 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/1.017, allocations: 95.98 kB / 1.134 GB, free: 488 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/1.017, allocations: 4 kB / 1.134 GB, free: 484 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/1.017, allocations: 30.56 kB / 1.134 GB, free: 444 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.342e-06/1.017, allocations: 0 / 1.134 GB, free: 444 kB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0003554/1.018, allocations: 166.9 kB / 1.135 GB, free: 272 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/1.018, allocations: 59.41 kB / 1.135 GB, free: 200 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004707/1.018, allocations: 374.8 kB / 1.135 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/1.018, allocations: 29.7 kB / 1.135 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/1.018, allocations: 208.1 kB / 1.135 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.853e-05/1.018, allocations: 59.11 kB / 1.135 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-06/1.018, allocations: 4 kB / 1.135 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001536/1.019, allocations: 346.8 kB / 1.136 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.436e-05/1.019, allocations: 40 kB / 1.136 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.547e-05/1.019, allocations: 53.67 kB / 1.136 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/1.019, allocations: 53.02 kB / 1.136 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.019, allocations: 0 / 1.136 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002543/1.019, allocations: 178.2 kB / 1.136 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/1.019, allocations: 8 kB / 1.136 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/1.019, allocations: 0 / 1.136 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/1.019, allocations: 0 / 1.136 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/1.019, allocations: 63.89 kB / 1.136 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/1.019, allocations: 0 / 1.136 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/1.02, allocations: 34.3 kB / 1.136 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/1.02, allocations: 4 kB / 1.136 GB, free: 14.74 MB / 0.7448 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 (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 8.108e-05/1.02, allocations: 112.9 kB / 1.136 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.492e-05/1.02, allocations: 39.47 kB / 1.136 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.088e-05/1.02, allocations: 39.38 kB / 1.136 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/1.02, allocations: 3.938 kB / 1.136 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/1.02, allocations: 0 / 1.136 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.02, allocations: 4 kB / 1.136 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004264/1.02, allocations: 381.3 kB / 1.137 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/1.02, allocations: 2.25 kB / 1.137 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/1.021, allocations: 55.97 kB / 1.137 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/1.021, allocations: 0 / 1.137 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/1.021, allocations: 0 / 1.137 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/1.021, allocations: 0 / 1.137 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.021, allocations: 4 kB / 1.137 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004373/1.021, allocations: 351.6 kB / 1.137 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/1.021, allocations: 112.7 kB / 1.137 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/1.021, allocations: 10.25 kB / 1.137 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/1.021, allocations: 15.98 kB / 1.137 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/1.022, allocations: 7.984 kB / 1.137 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/1.022, allocations: 4 kB / 1.137 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003338/1.022, allocations: 301.3 kB / 1.137 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.71e-07/1.022, allocations: 0 / 1.137 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00039/1.022, allocations: 91.77 kB / 1.137 GB, free: 13.15 MB / 0.7448 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 () * 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.0009937/1.023, allocations: 1.029 MB / 1.138 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002379/1.024, allocations: 122.6 kB / 1.139 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.024, allocations: 0 / 1.139 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.553e-05/1.024, allocations: 63.94 kB / 1.139 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004908/1.024, allocations: 86.09 kB / 1.139 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/1.025, allocations: 0.603 MB / 1.139 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/1.026, allocations: 0.807 MB / 1.14 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001341/1.026, allocations: 37.28 kB / 1.14 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/1.026, allocations: 115.4 kB / 1.14 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/1.026, allocations: 0 / 1.14 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02371/1.05, allocations: 9.364 MB / 1.149 GB, free: 1.207 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/1.05, allocations: 229.8 kB / 1.15 GB, free: 0.9766 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.351/3.401, allocations: 3.859 kB / 1.15 GB, free: 0.9727 MB / 0.7448 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)