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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.001355/0.001355, allocations: 110.5 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.001392/0.001392, allocations: 191.6 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.377/1.377, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7432/0.7432, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 63.89 kB / 0.4912 GB, free: 7.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3894, allocations: 77.92 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002457/0.3919, allocations: 1.428 MB / 0.5687 GB, free: 31.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003867/0.3958, allocations: 2.886 MB / 0.5716 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.14e-05/0.3959, allocations: 5.656 kB / 0.5716 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.182e-05/0.3959, allocations: 5.719 kB / 0.5716 GB, free: 29.72 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.744e-05/0.396, allocations: 15.88 kB / 0.5716 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003798/0.3998, allocations: 1.587 MB / 0.5731 GB, free: 28.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.035e-05/0.3999, allocations: 44.3 kB / 0.5732 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.4, allocations: 3.578 kB / 0.5732 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.737e-05/0.4, allocations: 12.38 kB / 0.5732 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.791e-05/0.4, allocations: 15.23 kB / 0.5732 GB, free: 28.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.4, allocations: 1.406 kB / 0.5732 GB, free: 28.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/0.4024, allocations: 1.467 MB / 0.5746 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.4024, allocations: 6.188 kB / 0.5746 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.739e-05/0.4024, allocations: 21.09 kB / 0.5747 GB, free: 28.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.4042, allocations: 1.11 MB / 0.5757 GB, free: 28.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4042, allocations: 2.719 kB / 0.5757 GB, free: 28.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4042, allocations: 3.938 kB / 0.5758 GB, free: 28.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.4042, allocations: 0.6562 kB / 0.5758 GB, free: 28.14 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.0006364/0.4049, allocations: 0.5204 MB / 0.5763 GB, free: 27.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.4049, allocations: 10.56 kB / 0.5763 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.188e-05/0.405, allocations: 110.6 kB / 0.5764 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.524e-05/0.405, allocations: 83.28 kB / 0.5765 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.4051, allocations: 250.8 kB / 0.5767 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.273e-05/0.4052, allocations: 151.4 kB / 0.5768 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.716e-05/0.4052, allocations: 158.6 kB / 0.577 GB, free: 26.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.074e-05/0.4053, allocations: 105.6 kB / 0.5771 GB, free: 26.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.4053, allocations: 75.28 kB / 0.5772 GB, free: 26.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.4053, allocations: 155.3 kB / 0.5773 GB, free: 26.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.542e-05/0.4054, allocations: 151.3 kB / 0.5775 GB, free: 26.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.693e-05/0.4054, allocations: 154.5 kB / 0.5776 GB, free: 26.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000216/0.4056, allocations: 463.2 kB / 0.578 GB, free: 25.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.597e-05/0.4057, allocations: 168.1 kB / 0.5782 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.911e-05/0.4057, allocations: 80.89 kB / 0.5783 GB, free: 25.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.4057, allocations: 79.72 kB / 0.5784 GB, free: 25.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.4057, allocations: 118.1 kB / 0.5785 GB, free: 25.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.873e-06/0.4057, allocations: 3.938 kB / 0.5785 GB, free: 25.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.009e-05/0.4058, allocations: 36.77 kB / 0.5785 GB, free: 25.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.4058, allocations: 128.4 kB / 0.5786 GB, free: 25.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.406, allocations: 131.2 kB / 0.5788 GB, free: 25.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.406, allocations: 31.14 kB / 0.5788 GB, free: 24.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.499e-05/0.406, allocations: 89.09 kB / 0.5789 GB, free: 24.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.324e-06/0.406, allocations: 1.406 kB / 0.5789 GB, free: 24.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.4061, allocations: 19.81 kB / 0.5789 GB, free: 24.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.376e-05/0.4061, allocations: 314.9 kB / 0.5792 GB, free: 24.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.521e-05/0.4062, allocations: 11.47 kB / 0.5792 GB, free: 24.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.77e-05/0.4062, allocations: 3.734 kB / 0.5792 GB, free: 24.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.06e-05/0.4062, allocations: 19.69 kB / 0.5792 GB, free: 24.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.4062, allocations: 64 / 0.5792 GB, free: 24.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001231/0.4064, allocations: 57.83 kB / 0.5793 GB, free: 24.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.4064, allocations: 5.844 kB / 0.5793 GB, free: 24.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/0.4064, allocations: 4 kB / 0.5793 GB, free: 24.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.4064, allocations: 0 / 0.5793 GB, free: 24.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.4064, allocations: 2.375 kB / 0.5793 GB, free: 24.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.4065, allocations: 0 / 0.5793 GB, free: 24.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.446e-05/0.4065, allocations: 7.359 kB / 0.5793 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.4065, allocations: 1.438 kB / 0.5793 GB, free: 24.5 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 6.933e-05/0.4066, allocations: 184 kB / 0.5795 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.4066, allocations: 116.2 kB / 0.5796 GB, free: 24.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.4067, allocations: 122 kB / 0.5797 GB, free: 24.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.391e-05/0.4067, allocations: 182.4 kB / 0.5799 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.1e-05/0.4067, allocations: 185.5 kB / 0.5801 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.757e-05/0.4068, allocations: 180.5 kB / 0.5802 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.4069, allocations: 422.8 kB / 0.5806 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.695e-05/0.4069, allocations: 101.7 kB / 0.5807 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.58e-05/0.407, allocations: 103.5 kB / 0.5808 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.957e-05/0.407, allocations: 183.5 kB / 0.581 GB, free: 22.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.229e-05/0.407, allocations: 179.8 kB / 0.5812 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.165e-05/0.4071, allocations: 181.4 kB / 0.5813 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.881e-05/0.4071, allocations: 181.8 kB / 0.5815 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.854e-05/0.4072, allocations: 313 kB / 0.5818 GB, free: 21.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-05/0.4072, allocations: 184.8 kB / 0.582 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.4073, allocations: 183.6 kB / 0.5822 GB, free: 21.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.345e-05/0.4073, allocations: 108.2 kB / 0.5823 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.4074, allocations: 183.9 kB / 0.5824 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.4074, allocations: 101.8 kB / 0.5825 GB, free: 21.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.501e-05/0.4075, allocations: 107.9 kB / 0.5826 GB, free: 20.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4075, allocations: 0 / 0.5826 GB, free: 20.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009625/0.4084, allocations: 283.5 kB / 0.5829 GB, free: 20.87 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.001229/0.4097, allocations: 1.18 MB / 0.5841 GB, free: 19.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.82e-05/0.4098, allocations: 40.55 kB / 0.5841 GB, free: 19.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4098, allocations: 0.625 kB / 0.5841 GB, free: 19.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.455e-06/0.4098, allocations: 5.562 kB / 0.5841 GB, free: 19.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.4101, allocations: 463 kB / 0.5846 GB, free: 19.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.4113, allocations: 1.591 MB / 0.5861 GB, free: 18.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.4114, allocations: 0.6849 MB / 0.5868 GB, free: 17.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.362e-05/0.4115, allocations: 0 / 0.5868 GB, free: 17.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.423e-05/0.4115, allocations: 14.16 kB / 0.5868 GB, free: 17.33 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4115, allocations: 3.281 kB / 0.5868 GB, free: 17.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0284/0.4399, allocations: 7.089 MB / 0.5937 GB, free: 13.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.563/8.003, allocations: 27.28 kB / 0.5937 GB, free: 13.79 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_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_InternalResistancesTwoUTubeNegative.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)