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.566/1.566, allocations: 249.3 MB / 261.8 MB, free: 5.809 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001208/0.001208, allocations: 172.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.793/1.793, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.0009901/0.0009899, allocations: 91.34 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.259e-05/4.261e-05, allocations: 4 kB / 0.7881 GB, free: 96.95 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2339, allocations: 106.3 MB / 0.8919 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8548/1.089, allocations: 152.2 MB / 1.041 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003225/1.089, allocations: 122.2 kB / 1.041 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.04668/1.136, allocations: 14.94 MB / 1.055 GB, free: 1.629 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.333e-06/1.136, allocations: 0 / 1.055 GB, free: 1.629 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.991e-06/1.136, allocations: 0 / 1.055 GB, free: 1.629 MB / 0.6667 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.001061/1.137, allocations: 0.5558 MB / 1.056 GB, free: 1.035 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/1.137, allocations: 12.02 kB / 1.056 GB, free: 1.023 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.481e-05/1.137, allocations: 105.8 kB / 1.056 GB, free: 0.9102 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.851e-05/1.137, allocations: 87.45 kB / 1.056 GB, free: 0.8242 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/1.137, allocations: 247.6 kB / 1.056 GB, free: 0.5469 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.808e-05/1.137, allocations: 150.6 kB / 1.056 GB, free: 408 kB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.889e-05/1.137, allocations: 150.6 kB / 1.056 GB, free: 256 kB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.528e-05/1.138, allocations: 105 kB / 1.057 GB, free: 144 kB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.373e-05/1.138, allocations: 83.27 kB / 1.057 GB, free: 60 kB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-05/1.138, allocations: 150.6 kB / 1.057 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.936e-05/1.138, allocations: 154.5 kB / 1.057 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.345e-05/1.138, allocations: 150.6 kB / 1.057 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/1.138, allocations: 475.4 kB / 1.058 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.946e-05/1.138, allocations: 165.1 kB / 1.058 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/1.138, allocations: 80.14 kB / 1.058 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.899e-05/1.138, allocations: 75.28 kB / 1.058 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.757e-05/1.138, allocations: 121.8 kB / 1.058 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/1.138, allocations: 0 / 1.058 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 8.633e-05/1.139, allocations: 32.86 kB / 1.058 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/1.139, allocations: 126.7 kB / 1.058 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/1.139, allocations: 116.4 kB / 1.058 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/1.139, allocations: 25.7 kB / 1.058 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.417e-05/1.139, allocations: 93.02 kB / 1.058 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.033e-06/1.139, allocations: 0 / 1.058 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.733e-06/1.139, allocations: 7.938 kB / 1.058 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002452/1.139, allocations: 321.5 kB / 1.059 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.194e-05/1.139, allocations: 4 kB / 1.059 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.715e-05/1.139, allocations: 4 kB / 1.059 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.493e-05/1.139, allocations: 15.06 kB / 1.059 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.139, allocations: 0 / 1.059 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001691/1.139, allocations: 45.59 kB / 1.059 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/1.14, allocations: 8 kB / 1.059 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-05/1.14, allocations: 0 / 1.059 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/1.14, allocations: 4.062 kB / 1.059 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-06/1.14, allocations: 4 kB / 1.059 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/1.14, allocations: 0 / 1.059 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.299e-05/1.14, allocations: 3.188 kB / 1.059 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/1.14, allocations: 0 / 1.059 GB, free: 13.83 MB / 0.6823 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.0001646/1.14, allocations: 184.2 kB / 1.059 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.659e-05/1.14, allocations: 108.8 kB / 1.059 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.714e-05/1.14, allocations: 116.4 kB / 1.059 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.99e-05/1.14, allocations: 184 kB / 1.059 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001093/1.14, allocations: 184.2 kB / 1.06 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001046/1.14, allocations: 180.3 kB / 1.06 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003324/1.141, allocations: 424.2 kB / 1.06 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.147e-05/1.141, allocations: 101 kB / 1.06 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.877e-05/1.141, allocations: 109 kB / 1.06 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001083/1.141, allocations: 180.2 kB / 1.06 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.788e-05/1.141, allocations: 176.3 kB / 1.061 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.624e-05/1.141, allocations: 184.2 kB / 1.061 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000106/1.141, allocations: 186.9 kB / 1.061 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/1.141, allocations: 311.3 kB / 1.061 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/1.142, allocations: 186 kB / 1.061 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/1.142, allocations: 184.2 kB / 1.062 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.503e-05/1.142, allocations: 102 kB / 1.062 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.312e-05/1.142, allocations: 180.2 kB / 1.062 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.721e-05/1.142, allocations: 109 kB / 1.062 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.241e-05/1.142, allocations: 101.1 kB / 1.062 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/1.142, allocations: 0 / 1.062 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001326/1.143, allocations: 321.8 kB / 1.062 GB, free: 9.914 MB / 0.6823 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.001611/1.145, allocations: 1.212 MB / 1.064 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001025/1.145, allocations: 49.12 kB / 1.064 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.145, allocations: 0 / 1.064 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.204e-06/1.145, allocations: 0 / 1.064 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/1.146, allocations: 0.5222 MB / 1.064 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005773/1.146, allocations: 349 kB / 1.064 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/1.146, allocations: 0.6887 MB / 1.065 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.495e-05/1.146, allocations: 0 / 1.065 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/1.146, allocations: 11.31 kB / 1.065 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of SimCode: time 3.61e-07/1.146, allocations: 0 / 1.065 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02045/1.167, allocations: 6.459 MB / 1.071 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002386/1.167, allocations: 289.4 kB / 1.072 GB, free: 376 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.894/3.061, allocations: 0 / 1.072 GB, free: 376 kB / 0.6823 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)