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.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/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.InternalResistancesOneUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_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.001383/0.001383, allocations: 98.98 kB / 16.27 MB, free: 5.965 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.001424/0.001424, allocations: 190.3 kB / 17.2 MB, free: 5.594 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.328/1.328, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7558/0.7558, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 59.89 kB / 0.4912 GB, free: 7.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3487, allocations: 77.93 MB / 0.5673 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002692/0.3514, allocations: 1.417 MB / 0.5687 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004419/0.3559, allocations: 2.848 MB / 0.5715 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.026e-05/0.3559, allocations: 0.5625 kB / 0.5715 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.786e-05/0.356, allocations: 5.203 kB / 0.5715 GB, free: 29.67 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.78e-05/0.356, allocations: 16.47 kB / 0.5715 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003899/0.36, allocations: 1.557 MB / 0.5731 GB, free: 28.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.83e-05/0.3601, allocations: 37.03 kB / 0.5731 GB, free: 28.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.586e-05/0.3601, allocations: 7.047 kB / 0.5731 GB, free: 28.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.043e-05/0.3602, allocations: 12.89 kB / 0.5731 GB, free: 28.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.191e-05/0.3602, allocations: 19.52 kB / 0.5731 GB, free: 28.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.3602, allocations: 2.219 kB / 0.5731 GB, free: 28.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002469/0.3627, allocations: 1.424 MB / 0.5745 GB, free: 28.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.3627, allocations: 2.672 kB / 0.5745 GB, free: 28.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.551e-05/0.3628, allocations: 19.23 kB / 0.5745 GB, free: 28.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001952/0.3647, allocations: 1.083 MB / 0.5756 GB, free: 28.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3648, allocations: 0.625 kB / 0.5756 GB, free: 28.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.647e-06/0.3648, allocations: 2.062 kB / 0.5756 GB, free: 28.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.647e-06/0.3648, allocations: 0 / 0.5756 GB, free: 28.12 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.0005922/0.3654, allocations: 0.5182 MB / 0.5761 GB, free: 27.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.3654, allocations: 9.469 kB / 0.5761 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.177e-05/0.3655, allocations: 108.7 kB / 0.5762 GB, free: 27.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.491e-05/0.3655, allocations: 86.78 kB / 0.5763 GB, free: 27.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.3656, allocations: 259.1 kB / 0.5765 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.3657, allocations: 150.9 kB / 0.5767 GB, free: 27.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.3657, allocations: 152.6 kB / 0.5768 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.985e-05/0.3658, allocations: 110.9 kB / 0.5769 GB, free: 26.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3658, allocations: 76.41 kB / 0.577 GB, free: 26.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.3658, allocations: 151.5 kB / 0.5772 GB, free: 26.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/0.3658, allocations: 153.3 kB / 0.5773 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.409e-05/0.3659, allocations: 151.1 kB / 0.5774 GB, free: 26.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001967/0.3661, allocations: 462.8 kB / 0.5779 GB, free: 25.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.943e-05/0.3661, allocations: 179.6 kB / 0.5781 GB, free: 25.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.767e-05/0.3661, allocations: 81.39 kB / 0.5781 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.3662, allocations: 81.34 kB / 0.5782 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.3662, allocations: 108.7 kB / 0.5783 GB, free: 25.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 7.22e-07/0.3662, allocations: 0 / 0.5783 GB, free: 25.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.873e-05/0.3663, allocations: 32.42 kB / 0.5784 GB, free: 25.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.3663, allocations: 134.3 kB / 0.5785 GB, free: 25.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.3664, allocations: 132.1 kB / 0.5786 GB, free: 25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.813e-06/0.3664, allocations: 25.7 kB / 0.5786 GB, free: 24.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.223e-05/0.3665, allocations: 89.48 kB / 0.5787 GB, free: 24.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.873e-06/0.3665, allocations: 0 / 0.5787 GB, free: 24.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.3665, allocations: 19.38 kB / 0.5787 GB, free: 24.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.003e-05/0.3666, allocations: 318 kB / 0.579 GB, free: 24.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.032e-05/0.3666, allocations: 6.594 kB / 0.579 GB, free: 24.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.437e-05/0.3666, allocations: 3.25 kB / 0.579 GB, free: 24.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.29e-05/0.3667, allocations: 12.06 kB / 0.5791 GB, free: 24.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3667, allocations: 0 / 0.5791 GB, free: 24.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000115/0.3668, allocations: 57.14 kB / 0.5791 GB, free: 24.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.3668, allocations: 7.531 kB / 0.5791 GB, free: 24.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.3668, allocations: 2.406 kB / 0.5791 GB, free: 24.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.3668, allocations: 2.141 kB / 0.5791 GB, free: 24.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.3668, allocations: 1.219 kB / 0.5791 GB, free: 24.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3669, allocations: 0 / 0.5791 GB, free: 24.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.063e-05/0.3669, allocations: 5.812 kB / 0.5791 GB, free: 24.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.3669, allocations: 2.219 kB / 0.5791 GB, free: 24.49 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.348e-05/0.367, allocations: 187.6 kB / 0.5793 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.042e-05/0.367, allocations: 114.1 kB / 0.5794 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.367, allocations: 112.3 kB / 0.5795 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-05/0.3671, allocations: 178.9 kB / 0.5797 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.881e-05/0.3671, allocations: 185.6 kB / 0.5799 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.607e-05/0.3671, allocations: 190.2 kB / 0.5801 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.3673, allocations: 412.9 kB / 0.5805 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/0.3673, allocations: 105.7 kB / 0.5806 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.367e-05/0.3673, allocations: 107 kB / 0.5807 GB, free: 22.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.563e-05/0.3674, allocations: 182.3 kB / 0.5808 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.3674, allocations: 183.8 kB / 0.581 GB, free: 22.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.711e-05/0.3674, allocations: 182.5 kB / 0.5812 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-05/0.3674, allocations: 182.9 kB / 0.5814 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.816e-05/0.3675, allocations: 311.8 kB / 0.5816 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/0.3676, allocations: 188.4 kB / 0.5818 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.3676, allocations: 179 kB / 0.582 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.06e-05/0.3677, allocations: 105.6 kB / 0.5821 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.3677, allocations: 178.5 kB / 0.5823 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.3677, allocations: 109.6 kB / 0.5824 GB, free: 21.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.433e-05/0.3678, allocations: 101.8 kB / 0.5825 GB, free: 20.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3678, allocations: 0 / 0.5825 GB, free: 20.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007503/0.3685, allocations: 275.2 kB / 0.5827 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.001045/0.3696, allocations: 1.163 MB / 0.5839 GB, free: 19.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.592e-05/0.3697, allocations: 35.16 kB / 0.5839 GB, free: 19.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3697, allocations: 5.375 kB / 0.5839 GB, free: 19.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.3697, allocations: 3.938 kB / 0.5839 GB, free: 19.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.37, allocations: 459.7 kB / 0.5844 GB, free: 19.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009871/0.371, allocations: 1.582 MB / 0.5859 GB, free: 18.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.816e-05/0.3711, allocations: 0.6823 MB / 0.5866 GB, free: 17.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.276e-05/0.3711, allocations: 5.344 kB / 0.5866 GB, free: 17.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.146e-05/0.3711, allocations: 15.59 kB / 0.5866 GB, free: 17.33 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3711, allocations: 0 / 0.5866 GB, free: 17.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/0.3944, allocations: 6.863 MB / 0.5933 GB, free: 14.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.564/7.959, allocations: 29.77 kB / 0.5933 GB, free: 14.04 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)