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.ConvectionResistanceCircularPipe.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.ConvectionResistanceCircularPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",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.001469/0.001469, allocations: 103.4 kB / 16.4 MB, free: 6.02 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.001315/0.001316, allocations: 195.4 kB / 17.34 MB, free: 5.605 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.45/1.45, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8395/0.8395, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 68.23 kB / 0.5736 GB, free: 27.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1595, allocations: 78.85 MB / 0.6506 GB, free: 3.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002526/0.1621, allocations: 1.354 MB / 0.6519 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.1638, allocations: 1.085 MB / 0.653 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.653e-05/0.1638, allocations: 0 / 0.653 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.783e-05/0.1639, allocations: 0 / 0.653 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.535e-05/0.1639, allocations: 11.86 kB / 0.653 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006454/0.1646, allocations: 227.2 kB / 0.6532 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.578e-05/0.1647, allocations: 27.86 kB / 0.6533 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.689e-05/0.1647, allocations: 7.984 kB / 0.6533 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.949e-05/0.1648, allocations: 11.88 kB / 0.6533 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.854e-05/0.1648, allocations: 19.92 kB / 0.6533 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.1649, allocations: 0 / 0.6533 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006311/0.1655, allocations: 423.5 kB / 0.6537 GB, free: 440 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.1655, allocations: 7.984 kB / 0.6537 GB, free: 432 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.1656, allocations: 11.94 kB / 0.6537 GB, free: 420 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003183/0.1659, allocations: 203.6 kB / 0.6539 GB, free: 216 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1659, allocations: 0 / 0.6539 GB, free: 216 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1659, allocations: 0 / 0.6539 GB, free: 216 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1659, allocations: 4 kB / 0.6539 GB, free: 212 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004875/0.1664, allocations: 387.7 kB / 0.6543 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.1664, allocations: 15.97 kB / 0.6543 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.1665, allocations: 34.69 kB / 0.6543 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.398e-05/0.1665, allocations: 8.891 kB / 0.6543 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.1667, allocations: 168.3 kB / 0.6545 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.1667, allocations: 8.125 kB / 0.6545 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.1667, allocations: 4 kB / 0.6545 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.545e-05/0.1668, allocations: 37.69 kB / 0.6545 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.1668, allocations: 0 / 0.6545 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.1668, allocations: 0 / 0.6545 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.1668, allocations: 4 kB / 0.6545 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.566e-05/0.1669, allocations: 15.98 kB / 0.6546 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.1671, allocations: 157.7 kB / 0.6547 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.676e-05/0.1672, allocations: 50.44 kB / 0.6548 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.293e-05/0.1672, allocations: 16.89 kB / 0.6548 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/0.1682, allocations: 0.9895 MB / 0.6557 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.1683, allocations: 34.56 kB / 0.6558 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1683, allocations: 0 / 0.6558 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001701/0.1685, allocations: 57.62 kB / 0.6558 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.1685, allocations: 59.39 kB / 0.6559 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.884e-05/0.1686, allocations: 105.8 kB / 0.656 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.1686, allocations: 25.7 kB / 0.656 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/0.1687, allocations: 92.06 kB / 0.6561 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.1687, allocations: 15.91 kB / 0.6561 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.1687, allocations: 9.719 kB / 0.6561 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.1689, allocations: 318.8 kB / 0.6564 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.313e-05/0.1689, allocations: 7.984 kB / 0.6564 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.526e-05/0.1689, allocations: 4 kB / 0.6564 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.763e-05/0.169, allocations: 20.86 kB / 0.6565 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.169, allocations: 7.938 kB / 0.6565 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.507e-05/0.1691, allocations: 57.91 kB / 0.6565 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.1691, allocations: 8 kB / 0.6565 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1691, allocations: 0 / 0.6565 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1691, allocations: 0 / 0.6565 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.1692, allocations: 15.98 kB / 0.6565 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1692, allocations: 0 / 0.6565 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.085e-05/0.1693, allocations: 0 / 0.6565 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.1693, allocations: 7.984 kB / 0.6566 GB, free: 13.04 MB / 0.4981 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 8.111e-05/0.1694, allocations: 109.8 kB / 0.6567 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-06/0.1694, allocations: 4 kB / 0.6567 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.1695, allocations: 76.77 kB / 0.6567 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1695, allocations: 0 / 0.6567 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1695, allocations: 0 / 0.6567 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.1696, allocations: 3.938 kB / 0.6567 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.1697, allocations: 165.5 kB / 0.6569 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1697, allocations: 0 / 0.6569 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.381e-05/0.1698, allocations: 15.98 kB / 0.6569 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1698, allocations: 0 / 0.6569 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.1698, allocations: 0 / 0.6569 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1698, allocations: 0 / 0.6569 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1698, allocations: 4 kB / 0.6569 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.1699, allocations: 85.02 kB / 0.657 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.489e-05/0.17, allocations: 81.11 kB / 0.6571 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.17, allocations: 0 / 0.6571 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.088e-05/0.17, allocations: 3.938 kB / 0.6571 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.17, allocations: 7.984 kB / 0.6571 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.1701, allocations: 0 / 0.6571 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.123e-05/0.1701, allocations: 87.28 kB / 0.6572 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1701, allocations: 3.938 kB / 0.6572 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002316/0.1703, allocations: 43.86 kB / 0.6572 GB, free: 12.26 MB / 0.4981 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 (4): * Single equations (assignments): 4 * 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.0005413/0.1709, allocations: 0.6629 MB / 0.6579 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.955e-05/0.171, allocations: 27.92 kB / 0.6579 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.171, allocations: 4 kB / 0.6579 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.163e-05/0.171, allocations: 8 kB / 0.6579 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.1713, allocations: 8 kB / 0.6579 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004641/0.1718, allocations: 193.7 kB / 0.6581 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.1721, allocations: 0.6807 MB / 0.6588 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.999e-05/0.1721, allocations: 8.328 kB / 0.6588 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/0.1721, allocations: 11.44 kB / 0.6588 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.1722, allocations: 0 / 0.6588 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.1964, allocations: 2.188 MB / 0.6609 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.882/8.078, allocations: 6.828 kB / 0.6609 GB, free: 8.582 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)