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.Functions.Validation.InternalResistancesTwoUTubeNegative.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.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.707/1.707, allocations: 288.2 MB / 303.2 MB, free: 8.141 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.001176/0.001176, allocations: 170.7 kB / 371.8 MB, free: 10.33 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.722/1.722, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.0009822/0.0009825, allocations: 104 kB / 0.7439 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005015/0.0005012, allocations: 12.5 kB / 0.8669 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2562, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8714/1.128, allocations: 159.3 MB / 1.135 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/1.128, allocations: 121.4 kB / 1.135 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04254/1.171, allocations: 15.34 MB / 1.15 GB, free: 22.99 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.116e-06/1.171, allocations: 0 / 1.15 GB, free: 22.99 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.558e-06/1.171, allocations: 4 kB / 1.15 GB, free: 22.98 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.00117/1.172, allocations: 0.5628 MB / 1.151 GB, free: 22.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/1.172, allocations: 7.594 kB / 1.151 GB, free: 22.45 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.778e-05/1.172, allocations: 108.8 kB / 1.151 GB, free: 22.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.949e-05/1.172, allocations: 86.94 kB / 1.151 GB, free: 22.26 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/1.172, allocations: 250.1 kB / 1.151 GB, free: 21.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.071e-05/1.172, allocations: 154.6 kB / 1.151 GB, free: 21.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.115e-05/1.172, allocations: 150.6 kB / 1.151 GB, free: 21.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.962e-05/1.172, allocations: 105 kB / 1.152 GB, free: 21.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.646e-05/1.172, allocations: 75.28 kB / 1.152 GB, free: 21.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-05/1.173, allocations: 154.1 kB / 1.152 GB, free: 21.35 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.357e-05/1.173, allocations: 150.6 kB / 1.152 GB, free: 21.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.01e-05/1.173, allocations: 158.5 kB / 1.152 GB, free: 21.04 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/1.173, allocations: 465.2 kB / 1.152 GB, free: 20.55 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.588e-05/1.173, allocations: 165.1 kB / 1.153 GB, free: 20.38 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.432e-05/1.173, allocations: 79.16 kB / 1.153 GB, free: 20.31 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.266e-05/1.173, allocations: 109.8 kB / 1.153 GB, free: 20.19 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.021e-06/1.173, allocations: 0 / 1.153 GB, free: 20.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 8.791e-05/1.173, allocations: 44.94 kB / 1.153 GB, free: 20.15 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/1.173, allocations: 130.6 kB / 1.153 GB, free: 20.01 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/1.174, allocations: 112 kB / 1.153 GB, free: 19.91 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/1.174, allocations: 29.55 kB / 1.153 GB, free: 19.88 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.449e-05/1.174, allocations: 94.16 kB / 1.153 GB, free: 19.79 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.298e-06/1.174, allocations: 3.75 kB / 1.153 GB, free: 19.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-06/1.174, allocations: 4 kB / 1.153 GB, free: 19.79 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000133/1.174, allocations: 321.4 kB / 1.154 GB, free: 19.47 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.806e-05/1.174, allocations: 10.8 kB / 1.154 GB, free: 19.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.514e-05/1.174, allocations: 3.844 kB / 1.154 GB, free: 19.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.05e-05/1.174, allocations: 11 kB / 1.154 GB, free: 19.46 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.174, allocations: 0 / 1.154 GB, free: 19.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001608/1.174, allocations: 48.61 kB / 1.154 GB, free: 19.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/1.174, allocations: 3.906 kB / 1.154 GB, free: 19.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/1.174, allocations: 7.438 kB / 1.154 GB, free: 19.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/1.174, allocations: 4.062 kB / 1.154 GB, free: 19.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.885e-06/1.174, allocations: 7.922 kB / 1.154 GB, free: 19.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/1.174, allocations: 0 / 1.154 GB, free: 19.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.524e-05/1.174, allocations: 7.844 kB / 1.154 GB, free: 19.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/1.174, allocations: 3.906 kB / 1.154 GB, free: 19.41 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 (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.0001095/1.174, allocations: 186.6 kB / 1.154 GB, free: 19.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.507e-05/1.174, allocations: 104.8 kB / 1.154 GB, free: 19.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.385e-05/1.174, allocations: 112.8 kB / 1.154 GB, free: 18.99 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.638e-05/1.175, allocations: 187.7 kB / 1.154 GB, free: 18.81 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.197e-05/1.175, allocations: 176.3 kB / 1.154 GB, free: 18.63 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-05/1.175, allocations: 180.2 kB / 1.155 GB, free: 18.45 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/1.175, allocations: 416.1 kB / 1.155 GB, free: 18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.1e-05/1.175, allocations: 104.9 kB / 1.155 GB, free: 17.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/1.175, allocations: 109.1 kB / 1.155 GB, free: 17.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.282e-05/1.175, allocations: 188 kB / 1.155 GB, free: 17.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-05/1.175, allocations: 176.3 kB / 1.155 GB, free: 17.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-05/1.175, allocations: 176.3 kB / 1.156 GB, free: 17.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.407e-05/1.175, allocations: 191.2 kB / 1.156 GB, free: 17.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/1.176, allocations: 313.1 kB / 1.156 GB, free: 16.71 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.893e-05/1.176, allocations: 188.8 kB / 1.156 GB, free: 16.51 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.546e-05/1.176, allocations: 180 kB / 1.156 GB, free: 16.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.011e-05/1.176, allocations: 108.9 kB / 1.157 GB, free: 16.21 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.371e-05/1.176, allocations: 180.2 kB / 1.157 GB, free: 16.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.635e-05/1.176, allocations: 112.6 kB / 1.157 GB, free: 15.92 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.796e-05/1.176, allocations: 100 kB / 1.157 GB, free: 15.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/1.176, allocations: 0 / 1.157 GB, free: 15.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001281/1.177, allocations: 331.4 kB / 1.157 GB, free: 15.73 MB / 0.698 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 () * Number of clocked 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.002032/1.179, allocations: 1.205 MB / 1.158 GB, free: 14.76 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001074/1.179, allocations: 36.77 kB / 1.159 GB, free: 14.73 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.18, allocations: 7.875 kB / 1.159 GB, free: 14.72 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.327e-06/1.18, allocations: 7.844 kB / 1.159 GB, free: 14.71 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/1.18, allocations: 0.5298 MB / 1.159 GB, free: 14.19 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/1.181, allocations: 0.5985 MB / 1.16 GB, free: 13.63 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/1.181, allocations: 0.6926 MB / 1.16 GB, free: 12.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.912e-05/1.181, allocations: 0 / 1.16 GB, free: 12.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/1.181, allocations: 18.19 kB / 1.16 GB, free: 12.9 MB / 0.698 GB Notification: Performance of SimCode: time 5.31e-07/1.181, allocations: 0 / 1.16 GB, free: 12.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/1.206, allocations: 6.556 MB / 1.167 GB, free: 6.578 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003105/1.206, allocations: 323.6 kB / 1.167 GB, free: 6.215 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/3.038, allocations: 0 / 1.167 GB, free: 6.215 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)