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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.537/1.537, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001194/0.001194, allocations: 186.7 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.954/1.954, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.001091/0.001091, allocations: 94.03 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.0003499, allocations: 11.02 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2442, allocations: 106.3 MB / 0.9002 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1976/0.4419, allocations: 152.2 MB / 1.049 GB, free: 7.297 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003303/0.4423, allocations: 119.9 kB / 1.049 GB, free: 7.18 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5252/0.9675, allocations: 15.02 MB / 1.064 GB, free: 150.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.214e-06/0.9675, allocations: 0 / 1.064 GB, free: 150.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.9675, allocations: 0.6562 kB / 1.064 GB, free: 150.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.0009947/0.9685, allocations: 0.5603 MB / 1.064 GB, free: 150.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.9686, allocations: 8.875 kB / 1.064 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.865e-05/0.9686, allocations: 105.8 kB / 1.064 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.509e-05/0.9687, allocations: 89.19 kB / 1.064 GB, free: 150 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.9688, allocations: 249.7 kB / 1.065 GB, free: 149.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.9688, allocations: 155.1 kB / 1.065 GB, free: 149.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.434e-05/0.9689, allocations: 157.7 kB / 1.065 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.906e-05/0.9689, allocations: 102.4 kB / 1.065 GB, free: 149.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.9689, allocations: 75.94 kB / 1.065 GB, free: 149.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.969, allocations: 150.6 kB / 1.065 GB, free: 149.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.597e-05/0.969, allocations: 155.3 kB / 1.065 GB, free: 148.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.955e-05/0.969, allocations: 157.1 kB / 1.066 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002241/0.9693, allocations: 465.1 kB / 1.066 GB, free: 148.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.84e-05/0.9693, allocations: 165.8 kB / 1.066 GB, free: 148.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.9693, allocations: 83.22 kB / 1.066 GB, free: 148 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.9694, allocations: 116 kB / 1.066 GB, free: 147.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.9694, allocations: 0 / 1.066 GB, free: 147.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.564e-05/0.9695, allocations: 33.25 kB / 1.066 GB, free: 147.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.9695, allocations: 126.7 kB / 1.066 GB, free: 147.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.9696, allocations: 117.3 kB / 1.067 GB, free: 147.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.9696, allocations: 28.42 kB / 1.067 GB, free: 147.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.181e-05/0.9697, allocations: 91.53 kB / 1.067 GB, free: 147.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.9697, allocations: 2.625 kB / 1.067 GB, free: 147.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-06/0.9697, allocations: 0 / 1.067 GB, free: 147.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.679e-05/0.9697, allocations: 321 kB / 1.067 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.284e-05/0.9698, allocations: 4.953 kB / 1.067 GB, free: 147.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.441e-05/0.9698, allocations: 6.844 kB / 1.067 GB, free: 147.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.545e-05/0.9698, allocations: 6.703 kB / 1.067 GB, free: 147.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.9698, allocations: 0 / 1.067 GB, free: 147.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001177/0.97, allocations: 51.09 kB / 1.067 GB, free: 147.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.97, allocations: 9.344 kB / 1.067 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/0.97, allocations: 3.234 kB / 1.067 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.97, allocations: 0 / 1.067 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.234e-06/0.97, allocations: 1.125 kB / 1.067 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.97, allocations: 0.7031 kB / 1.067 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.045e-05/0.9701, allocations: 0 / 1.067 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.9701, allocations: 3.219 kB / 1.067 GB, free: 147.2 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 6.958e-05/0.9702, allocations: 187.7 kB / 1.067 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.9702, allocations: 117.6 kB / 1.067 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/0.9702, allocations: 111 kB / 1.068 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.889e-05/0.9703, allocations: 180.9 kB / 1.068 GB, free: 146.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.861e-05/0.9703, allocations: 180.2 kB / 1.068 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.103e-05/0.9703, allocations: 188.1 kB / 1.068 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.9705, allocations: 417.5 kB / 1.068 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-05/0.9705, allocations: 110.3 kB / 1.069 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.846e-05/0.9706, allocations: 105.5 kB / 1.069 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.7e-05/0.9706, allocations: 177 kB / 1.069 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/0.9706, allocations: 183.6 kB / 1.069 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.358e-05/0.9707, allocations: 180.9 kB / 1.069 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.767e-05/0.9707, allocations: 189.9 kB / 1.069 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.743e-05/0.9708, allocations: 311 kB / 1.07 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.82e-05/0.9709, allocations: 191.6 kB / 1.07 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/0.9709, allocations: 180.2 kB / 1.07 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.971, allocations: 105.2 kB / 1.07 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.9711, allocations: 185 kB / 1.07 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.9711, allocations: 104.8 kB / 1.07 GB, free: 143.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.507e-05/0.9711, allocations: 98.97 kB / 1.07 GB, free: 143.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9711, allocations: 0 / 1.07 GB, free: 143.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001166/0.9723, allocations: 321.4 kB / 1.071 GB, free: 143.6 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.001371/0.9737, allocations: 1.211 MB / 1.072 GB, free: 142.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.493e-05/0.9738, allocations: 38.45 kB / 1.072 GB, free: 142.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.9738, allocations: 0 / 1.072 GB, free: 142.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.336e-06/0.9738, allocations: 1.141 kB / 1.072 GB, free: 142.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.9741, allocations: 0.5346 MB / 1.073 GB, free: 142.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007386/0.9748, allocations: 0.6006 MB / 1.073 GB, free: 141.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.975, allocations: 0.6854 MB / 1.074 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.354e-05/0.975, allocations: 0.7188 kB / 1.074 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.975, allocations: 14.95 kB / 1.074 GB, free: 140.9 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.975, allocations: 0 / 1.074 GB, free: 140.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.9984, allocations: 6.426 MB / 1.08 GB, free: 140.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/0.9986, allocations: 320.3 kB / 1.08 GB, free: 140 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.827/2.826, allocations: 0 / 1.08 GB, free: 140 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)