Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001371/0.001371, allocations: 108 kB / 15.61 MB, free: 152 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.001629/0.001629, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.477/1.477, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.463/2.463, allocations: 390.2 MB / 0.6647 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 71.89 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8393/0.8407, allocations: 140.4 MB / 0.9498 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002658/0.8435, allocations: 1.432 MB / 0.9512 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003961/0.8474, allocations: 2.847 MB / 0.954 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.165e-05/0.8475, allocations: 0 / 0.954 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.511e-05/0.8476, allocations: 3.938 kB / 0.954 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.75e-05/0.8477, allocations: 17.47 kB / 0.954 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003971/0.8516, allocations: 1.55 MB / 0.9555 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.755e-05/0.8518, allocations: 47.48 kB / 0.9555 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.974e-05/0.8518, allocations: 0 / 0.9555 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.831e-05/0.8519, allocations: 15 kB / 0.9555 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.744e-05/0.8519, allocations: 15.11 kB / 0.9556 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.8519, allocations: 3.844 kB / 0.9556 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002218/0.8541, allocations: 1.42 MB / 0.9569 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.8542, allocations: 9.312 kB / 0.957 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.976e-05/0.8542, allocations: 20.11 kB / 0.957 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.8557, allocations: 1.075 MB / 0.958 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.8558, allocations: 0 / 0.958 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8558, allocations: 1.188 kB / 0.958 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.8558, allocations: 0 / 0.958 GB, free: 3.281 MB / 0.7169 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.000611/0.8564, allocations: 0.508 MB / 0.9585 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.8564, allocations: 9.688 kB / 0.9585 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.16e-05/0.8565, allocations: 106.8 kB / 0.9586 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.89e-05/0.8566, allocations: 81.94 kB / 0.9587 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.8567, allocations: 259.8 kB / 0.959 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/0.8567, allocations: 156.2 kB / 0.9591 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.25e-05/0.8568, allocations: 150.9 kB / 0.9593 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.566e-05/0.8568, allocations: 106.3 kB / 0.9594 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.8569, allocations: 75.28 kB / 0.9594 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/0.8569, allocations: 151.9 kB / 0.9596 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.638e-05/0.8569, allocations: 154.6 kB / 0.9597 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.065e-05/0.857, allocations: 154.5 kB / 0.9599 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002278/0.8572, allocations: 466.3 kB / 0.9603 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.58e-05/0.8573, allocations: 166.2 kB / 0.9605 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.425e-05/0.8573, allocations: 84.14 kB / 0.9606 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.8573, allocations: 79.22 kB / 0.9606 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.8573, allocations: 111 kB / 0.9607 GB, free: 428 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.8573, allocations: 0 / 0.9607 GB, free: 428 kB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.681e-05/0.8574, allocations: 40.81 kB / 0.9608 GB, free: 384 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.8575, allocations: 126.7 kB / 0.9609 GB, free: 244 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.8576, allocations: 132.7 kB / 0.961 GB, free: 124 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.8576, allocations: 25.7 kB / 0.961 GB, free: 92 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.771e-05/0.8577, allocations: 90.3 kB / 0.9611 GB, free: 0 / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.8577, allocations: 1.156 kB / 0.9611 GB, free: 0 / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.8578, allocations: 13.5 kB / 0.9611 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.8579, allocations: 325 kB / 0.9615 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.691e-05/0.8579, allocations: 3.344 kB / 0.9615 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.863e-05/0.858, allocations: 6.844 kB / 0.9615 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.512e-05/0.858, allocations: 18.7 kB / 0.9615 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.858, allocations: 0 / 0.9615 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001483/0.8582, allocations: 62.19 kB / 0.9615 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.8582, allocations: 5.125 kB / 0.9615 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/0.8582, allocations: 3.469 kB / 0.9615 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.8582, allocations: 0 / 0.9615 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.8582, allocations: 0 / 0.9615 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.8583, allocations: 0.75 kB / 0.9615 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.082e-05/0.8583, allocations: 1.031 kB / 0.9615 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.8583, allocations: 5.047 kB / 0.9616 GB, free: 15.58 MB / 0.7325 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 0.0001209/0.8584, allocations: 187.7 kB / 0.9617 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.184e-05/0.8585, allocations: 111 kB / 0.9618 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.856e-05/0.8586, allocations: 119 kB / 0.962 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.53e-05/0.8587, allocations: 176.3 kB / 0.9621 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.628e-05/0.8587, allocations: 189.5 kB / 0.9623 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.11e-05/0.8588, allocations: 185.3 kB / 0.9625 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.8591, allocations: 416.4 kB / 0.9629 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.444e-05/0.8592, allocations: 104.9 kB / 0.963 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.113e-05/0.8592, allocations: 102 kB / 0.9631 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.464e-05/0.8593, allocations: 186.1 kB / 0.9633 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.749e-05/0.8594, allocations: 177.4 kB / 0.9634 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.622e-05/0.8595, allocations: 180.3 kB / 0.9636 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-05/0.8596, allocations: 185.4 kB / 0.9638 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.8597, allocations: 309 kB / 0.9641 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.8599, allocations: 184.2 kB / 0.9642 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.833e-05/0.86, allocations: 193.3 kB / 0.9644 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.464e-05/0.8601, allocations: 102.1 kB / 0.9645 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.11e-05/0.8601, allocations: 181.4 kB / 0.9647 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.432e-05/0.8602, allocations: 106.1 kB / 0.9648 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.382e-05/0.8603, allocations: 97.05 kB / 0.9649 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.8603, allocations: 0 / 0.9649 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009638/0.8613, allocations: 282.9 kB / 0.9652 GB, free: 11.91 MB / 0.7325 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.001641/0.8629, allocations: 1.163 MB / 0.9663 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001148/0.863, allocations: 40.73 kB / 0.9663 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.863, allocations: 5.375 kB / 0.9663 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.789e-06/0.8631, allocations: 3.984 kB / 0.9663 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.8635, allocations: 464.2 kB / 0.9668 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.8651, allocations: 1.575 MB / 0.9683 GB, free: 8.961 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.8654, allocations: 0.6804 MB / 0.969 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.608e-05/0.8654, allocations: 1.094 kB / 0.969 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.175e-05/0.8654, allocations: 13.69 kB / 0.969 GB, free: 8.25 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.8654, allocations: 0 / 0.969 GB, free: 8.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03123/0.8967, allocations: 6.873 MB / 0.9757 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.048/8.945, allocations: 13.02 kB / 0.9757 GB, free: 4.734 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)