Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.01228/0.01228, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.002221/0.002221, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.678/2.678, allocations: 437.1 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 59.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3206, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002867/0.3235, allocations: 1.435 MB / 1.168 GB, free: 5.844 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004225/0.3278, allocations: 2.845 MB / 1.17 GB, free: 2.98 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.227e-05/0.3278, allocations: 11.94 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.703e-05/0.3279, allocations: 3.938 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.544e-05/0.328, allocations: 15.84 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003831/0.3318, allocations: 1.567 MB / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.861e-05/0.3319, allocations: 47.66 kB / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.674e-05/0.332, allocations: 4 kB / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.911e-05/0.332, allocations: 15.92 kB / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.641e-05/0.332, allocations: 11.94 kB / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.748e-06/0.332, allocations: 0 / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002074/0.3341, allocations: 1.494 MB / 1.174 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.3341, allocations: 3.938 kB / 1.174 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.707e-05/0.3342, allocations: 23.86 kB / 1.174 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001718/0.3359, allocations: 1.076 MB / 1.175 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3359, allocations: 0 / 1.175 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3359, allocations: 0 / 1.175 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.3359, allocations: 0 / 1.175 GB, free: 14.72 MB / 0.9356 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.0007315/0.3367, allocations: 0.5324 MB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.3367, allocations: 12.03 kB / 1.175 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.564e-05/0.3368, allocations: 106 kB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.327e-05/0.3369, allocations: 88.11 kB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.337, allocations: 251.5 kB / 1.176 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.55e-05/0.3371, allocations: 150.9 kB / 1.176 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.066e-05/0.3371, allocations: 150.9 kB / 1.176 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.692e-05/0.3372, allocations: 112.9 kB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.3373, allocations: 75.28 kB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.445e-05/0.3373, allocations: 150.6 kB / 1.176 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.044e-05/0.3374, allocations: 154.6 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.313e-05/0.3374, allocations: 158.5 kB / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.3377, allocations: 469.9 kB / 1.177 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.375e-05/0.3378, allocations: 165.1 kB / 1.177 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.729e-05/0.3379, allocations: 80.14 kB / 1.177 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.3379, allocations: 79.22 kB / 1.177 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.039e-05/0.338, allocations: 109.8 kB / 1.177 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/0.338, allocations: 4 kB / 1.177 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.651e-05/0.3381, allocations: 41.58 kB / 1.177 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.3381, allocations: 126.7 kB / 1.177 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.3383, allocations: 135.9 kB / 1.178 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.3383, allocations: 25.7 kB / 1.178 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/0.3383, allocations: 88.14 kB / 1.178 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-06/0.3384, allocations: 0 / 1.178 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.3384, allocations: 17.72 kB / 1.178 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.3385, allocations: 326.8 kB / 1.178 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.239e-05/0.3385, allocations: 3.938 kB / 1.178 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.608e-05/0.3386, allocations: 4 kB / 1.178 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.063e-05/0.3386, allocations: 16.91 kB / 1.178 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3386, allocations: 3.938 kB / 1.178 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001299/0.3387, allocations: 49.58 kB / 1.178 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.3388, allocations: 7.938 kB / 1.178 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/0.3388, allocations: 4 kB / 1.178 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.3388, allocations: 0 / 1.178 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.3388, allocations: 4.062 kB / 1.178 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.3388, allocations: 0 / 1.178 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.553e-05/0.3389, allocations: 4 kB / 1.178 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.3389, allocations: 0 / 1.178 GB, free: 10.84 MB / 0.9356 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.0001049/0.339, allocations: 193.1 kB / 1.178 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-05/0.339, allocations: 120.8 kB / 1.178 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.888e-05/0.3391, allocations: 108.9 kB / 1.179 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.806e-05/0.3391, allocations: 180.3 kB / 1.179 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.108e-05/0.3392, allocations: 188.2 kB / 1.179 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.806e-05/0.3393, allocations: 176.3 kB / 1.179 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.3395, allocations: 417.1 kB / 1.179 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.251e-05/0.3395, allocations: 101 kB / 1.18 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.334e-05/0.3396, allocations: 101 kB / 1.18 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.622e-05/0.3396, allocations: 192.2 kB / 1.18 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.947e-05/0.3397, allocations: 180.3 kB / 1.18 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.346e-05/0.3398, allocations: 180.2 kB / 1.18 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.935e-05/0.3398, allocations: 176.3 kB / 1.18 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.34, allocations: 323.6 kB / 1.181 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.805e-05/0.3401, allocations: 178.1 kB / 1.181 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.326e-05/0.3401, allocations: 180.2 kB / 1.181 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.943e-05/0.3402, allocations: 109 kB / 1.181 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.478e-05/0.3403, allocations: 176.3 kB / 1.181 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.404e-05/0.3403, allocations: 108.9 kB / 1.181 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.835e-05/0.3404, allocations: 105.3 kB / 1.181 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.3404, allocations: 0 / 1.181 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008121/0.3412, allocations: 287 kB / 1.182 GB, free: 6.91 MB / 0.9356 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.001459/0.3427, allocations: 1.163 MB / 1.183 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.393e-05/0.3428, allocations: 41.64 kB / 1.183 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3428, allocations: 0 / 1.183 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.145e-06/0.3428, allocations: 0 / 1.183 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.3433, allocations: 463.6 kB / 1.183 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.3446, allocations: 1.592 MB / 1.185 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.3449, allocations: 0.6807 MB / 1.186 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.788e-05/0.3449, allocations: 0 / 1.186 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.3449, allocations: 19.42 kB / 1.186 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.3449, allocations: 0 / 1.186 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0257/0.3706, allocations: 6.897 MB / 1.192 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.773/8.144, allocations: 7.125 kB / 1.192 GB, free: 12.12 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)