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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.793/1.793, allocations: 285.4 MB / 298 MB, free: 5.965 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.001569/0.001569, allocations: 176.8 kB / 366.4 MB, free: 2.066 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.746/1.746, allocations: 205.2 MB / 0.6248 GB, free: 7.723 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008752/0.000875, allocations: 102.3 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.004e-05/4.012e-05, allocations: 4 kB / 0.8584 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8805/0.8806, allocations: 115.3 MB / 0.971 GB, free: 77.97 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2314/1.112, allocations: 158.5 MB / 1.126 GB, free: 9.262 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003473/1.112, allocations: 121.3 kB / 1.126 GB, free: 9.145 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04557/1.158, allocations: 14.95 MB / 1.141 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.513e-06/1.158, allocations: 0 / 1.141 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.543e-06/1.158, allocations: 0 / 1.141 GB, free: 10.24 MB / 0.7448 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.001096/1.159, allocations: 0.5566 MB / 1.141 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.16e-05/1.159, allocations: 8.031 kB / 1.141 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.884e-05/1.159, allocations: 108.3 kB / 1.141 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.469e-05/1.159, allocations: 83.28 kB / 1.141 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/1.16, allocations: 255.3 kB / 1.141 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.986e-05/1.16, allocations: 150.6 kB / 1.142 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.128e-05/1.16, allocations: 150.6 kB / 1.142 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.818e-05/1.16, allocations: 104 kB / 1.142 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.212e-05/1.16, allocations: 83.22 kB / 1.142 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.589e-05/1.16, allocations: 150.6 kB / 1.142 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.108e-05/1.16, allocations: 154.6 kB / 1.142 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.786e-05/1.16, allocations: 150.6 kB / 1.142 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/1.16, allocations: 469.8 kB / 1.143 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/1.161, allocations: 169.1 kB / 1.143 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.212e-05/1.161, allocations: 88.08 kB / 1.143 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.08e-05/1.161, allocations: 79.27 kB / 1.143 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/1.161, allocations: 113.8 kB / 1.143 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/1.161, allocations: 0 / 1.143 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 8.023e-05/1.161, allocations: 29.61 kB / 1.143 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/1.161, allocations: 126.7 kB / 1.143 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/1.161, allocations: 124.5 kB / 1.144 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/1.161, allocations: 25.7 kB / 1.144 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.143e-05/1.161, allocations: 92.14 kB / 1.144 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-06/1.161, allocations: 0 / 1.144 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-06/1.161, allocations: 0 / 1.144 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001225/1.161, allocations: 318.8 kB / 1.144 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.54e-05/1.161, allocations: 11.94 kB / 1.144 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.454e-05/1.161, allocations: 4 kB / 1.144 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.746e-05/1.161, allocations: 8.031 kB / 1.144 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.161, allocations: 0 / 1.144 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001222/1.162, allocations: 49.64 kB / 1.144 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/1.162, allocations: 8 kB / 1.144 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/1.162, allocations: 3.984 kB / 1.144 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/1.162, allocations: 4 kB / 1.144 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/1.162, allocations: 0 / 1.144 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/1.162, allocations: 0 / 1.144 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.262e-05/1.162, allocations: 0 / 1.144 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/1.162, allocations: 0 / 1.144 GB, free: 6.402 MB / 0.7448 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.0001043/1.162, allocations: 188.2 kB / 1.144 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.185e-05/1.162, allocations: 115.8 kB / 1.144 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.196e-05/1.162, allocations: 112.6 kB / 1.144 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.238e-05/1.162, allocations: 180.4 kB / 1.145 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.71e-05/1.162, allocations: 181.4 kB / 1.145 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.435e-05/1.162, allocations: 180.3 kB / 1.145 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/1.162, allocations: 421.1 kB / 1.145 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.87e-05/1.162, allocations: 105 kB / 1.145 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.097e-05/1.162, allocations: 108.9 kB / 1.146 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.66e-05/1.163, allocations: 176.3 kB / 1.146 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.838e-05/1.163, allocations: 176.3 kB / 1.146 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.154e-05/1.163, allocations: 189.9 kB / 1.146 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.091e-05/1.163, allocations: 180.3 kB / 1.146 GB, free: 4 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/1.163, allocations: 307.7 kB / 1.147 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.412e-05/1.163, allocations: 190 kB / 1.147 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.863e-05/1.163, allocations: 184.2 kB / 1.147 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.783e-05/1.163, allocations: 105.9 kB / 1.147 GB, free: 3.168 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.086e-05/1.163, allocations: 184.2 kB / 1.147 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.678e-05/1.163, allocations: 105 kB / 1.147 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.797e-05/1.163, allocations: 96.98 kB / 1.147 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.163, allocations: 0 / 1.147 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001063/1.165, allocations: 323.4 kB / 1.148 GB, free: 2.461 MB / 0.7448 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.001537/1.166, allocations: 1.21 MB / 1.149 GB, free: 1.234 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.836e-05/1.166, allocations: 45.64 kB / 1.149 GB, free: 1.184 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.166, allocations: 0 / 1.149 GB, free: 1.184 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.834e-06/1.166, allocations: 0 / 1.149 GB, free: 1.184 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/1.167, allocations: 0.5269 MB / 1.149 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005846/1.167, allocations: 334.8 kB / 1.15 GB, free: 296 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/1.167, allocations: 0.6887 MB / 1.15 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.269e-05/1.168, allocations: 4 kB / 1.15 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.294e-05/1.168, allocations: 11.44 kB / 1.15 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of SimCode: time 2.71e-07/1.168, allocations: 0 / 1.15 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02258/1.19, allocations: 6.455 MB / 1.157 GB, free: 9.328 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002746/1.19, allocations: 281 kB / 1.157 GB, free: 8.996 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.807/2.997, allocations: 11.31 kB / 1.157 GB, free: 8.988 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_maint.8.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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)