Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.68/2.68, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.001475/0.001475, allocations: 186.2 kB / 370.8 MB, free: 10.84 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.062/2.062, allocations: 205.4 MB / 0.6295 GB, free: 10.51 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.001165/0.001165, allocations: 97.66 kB / 0.7428 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006455/0.0006455, allocations: 11.45 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2101, allocations: 115.3 MB / 0.9783 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9684/1.179, allocations: 159.2 MB / 1.134 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003909/1.179, allocations: 125.1 kB / 1.134 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06952/1.249, allocations: 15.05 MB / 1.149 GB, free: 23.19 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.983e-06/1.249, allocations: 0 / 1.149 GB, free: 23.19 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.406e-06/1.249, allocations: 0 / 1.149 GB, free: 23.19 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.001139/1.25, allocations: 0.5844 MB / 1.149 GB, free: 22.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/1.25, allocations: 11.66 kB / 1.149 GB, free: 22.64 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.679e-05/1.25, allocations: 113.8 kB / 1.149 GB, free: 22.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.452e-05/1.25, allocations: 83.14 kB / 1.149 GB, free: 22.44 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/1.25, allocations: 238.2 kB / 1.15 GB, free: 22.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.736e-05/1.25, allocations: 154.4 kB / 1.15 GB, free: 22.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.58e-05/1.25, allocations: 150.6 kB / 1.15 GB, free: 21.88 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.89e-05/1.25, allocations: 105 kB / 1.15 GB, free: 21.77 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.129e-05/1.25, allocations: 75.28 kB / 1.15 GB, free: 21.69 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.629e-05/1.25, allocations: 154.5 kB / 1.15 GB, free: 21.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.708e-05/1.251, allocations: 154 kB / 1.15 GB, free: 21.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.779e-05/1.251, allocations: 154.5 kB / 1.151 GB, free: 21.24 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003179/1.251, allocations: 476.3 kB / 1.151 GB, free: 20.74 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.541e-05/1.251, allocations: 169.1 kB / 1.151 GB, free: 20.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/1.251, allocations: 75.28 kB / 1.151 GB, free: 20.49 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.158e-05/1.251, allocations: 109.8 kB / 1.151 GB, free: 20.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 3.166e-06/1.251, allocations: 0 / 1.151 GB, free: 20.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 8.512e-05/1.251, allocations: 41.36 kB / 1.151 GB, free: 20.34 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.078e-05/1.251, allocations: 130.7 kB / 1.151 GB, free: 20.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/1.251, allocations: 121.6 kB / 1.152 GB, free: 20.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/1.251, allocations: 25.7 kB / 1.152 GB, free: 20.06 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.451e-05/1.252, allocations: 94.86 kB / 1.152 GB, free: 19.98 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/1.252, allocations: 0 / 1.152 GB, free: 19.98 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/1.252, allocations: 0 / 1.152 GB, free: 19.98 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001593/1.252, allocations: 322.7 kB / 1.152 GB, free: 19.66 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.076e-05/1.252, allocations: 3.875 kB / 1.152 GB, free: 19.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.407e-05/1.252, allocations: 15.72 kB / 1.152 GB, free: 19.65 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.532e-05/1.252, allocations: 3.906 kB / 1.152 GB, free: 19.65 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.252, allocations: 0 / 1.152 GB, free: 19.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001493/1.252, allocations: 52.94 kB / 1.152 GB, free: 19.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/1.252, allocations: 3.906 kB / 1.152 GB, free: 19.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/1.252, allocations: 3.812 kB / 1.152 GB, free: 19.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/1.252, allocations: 0 / 1.152 GB, free: 19.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.323e-06/1.252, allocations: 0 / 1.152 GB, free: 19.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/1.252, allocations: 0 / 1.152 GB, free: 19.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.805e-05/1.252, allocations: 7.812 kB / 1.152 GB, free: 19.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/1.252, allocations: 4.062 kB / 1.152 GB, free: 19.6 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.0001132/1.252, allocations: 192.6 kB / 1.152 GB, free: 19.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.084e-05/1.252, allocations: 109 kB / 1.152 GB, free: 19.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.972e-05/1.252, allocations: 112.7 kB / 1.152 GB, free: 19.18 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-05/1.253, allocations: 176.3 kB / 1.153 GB, free: 19 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.115e-05/1.253, allocations: 180.2 kB / 1.153 GB, free: 18.82 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.97e-05/1.253, allocations: 187.7 kB / 1.153 GB, free: 18.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/1.253, allocations: 412.3 kB / 1.153 GB, free: 18.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-05/1.253, allocations: 112 kB / 1.154 GB, free: 18.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-05/1.253, allocations: 101 kB / 1.154 GB, free: 17.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.93e-05/1.253, allocations: 180.2 kB / 1.154 GB, free: 17.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.941e-05/1.253, allocations: 188.3 kB / 1.154 GB, free: 17.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.9e-05/1.253, allocations: 180 kB / 1.154 GB, free: 17.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-05/1.253, allocations: 184.1 kB / 1.154 GB, free: 17.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/1.254, allocations: 313 kB / 1.155 GB, free: 16.91 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.878e-05/1.254, allocations: 193.9 kB / 1.155 GB, free: 16.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.499e-05/1.254, allocations: 184.1 kB / 1.155 GB, free: 16.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.96e-05/1.254, allocations: 101 kB / 1.155 GB, free: 16.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/1.254, allocations: 180.2 kB / 1.155 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.183e-05/1.254, allocations: 104.9 kB / 1.155 GB, free: 16.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.98e-05/1.254, allocations: 98.91 kB / 1.155 GB, free: 16.04 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.9e-07/1.254, allocations: 0 / 1.155 GB, free: 16.04 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001243/1.255, allocations: 333.8 kB / 1.156 GB, free: 15.93 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.002093/1.257, allocations: 1.205 MB / 1.157 GB, free: 14.95 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001447/1.258, allocations: 45.03 kB / 1.157 GB, free: 14.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.258, allocations: 4.062 kB / 1.157 GB, free: 14.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.071e-06/1.258, allocations: 11.5 kB / 1.157 GB, free: 14.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/1.258, allocations: 0.5185 MB / 1.157 GB, free: 14.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/1.259, allocations: 0.6106 MB / 1.158 GB, free: 13.82 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/1.26, allocations: 0.6884 MB / 1.159 GB, free: 13.12 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.446e-05/1.26, allocations: 0 / 1.159 GB, free: 13.12 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.293e-05/1.26, allocations: 22.47 kB / 1.159 GB, free: 13.11 MB / 0.698 GB Notification: Performance of SimCode: time 1.242e-06/1.26, allocations: 0 / 1.159 GB, free: 13.11 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02922/1.289, allocations: 6.563 MB / 1.165 GB, free: 7.777 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003185/1.289, allocations: 313.4 kB / 1.165 GB, free: 7.414 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.653/3.942, allocations: 0 / 1.165 GB, free: 7.414 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)