Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_latest_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_latest_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 198.5 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.597/2.597, allocations: 461.9 MB / 0.7347 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001449, allocations: 57.39 kB / 0.8993 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.313, allocations: 157.4 MB / 1.053 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002947/0.316, allocations: 1.444 MB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004545/0.3205, allocations: 2.864 MB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.066e-05/0.3206, allocations: 0 / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.892e-05/0.3207, allocations: 7.922 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.003e-05/0.3208, allocations: 15.86 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.004052/0.3248, allocations: 1.551 MB / 1.059 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.551e-05/0.3249, allocations: 43.73 kB / 1.059 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.911e-05/0.325, allocations: 3.984 kB / 1.059 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.9e-05/0.325, allocations: 15.94 kB / 1.059 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.667e-05/0.325, allocations: 15.88 kB / 1.059 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.325, allocations: 0 / 1.059 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00222/0.3273, allocations: 1.427 MB / 1.06 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.3273, allocations: 7.984 kB / 1.06 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.3273, allocations: 15.88 kB / 1.06 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002038/0.3294, allocations: 1.084 MB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3294, allocations: 0 / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.215e-06/0.3294, allocations: 0 / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.3294, allocations: 0 / 1.061 GB, free: 15.71 MB / 0.8262 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.0008828/0.3303, allocations: 0.508 MB / 1.062 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.3304, allocations: 12.62 kB / 1.062 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.699e-05/0.3304, allocations: 110 kB / 1.062 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.52e-05/0.3305, allocations: 84.12 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.3307, allocations: 259.5 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.054e-05/0.3307, allocations: 150.9 kB / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.202e-05/0.3308, allocations: 154.9 kB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.043e-05/0.3309, allocations: 104.9 kB / 1.063 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/0.3309, allocations: 75.28 kB / 1.063 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.594e-05/0.3309, allocations: 154.6 kB / 1.063 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-05/0.331, allocations: 150.6 kB / 1.063 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.433e-05/0.3311, allocations: 158.4 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000283/0.3314, allocations: 469.8 kB / 1.064 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.38e-05/0.3314, allocations: 173.1 kB / 1.064 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.44e-05/0.3315, allocations: 88.14 kB / 1.064 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.3315, allocations: 79.27 kB / 1.064 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.3316, allocations: 109.8 kB / 1.064 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3316, allocations: 0 / 1.064 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.871e-05/0.3316, allocations: 37.55 kB / 1.064 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.3317, allocations: 134.7 kB / 1.064 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.3318, allocations: 132 kB / 1.064 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.3319, allocations: 25.7 kB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.597e-05/0.3319, allocations: 88.14 kB / 1.064 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.3319, allocations: 0 / 1.064 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.332, allocations: 17.72 kB / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.027e-05/0.3321, allocations: 314.8 kB / 1.065 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.912e-05/0.3321, allocations: 8 kB / 1.065 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.599e-05/0.3321, allocations: 8 kB / 1.065 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.425e-05/0.3322, allocations: 8.859 kB / 1.065 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.3322, allocations: 0 / 1.065 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001425/0.3323, allocations: 61.47 kB / 1.065 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3323, allocations: 4 kB / 1.065 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.3324, allocations: 0 / 1.065 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.3324, allocations: 4 kB / 1.065 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.3324, allocations: 0 / 1.065 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.3324, allocations: 3.984 kB / 1.065 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.255e-05/0.3324, allocations: 3.938 kB / 1.065 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.3324, allocations: 4.062 kB / 1.065 GB, free: 11.84 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.312e-05/0.3325, allocations: 185.1 kB / 1.065 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.835e-05/0.3326, allocations: 120.8 kB / 1.065 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.057e-05/0.3326, allocations: 108.9 kB / 1.065 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.585e-05/0.3327, allocations: 176.3 kB / 1.065 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-05/0.3327, allocations: 184.2 kB / 1.066 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.72e-05/0.3328, allocations: 184.2 kB / 1.066 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.333, allocations: 417.1 kB / 1.066 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.834e-05/0.333, allocations: 105 kB / 1.066 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.038e-05/0.3331, allocations: 101 kB / 1.066 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.705e-05/0.3331, allocations: 184.1 kB / 1.066 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.292e-05/0.3332, allocations: 184.2 kB / 1.067 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.421e-05/0.3332, allocations: 188.2 kB / 1.067 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.517e-05/0.3333, allocations: 180.3 kB / 1.067 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.3334, allocations: 311.6 kB / 1.067 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.56e-05/0.3335, allocations: 194.1 kB / 1.067 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.465e-05/0.3336, allocations: 180.2 kB / 1.068 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.386e-05/0.3336, allocations: 104.9 kB / 1.068 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.469e-05/0.3337, allocations: 176.3 kB / 1.068 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.3337, allocations: 112.9 kB / 1.068 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.716e-05/0.3338, allocations: 100.4 kB / 1.068 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3338, allocations: 0 / 1.068 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008308/0.3347, allocations: 283.8 kB / 1.068 GB, free: 7.922 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001379/0.336, allocations: 1.152 MB / 1.07 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.746e-05/0.3362, allocations: 41.64 kB / 1.07 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.3362, allocations: 0 / 1.07 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.055e-06/0.3362, allocations: 0 / 1.07 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.3366, allocations: 466 kB / 1.07 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.338, allocations: 1.583 MB / 1.072 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.3382, allocations: 0.6807 MB / 1.072 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.616e-05/0.3382, allocations: 0 / 1.072 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.3382, allocations: 11.44 kB / 1.072 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.3382, allocations: 0 / 1.072 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.096/2.434, allocations: 6.868 MB / 1.079 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.39/17.83, allocations: 14.19 kB / 1.079 GB, free: 13.16 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)