Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.001357/0.001357, allocations: 101.7 kB / 16.27 MB, free: 5.93 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.001531/0.001531, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.36/1.36, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7687/0.7687, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001463, allocations: 63.91 kB / 0.4912 GB, free: 7.277 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3811, allocations: 77.92 MB / 0.5673 GB, free: 32.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002376/0.3835, allocations: 1.412 MB / 0.5687 GB, free: 31.83 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003638/0.3872, allocations: 2.848 MB / 0.5715 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.551e-05/0.3872, allocations: 2.5 kB / 0.5715 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.282e-05/0.3873, allocations: 5.766 kB / 0.5715 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.917e-05/0.3874, allocations: 16.08 kB / 0.5715 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003802/0.3912, allocations: 1.561 MB / 0.573 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.649e-05/0.3913, allocations: 36.59 kB / 0.5731 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.358e-05/0.3913, allocations: 7.516 kB / 0.5731 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.771e-05/0.3914, allocations: 16.83 kB / 0.5731 GB, free: 29.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.969e-05/0.3914, allocations: 22.48 kB / 0.5731 GB, free: 29.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.3914, allocations: 1.438 kB / 0.5731 GB, free: 29.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/0.3937, allocations: 1.422 MB / 0.5745 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.3938, allocations: 1.875 kB / 0.5745 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.3938, allocations: 16.56 kB / 0.5745 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001665/0.3955, allocations: 1.09 MB / 0.5756 GB, free: 28.31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3955, allocations: 0 / 0.5756 GB, free: 28.31 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.3955, allocations: 5.562 kB / 0.5756 GB, free: 28.31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.3955, allocations: 0 / 0.5756 GB, free: 28.31 MB / 446.1 MB 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.0005736/0.3961, allocations: 0.5128 MB / 0.5761 GB, free: 27.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3961, allocations: 14.12 kB / 0.5761 GB, free: 27.82 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.137e-05/0.3962, allocations: 108.2 kB / 0.5762 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.242e-05/0.3962, allocations: 81.91 kB / 0.5763 GB, free: 27.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.162e-05/0.3963, allocations: 254.8 kB / 0.5765 GB, free: 27.35 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.3964, allocations: 154.5 kB / 0.5767 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.3964, allocations: 151.5 kB / 0.5768 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.092e-05/0.3965, allocations: 110.2 kB / 0.5769 GB, free: 26.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.3965, allocations: 77.23 kB / 0.577 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.3965, allocations: 151.5 kB / 0.5772 GB, free: 26.72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/0.3965, allocations: 151.9 kB / 0.5773 GB, free: 26.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.216e-05/0.3966, allocations: 152.4 kB / 0.5774 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000197/0.3968, allocations: 463.2 kB / 0.5779 GB, free: 25.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.082e-05/0.3968, allocations: 175 kB / 0.5781 GB, free: 25.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.558e-05/0.3968, allocations: 80.86 kB / 0.5781 GB, free: 25.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.3968, allocations: 81.03 kB / 0.5782 GB, free: 25.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.3969, allocations: 108.6 kB / 0.5783 GB, free: 25.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.3969, allocations: 1.844 kB / 0.5783 GB, free: 25.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.539e-05/0.3969, allocations: 32.81 kB / 0.5783 GB, free: 25.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.397, allocations: 127.3 kB / 0.5785 GB, free: 25.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.3971, allocations: 131.1 kB / 0.5786 GB, free: 25.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.3971, allocations: 27.78 kB / 0.5786 GB, free: 25.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.278e-05/0.3972, allocations: 86.97 kB / 0.5787 GB, free: 25.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/0.3972, allocations: 1.375 kB / 0.5787 GB, free: 25.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.3972, allocations: 19.86 kB / 0.5787 GB, free: 25.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.883e-05/0.3973, allocations: 318.5 kB / 0.579 GB, free: 24.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.427e-05/0.3973, allocations: 9.109 kB / 0.579 GB, free: 24.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.702e-05/0.3973, allocations: 4.922 kB / 0.579 GB, free: 24.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.512e-05/0.3973, allocations: 10.97 kB / 0.5791 GB, free: 24.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3974, allocations: 4.562 kB / 0.5791 GB, free: 24.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001131/0.3975, allocations: 52.7 kB / 0.5791 GB, free: 24.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.3975, allocations: 6.5 kB / 0.5791 GB, free: 24.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/0.3975, allocations: 3.203 kB / 0.5791 GB, free: 24.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3975, allocations: 4.703 kB / 0.5791 GB, free: 24.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.545e-06/0.3975, allocations: 6.5 kB / 0.5791 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.3976, allocations: 0.875 kB / 0.5791 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.104e-05/0.3976, allocations: 1 kB / 0.5791 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.3976, allocations: 8.875 kB / 0.5791 GB, free: 24.68 MB / 446.1 MB 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 5.446e-05/0.3977, allocations: 187.3 kB / 0.5793 GB, free: 24.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/0.3977, allocations: 116 kB / 0.5794 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.3977, allocations: 108.8 kB / 0.5795 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-05/0.3978, allocations: 183.4 kB / 0.5797 GB, free: 24.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.588e-05/0.3978, allocations: 181.5 kB / 0.5799 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.578e-05/0.3978, allocations: 189.8 kB / 0.5801 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.398, allocations: 416.7 kB / 0.5805 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.787e-05/0.398, allocations: 101.6 kB / 0.5806 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.575e-05/0.398, allocations: 107.5 kB / 0.5807 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.311e-05/0.3981, allocations: 179 kB / 0.5808 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.3981, allocations: 182 kB / 0.581 GB, free: 22.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.639e-05/0.3981, allocations: 183.5 kB / 0.5812 GB, free: 22.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.33e-05/0.3982, allocations: 179.1 kB / 0.5813 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.506e-05/0.3982, allocations: 308.1 kB / 0.5816 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.075e-05/0.3983, allocations: 193.4 kB / 0.5818 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.3983, allocations: 180.2 kB / 0.582 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.683e-05/0.3984, allocations: 102.7 kB / 0.5821 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.3984, allocations: 182.5 kB / 0.5823 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.3984, allocations: 103.6 kB / 0.5824 GB, free: 21.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.872e-05/0.3985, allocations: 104.2 kB / 0.5825 GB, free: 21.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3985, allocations: 1.688 kB / 0.5825 GB, free: 21.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009191/0.3994, allocations: 273 kB / 0.5827 GB, free: 21.07 MB / 446.1 MB 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.001125/0.4005, allocations: 1.173 MB / 0.5839 GB, free: 20.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.034e-05/0.4007, allocations: 34.3 kB / 0.5839 GB, free: 20.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4007, allocations: 1.469 kB / 0.5839 GB, free: 20.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.894e-06/0.4007, allocations: 2.062 kB / 0.5839 GB, free: 20.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.401, allocations: 466.2 kB / 0.5844 GB, free: 19.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.4021, allocations: 1.575 MB / 0.5859 GB, free: 18.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.4022, allocations: 0.6838 MB / 0.5866 GB, free: 17.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.446e-05/0.4022, allocations: 0 / 0.5866 GB, free: 17.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/0.4022, allocations: 16.95 kB / 0.5866 GB, free: 17.53 MB / 446.1 MB Notification: Performance of SimCode: time 1.292e-06/0.4022, allocations: 0 / 0.5866 GB, free: 17.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0269/0.4291, allocations: 6.883 MB / 0.5933 GB, free: 14.13 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.621/8.05, allocations: 7.359 kB / 0.5933 GB, free: 14.12 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)