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.MultipoleThermalResistances_TwoUTube.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.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",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.001208/0.001208, allocations: 103.9 kB / 16.27 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.001238/0.001238, allocations: 182.7 kB / 17.19 MB, free: 5.688 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.305/1.305, 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.7456/0.7456, allocations: 122.9 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 59.91 kB / 0.4912 GB, free: 7.293 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3439, allocations: 77.92 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002214/0.3462, allocations: 1.354 MB / 0.5687 GB, free: 31.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002336/0.3485, allocations: 1.799 MB / 0.5704 GB, free: 30.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.746e-05/0.3486, allocations: 0 / 0.5704 GB, free: 30.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.403e-05/0.3487, allocations: 10.33 kB / 0.5704 GB, free: 30.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001355/0.3488, allocations: 32.91 kB / 0.5705 GB, free: 30.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002249/0.3511, allocations: 1.137 MB / 0.5716 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.515e-05/0.3512, allocations: 50.31 kB / 0.5716 GB, free: 29.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.638e-05/0.3512, allocations: 6.281 kB / 0.5716 GB, free: 29.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.309e-05/0.3513, allocations: 30.61 kB / 0.5717 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.266e-05/0.3513, allocations: 29.67 kB / 0.5717 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.3514, allocations: 1.594 kB / 0.5717 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.3524, allocations: 0.8542 MB / 0.5725 GB, free: 29.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.862e-05/0.3525, allocations: 65.44 kB / 0.5726 GB, free: 29.6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.233e-05/0.3526, allocations: 65.52 kB / 0.5726 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.3536, allocations: 0.8737 MB / 0.5735 GB, free: 29.31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3536, allocations: 6.688 kB / 0.5735 GB, free: 29.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3536, allocations: 0 / 0.5735 GB, free: 29.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.3537, allocations: 0 / 0.5735 GB, free: 29.3 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005413/0.3542, allocations: 0.5776 MB / 0.5741 GB, free: 28.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3542, allocations: 12.48 kB / 0.5741 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.35e-05/0.3543, allocations: 42.75 kB / 0.5741 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.3543, allocations: 24.91 kB / 0.5741 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.3545, allocations: 226.9 kB / 0.5744 GB, free: 28.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.3545, allocations: 1.281 kB / 0.5744 GB, free: 28.49 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.3545, allocations: 1.531 kB / 0.5744 GB, free: 28.49 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.3547, allocations: 108.2 kB / 0.5745 GB, free: 28.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.3547, allocations: 0 / 0.5745 GB, free: 28.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.3547, allocations: 2.281 kB / 0.5745 GB, free: 28.44 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.3547, allocations: 0 / 0.5745 GB, free: 28.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.812e-05/0.3548, allocations: 74.86 kB / 0.5745 GB, free: 28.42 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002358/0.355, allocations: 282.6 kB / 0.5748 GB, free: 28.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.3551, allocations: 119.5 kB / 0.5749 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.82e-05/0.3552, allocations: 114.2 kB / 0.575 GB, free: 28.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.3553, allocations: 5.703 kB / 0.575 GB, free: 28.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/0.3553, allocations: 35.84 kB / 0.5751 GB, free: 28.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 1.002e-06/0.3553, allocations: 0.8125 kB / 0.5751 GB, free: 28.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003659/0.3557, allocations: 333.3 kB / 0.5754 GB, free: 27.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.164e-05/0.3557, allocations: 55.25 kB / 0.5754 GB, free: 27.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.3559, allocations: 260.5 kB / 0.5757 GB, free: 27.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.565e-06/0.3559, allocations: 25.7 kB / 0.5757 GB, free: 27.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.356, allocations: 128.2 kB / 0.5758 GB, free: 27.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.275e-05/0.3561, allocations: 105.5 kB / 0.5759 GB, free: 27.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.3561, allocations: 32.59 kB / 0.576 GB, free: 27.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.625e-05/0.3562, allocations: 342.9 kB / 0.5763 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.964e-05/0.3562, allocations: 74.38 kB / 0.5764 GB, free: 27.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-05/0.3563, allocations: 74.83 kB / 0.5764 GB, free: 27.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.3565, allocations: 202.2 kB / 0.5766 GB, free: 27.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3565, allocations: 0 / 0.5766 GB, free: 27.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000202/0.3567, allocations: 230.5 kB / 0.5768 GB, free: 27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3567, allocations: 10.94 kB / 0.5769 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.3567, allocations: 5.375 kB / 0.5769 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.3568, allocations: 7.031 kB / 0.5769 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.303e-06/0.3568, allocations: 0.6094 kB / 0.5769 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3568, allocations: 3.984 kB / 0.5769 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.408e-05/0.3568, allocations: 10.59 kB / 0.5769 GB, free: 26.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.3568, allocations: 3.297 kB / 0.5769 GB, free: 26.97 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 0.0001043/0.357, allocations: 154.9 kB / 0.577 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.357, allocations: 28.56 kB / 0.5771 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000275/0.3573, allocations: 251.5 kB / 0.5773 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.3573, allocations: 1.094 kB / 0.5773 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3573, allocations: 0.75 kB / 0.5773 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3573, allocations: 1.969 kB / 0.5773 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.3575, allocations: 281.6 kB / 0.5776 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.3575, allocations: 1.281 kB / 0.5776 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.703e-06/0.3575, allocations: 3.078 kB / 0.5776 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3575, allocations: 0 / 0.5776 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-06/0.3575, allocations: 5.25 kB / 0.5776 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3575, allocations: 3.906 kB / 0.5776 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3575, allocations: 3.938 kB / 0.5776 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.3578, allocations: 265.2 kB / 0.5778 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.491e-05/0.3578, allocations: 99.98 kB / 0.5779 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.3578, allocations: 2.141 kB / 0.5779 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.443e-05/0.3579, allocations: 0.7812 kB / 0.5779 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/0.3579, allocations: 1.859 kB / 0.5779 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.3579, allocations: 3.062 kB / 0.5779 GB, free: 26.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.3581, allocations: 191.8 kB / 0.5781 GB, free: 26.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3581, allocations: 0.875 kB / 0.5781 GB, free: 26.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007241/0.3588, allocations: 212 kB / 0.5783 GB, free: 26.14 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 (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 Backend phase and start with SimCode phase: time 0.001126/0.3599, allocations: 1.028 MB / 0.5793 GB, free: 25.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003342/0.3603, allocations: 264.7 kB / 0.5796 GB, free: 25.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3603, allocations: 0.9062 kB / 0.5796 GB, free: 25.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.3604, allocations: 180.2 kB / 0.5798 GB, free: 25.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.3607, allocations: 18.19 kB / 0.5798 GB, free: 25.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.3629, allocations: 2.56 MB / 0.5823 GB, free: 23.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.3632, allocations: 0.7723 MB / 0.583 GB, free: 23.01 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.139e-05/0.3632, allocations: 2.125 kB / 0.583 GB, free: 23.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.383e-05/0.3633, allocations: 56.27 kB / 0.5831 GB, free: 22.96 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3633, allocations: 0 / 0.5831 GB, free: 22.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02641/0.3897, allocations: 7.66 MB / 0.5906 GB, free: 18.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.474/7.863, allocations: 12.67 kB / 0.5906 GB, free: 18.79 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_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_MultipoleThermalResistances_TwoUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)