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.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.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.712/1.712, allocations: 288.2 MB / 303.2 MB, free: 8.074 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.001335/0.001335, allocations: 177.1 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 2.004/2.004, 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.0009256/0.0009255, allocations: 101.2 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004046/0.0004047, allocations: 12.34 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2218, allocations: 115.3 MB / 0.9795 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7502/0.972, allocations: 159.3 MB / 1.135 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/0.9723, allocations: 123 kB / 1.135 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04161/1.014, allocations: 15.33 MB / 1.15 GB, free: 22.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.495e-06/1.014, allocations: 0 / 1.15 GB, free: 22.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.005e-06/1.014, allocations: 0 / 1.15 GB, free: 22.7 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.0009829/1.015, allocations: 0.5625 MB / 1.151 GB, free: 22.17 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/1.015, allocations: 7.688 kB / 1.151 GB, free: 22.17 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.307e-05/1.015, allocations: 109.8 kB / 1.151 GB, free: 22.05 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.75e-05/1.015, allocations: 86.53 kB / 1.151 GB, free: 21.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/1.015, allocations: 259.1 kB / 1.151 GB, free: 21.69 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.337e-05/1.015, allocations: 150.6 kB / 1.151 GB, free: 21.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-05/1.015, allocations: 158.4 kB / 1.151 GB, free: 21.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.756e-05/1.016, allocations: 101 kB / 1.152 GB, free: 21.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.886e-05/1.016, allocations: 79.28 kB / 1.152 GB, free: 21.21 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.028e-05/1.016, allocations: 154.5 kB / 1.152 GB, free: 21.05 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.229e-05/1.016, allocations: 150.6 kB / 1.152 GB, free: 20.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.56e-05/1.016, allocations: 157.9 kB / 1.152 GB, free: 20.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/1.016, allocations: 464.1 kB / 1.152 GB, free: 20.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.998e-05/1.016, allocations: 173 kB / 1.153 GB, free: 20.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/1.016, allocations: 75.28 kB / 1.153 GB, free: 20.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/1.016, allocations: 113.2 kB / 1.153 GB, free: 19.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/1.016, allocations: 0 / 1.153 GB, free: 19.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 8.31e-05/1.016, allocations: 41.38 kB / 1.153 GB, free: 19.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/1.016, allocations: 130.7 kB / 1.153 GB, free: 19.71 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/1.017, allocations: 117.3 kB / 1.153 GB, free: 19.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/1.017, allocations: 25.7 kB / 1.153 GB, free: 19.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.833e-05/1.017, allocations: 94.72 kB / 1.153 GB, free: 19.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/1.017, allocations: 0 / 1.153 GB, free: 19.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/1.017, allocations: 0 / 1.153 GB, free: 19.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001263/1.017, allocations: 322 kB / 1.154 GB, free: 19.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.201e-05/1.017, allocations: 7.125 kB / 1.154 GB, free: 19.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.491e-05/1.017, allocations: 7.859 kB / 1.154 GB, free: 19.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.542e-05/1.017, allocations: 11.31 kB / 1.154 GB, free: 19.17 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.017, allocations: 0 / 1.154 GB, free: 19.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001292/1.017, allocations: 48.33 kB / 1.154 GB, free: 19.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/1.017, allocations: 3.875 kB / 1.154 GB, free: 19.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/1.017, allocations: 3.844 kB / 1.154 GB, free: 19.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/1.017, allocations: 0 / 1.154 GB, free: 19.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/1.017, allocations: 0 / 1.154 GB, free: 19.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/1.017, allocations: 0 / 1.154 GB, free: 19.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.719e-05/1.017, allocations: 15.64 kB / 1.154 GB, free: 19.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/1.017, allocations: 0 / 1.154 GB, free: 19.12 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.0001247/1.017, allocations: 189.1 kB / 1.154 GB, free: 18.93 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.471e-05/1.017, allocations: 108.2 kB / 1.154 GB, free: 18.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.738e-05/1.017, allocations: 112.6 kB / 1.154 GB, free: 18.71 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.76e-05/1.018, allocations: 180.2 kB / 1.154 GB, free: 18.53 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.877e-05/1.018, allocations: 180.3 kB / 1.154 GB, free: 18.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.321e-05/1.018, allocations: 186.9 kB / 1.155 GB, free: 18.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/1.018, allocations: 412.7 kB / 1.155 GB, free: 17.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.553e-05/1.018, allocations: 108.8 kB / 1.155 GB, free: 17.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.348e-05/1.018, allocations: 109 kB / 1.155 GB, free: 17.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.353e-05/1.018, allocations: 180.3 kB / 1.155 GB, free: 17.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.713e-05/1.018, allocations: 180.2 kB / 1.155 GB, free: 17.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-05/1.018, allocations: 180.3 kB / 1.156 GB, free: 16.94 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-05/1.018, allocations: 184.2 kB / 1.156 GB, free: 16.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/1.019, allocations: 312.2 kB / 1.156 GB, free: 16.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.946e-05/1.019, allocations: 197.7 kB / 1.156 GB, free: 16.22 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.237e-05/1.019, allocations: 184.1 kB / 1.156 GB, free: 16.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.755e-05/1.019, allocations: 104.9 kB / 1.157 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.331e-05/1.019, allocations: 180.2 kB / 1.157 GB, free: 15.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.06e-05/1.019, allocations: 108.8 kB / 1.157 GB, free: 15.63 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.698e-05/1.019, allocations: 99.67 kB / 1.157 GB, free: 15.55 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/1.019, allocations: 0 / 1.157 GB, free: 15.55 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001221/1.02, allocations: 329.9 kB / 1.157 GB, free: 15.45 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.001351/1.022, allocations: 1.209 MB / 1.158 GB, free: 14.47 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.672e-05/1.022, allocations: 37.27 kB / 1.158 GB, free: 14.44 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.022, allocations: 0 / 1.158 GB, free: 14.44 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.317e-06/1.022, allocations: 12 kB / 1.159 GB, free: 14.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/1.022, allocations: 0.5337 MB / 1.159 GB, free: 13.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007328/1.023, allocations: 0.5983 MB / 1.16 GB, free: 13.35 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/1.023, allocations: 0.6922 MB / 1.16 GB, free: 12.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.588e-05/1.023, allocations: 0 / 1.16 GB, free: 12.64 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/1.023, allocations: 18.44 kB / 1.16 GB, free: 12.63 MB / 0.698 GB Notification: Performance of SimCode: time 6.41e-07/1.023, allocations: 0 / 1.16 GB, free: 12.63 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01901/1.042, allocations: 6.553 MB / 1.167 GB, free: 6.473 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002733/1.043, allocations: 311.6 kB / 1.167 GB, free: 6.113 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.96/3.002, allocations: 0 / 1.167 GB, free: 6.113 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.8.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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)