Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.004512/0.004513, allocations: 100.8 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 197.3 kB / 16.67 MB, free: 5.969 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.548/2.548, allocations: 469.8 MB / 0.7425 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 68.11 kB / 1.065 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6468/0.6486, allocations: 159.1 MB / 1.22 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002363/0.651, allocations: 1.419 MB / 1.222 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004129/0.6552, allocations: 2.872 MB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.024e-05/0.6552, allocations: 0 / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.162e-05/0.6553, allocations: 7.938 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.797e-05/0.6553, allocations: 15.84 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003502/0.6588, allocations: 1.553 MB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.654e-05/0.6589, allocations: 35.75 kB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.726e-05/0.659, allocations: 11.89 kB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3e-05/0.659, allocations: 19.92 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.828e-05/0.659, allocations: 15.94 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.6591, allocations: 0 / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002111/0.6612, allocations: 1.482 MB / 1.228 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.6612, allocations: 11.94 kB / 1.228 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.6612, allocations: 19.86 kB / 1.228 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.6626, allocations: 1.091 MB / 1.229 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.6626, allocations: 0 / 1.229 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6626, allocations: 0 / 1.229 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.6627, allocations: 4 kB / 1.229 GB, free: 9.445 MB / 0.9512 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.0005989/0.6633, allocations: 0.5208 MB / 1.229 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.6633, allocations: 12.03 kB / 1.229 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.21e-05/0.6634, allocations: 106 kB / 1.229 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.518e-05/0.6634, allocations: 84.17 kB / 1.229 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.6636, allocations: 251.5 kB / 1.23 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.015e-05/0.6637, allocations: 150.9 kB / 1.23 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.497e-05/0.6637, allocations: 162.9 kB / 1.23 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.607e-05/0.6638, allocations: 104.9 kB / 1.23 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/0.6639, allocations: 75.28 kB / 1.23 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.768e-05/0.6639, allocations: 154.5 kB / 1.23 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.599e-05/0.664, allocations: 150.6 kB / 1.23 GB, free: 7.59 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.135e-05/0.664, allocations: 158.6 kB / 1.23 GB, free: 7.434 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002964/0.6643, allocations: 457.9 kB / 1.231 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.445e-05/0.6644, allocations: 173.1 kB / 1.231 GB, free: 6.758 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.887e-05/0.6645, allocations: 80.14 kB / 1.231 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.6645, allocations: 83.16 kB / 1.231 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.908e-05/0.6646, allocations: 113.8 kB / 1.231 GB, free: 6.473 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.6646, allocations: 0 / 1.231 GB, free: 6.473 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 7.213e-05/0.6647, allocations: 41.58 kB / 1.231 GB, free: 6.426 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.33e-05/0.6647, allocations: 126.7 kB / 1.231 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.6649, allocations: 127.9 kB / 1.232 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.6649, allocations: 25.7 kB / 1.232 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/0.6649, allocations: 100.1 kB / 1.232 GB, free: 6.023 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.6649, allocations: 0 / 1.232 GB, free: 6.023 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.665, allocations: 17.7 kB / 1.232 GB, free: 6 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.6651, allocations: 318.8 kB / 1.232 GB, free: 5.68 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/0.6651, allocations: 0 / 1.232 GB, free: 5.68 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.827e-05/0.6652, allocations: 11.94 kB / 1.232 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.551e-05/0.6652, allocations: 12.84 kB / 1.232 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.6652, allocations: 0 / 1.232 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001115/0.6653, allocations: 53.59 kB / 1.232 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.6653, allocations: 8.062 kB / 1.232 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.6654, allocations: 4 kB / 1.232 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.6654, allocations: 0 / 1.232 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-07/0.6654, allocations: 0 / 1.232 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.6654, allocations: 0 / 1.232 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.203e-05/0.6654, allocations: 3.984 kB / 1.232 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.6654, allocations: 4 kB / 1.232 GB, free: 5.574 MB / 0.9512 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 9.805e-05/0.6655, allocations: 181.7 kB / 1.232 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.11e-05/0.6656, allocations: 124.9 kB / 1.232 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.417e-05/0.6657, allocations: 108.9 kB / 1.233 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.44e-05/0.6658, allocations: 192.2 kB / 1.233 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.878e-05/0.6658, allocations: 176.3 kB / 1.233 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-05/0.6659, allocations: 176.3 kB / 1.233 GB, free: 4.586 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.6662, allocations: 421.1 kB / 1.233 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-05/0.6662, allocations: 105 kB / 1.234 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.271e-05/0.6662, allocations: 108.9 kB / 1.234 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.566e-05/0.6663, allocations: 176.3 kB / 1.234 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/0.6664, allocations: 180.3 kB / 1.234 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.371e-05/0.6665, allocations: 180.2 kB / 1.234 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.819e-05/0.6665, allocations: 180.3 kB / 1.234 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.6667, allocations: 315.6 kB / 1.235 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.169e-05/0.6668, allocations: 190 kB / 1.235 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.897e-05/0.6669, allocations: 180.3 kB / 1.235 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.889e-05/0.667, allocations: 109 kB / 1.235 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.566e-05/0.667, allocations: 188.2 kB / 1.235 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.074e-05/0.6671, allocations: 105 kB / 1.235 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.154e-05/0.6672, allocations: 96.98 kB / 1.235 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6672, allocations: 3.938 kB / 1.235 GB, free: 1.926 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006555/0.6678, allocations: 287 kB / 1.236 GB, free: 1.645 MB / 0.9512 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.00128/0.6691, allocations: 1.168 MB / 1.237 GB, free: 460 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.165e-05/0.6692, allocations: 41.69 kB / 1.237 GB, free: 412 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6692, allocations: 0 / 1.237 GB, free: 412 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.6692, allocations: 0 / 1.237 GB, free: 412 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.6697, allocations: 463.8 kB / 1.237 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.671, allocations: 1.585 MB / 1.239 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.6713, allocations: 0.6846 MB / 1.24 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.461e-05/0.6713, allocations: 4.031 kB / 1.24 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.514e-05/0.6713, allocations: 19.47 kB / 1.24 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of SimCode: time 3.1e-07/0.6714, allocations: 0 / 1.24 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02761/0.699, allocations: 6.892 MB / 1.246 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.785/8.484, allocations: 9.969 kB / 1.246 GB, free: 6.871 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)