Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.54/1.54, allocations: 249.3 MB / 261.8 MB, free: 5.828 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.001077/0.001077, allocations: 182.5 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.768/1.768, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.000986/0.0009859, allocations: 92.55 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.443e-05/4.445e-05, allocations: 4 kB / 0.7881 GB, free: 96.96 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2586, allocations: 106.3 MB / 0.8919 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8973/1.156, allocations: 152.9 MB / 1.041 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004318/1.157, allocations: 117.8 kB / 1.041 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.04769/1.204, allocations: 15.26 MB / 1.056 GB, free: 0.5742 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.413e-06/1.204, allocations: 8 kB / 1.056 GB, free: 0.5664 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.384e-06/1.204, allocations: 0 / 1.056 GB, free: 0.5664 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001119/1.205, allocations: 0.5498 MB / 1.057 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/1.205, allocations: 8.031 kB / 1.057 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.527e-05/1.206, allocations: 105.8 kB / 1.057 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.665e-05/1.206, allocations: 91.44 kB / 1.057 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/1.206, allocations: 242.3 kB / 1.057 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.212e-05/1.206, allocations: 157.6 kB / 1.057 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.612e-05/1.206, allocations: 154.6 kB / 1.058 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.065e-05/1.206, allocations: 104.9 kB / 1.058 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.204e-05/1.206, allocations: 75.28 kB / 1.058 GB, free: 15 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.751e-05/1.206, allocations: 150.6 kB / 1.058 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.297e-05/1.206, allocations: 150.6 kB / 1.058 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.937e-05/1.206, allocations: 154.6 kB / 1.058 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/1.207, allocations: 465.9 kB / 1.059 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/1.207, allocations: 172.3 kB / 1.059 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/1.207, allocations: 88.12 kB / 1.059 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/1.207, allocations: 79.28 kB / 1.059 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.2e-05/1.207, allocations: 113.8 kB / 1.059 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/1.207, allocations: 0 / 1.059 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 6.777e-05/1.207, allocations: 33.61 kB / 1.059 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.18e-05/1.207, allocations: 130.6 kB / 1.059 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/1.207, allocations: 124.9 kB / 1.059 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/1.207, allocations: 29.7 kB / 1.059 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/1.207, allocations: 86.77 kB / 1.059 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.958e-06/1.207, allocations: 11.92 kB / 1.059 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-06/1.207, allocations: 0 / 1.059 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.207, allocations: 322.7 kB / 1.06 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.019e-05/1.208, allocations: 7.938 kB / 1.06 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.457e-05/1.208, allocations: 6.688 kB / 1.06 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.212e-05/1.208, allocations: 4 kB / 1.06 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.208, allocations: 0 / 1.06 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001119/1.208, allocations: 57.56 kB / 1.06 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/1.208, allocations: 4 kB / 1.06 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/1.208, allocations: 4 kB / 1.06 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/1.208, allocations: 0 / 1.06 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.076e-06/1.208, allocations: 0 / 1.06 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/1.208, allocations: 3.938 kB / 1.06 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.899e-05/1.208, allocations: 0 / 1.06 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/1.208, allocations: 4 kB / 1.06 GB, free: 12.75 MB / 0.6823 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.0001036/1.208, allocations: 183.5 kB / 1.06 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.419e-05/1.208, allocations: 112.9 kB / 1.06 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.165e-05/1.208, allocations: 112.6 kB / 1.06 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.09e-05/1.208, allocations: 188.2 kB / 1.06 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.242e-05/1.208, allocations: 179.3 kB / 1.061 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-05/1.208, allocations: 180.2 kB / 1.061 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/1.209, allocations: 424.2 kB / 1.061 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.868e-05/1.209, allocations: 101 kB / 1.061 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.062e-05/1.209, allocations: 104.9 kB / 1.061 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.429e-05/1.209, allocations: 176.3 kB / 1.061 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.218e-05/1.209, allocations: 184.2 kB / 1.062 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.873e-05/1.209, allocations: 180.2 kB / 1.062 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-05/1.209, allocations: 187 kB / 1.062 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/1.209, allocations: 306.9 kB / 1.062 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.719e-05/1.209, allocations: 190 kB / 1.062 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.796e-05/1.209, allocations: 176.3 kB / 1.063 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.179e-05/1.21, allocations: 110 kB / 1.063 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.28e-05/1.21, allocations: 184.3 kB / 1.063 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-05/1.21, allocations: 101 kB / 1.063 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.205e-05/1.21, allocations: 108.6 kB / 1.063 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.21, allocations: 0 / 1.063 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001203/1.211, allocations: 329.3 kB / 1.063 GB, free: 8.84 MB / 0.6823 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.001554/1.212, allocations: 1.209 MB / 1.065 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001091/1.213, allocations: 48.08 kB / 1.065 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.213, allocations: 0 / 1.065 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.334e-06/1.213, allocations: 0 / 1.065 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/1.213, allocations: 0.5285 MB / 1.065 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005703/1.214, allocations: 345.2 kB / 1.066 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/1.214, allocations: 0.6887 MB / 1.066 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.428e-05/1.214, allocations: 0 / 1.066 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.796e-05/1.214, allocations: 14.56 kB / 1.066 GB, free: 5.941 MB / 0.6823 GB Notification: Performance of SimCode: time 4e-07/1.214, allocations: 4 kB / 1.066 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02261/1.237, allocations: 6.602 MB / 1.073 GB, free: 15.52 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002424/1.237, allocations: 277.8 kB / 1.073 GB, free: 15.18 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.969/3.206, allocations: 3.938 kB / 1.073 GB, free: 15.18 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)