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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.00181/0.00181, allocations: 100.4 kB / 16.4 MB, free: 6 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.001881/0.001881, allocations: 196.5 kB / 17.34 MB, free: 5.582 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7847/0.7847, allocations: 122.8 MB / 414 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 64.14 kB / 0.568 GB, free: 28.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1447, allocations: 77.93 MB / 0.6441 GB, free: 9.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002798/0.1476, allocations: 1.427 MB / 0.6455 GB, free: 8.078 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004126/0.1517, allocations: 2.9 MB / 0.6484 GB, free: 5.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.599e-05/0.1518, allocations: 0 / 0.6484 GB, free: 5.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.057e-05/0.1518, allocations: 7.922 kB / 0.6484 GB, free: 5.152 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.234e-05/0.1519, allocations: 19.86 kB / 0.6484 GB, free: 5.133 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003575/0.1555, allocations: 1.59 MB / 0.6499 GB, free: 3.559 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.708e-05/0.1556, allocations: 43.73 kB / 0.65 GB, free: 3.516 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.643e-05/0.1556, allocations: 0 / 0.65 GB, free: 3.516 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.756e-05/0.1556, allocations: 19.92 kB / 0.65 GB, free: 3.496 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.963e-05/0.1557, allocations: 19.86 kB / 0.65 GB, free: 3.477 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.1557, allocations: 4 kB / 0.65 GB, free: 3.473 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00206/0.1577, allocations: 1.529 MB / 0.6515 GB, free: 1.941 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.1578, allocations: 0 / 0.6515 GB, free: 1.941 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.306e-05/0.1578, allocations: 27.8 kB / 0.6515 GB, free: 1.914 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.1592, allocations: 1.114 MB / 0.6526 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1592, allocations: 0 / 0.6526 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1592, allocations: 0 / 0.6526 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1593, allocations: 0 / 0.6526 GB, free: 0.7969 MB / 494.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.0005934/0.1599, allocations: 0.5286 MB / 0.6531 GB, free: 224 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.1599, allocations: 12.62 kB / 0.6532 GB, free: 212 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.718e-05/0.16, allocations: 110 kB / 0.6533 GB, free: 92 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.479e-05/0.16, allocations: 84.11 kB / 0.6533 GB, free: 8 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.1602, allocations: 253.6 kB / 0.6536 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/0.1602, allocations: 154.9 kB / 0.6537 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.1e-05/0.1603, allocations: 158.9 kB / 0.6539 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.532e-05/0.1604, allocations: 108.9 kB / 0.654 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.1604, allocations: 79.28 kB / 0.6541 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.015e-05/0.1604, allocations: 150.6 kB / 0.6542 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.174e-05/0.1605, allocations: 154.6 kB / 0.6544 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.246e-05/0.1605, allocations: 154.5 kB / 0.6545 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.1608, allocations: 465.9 kB / 0.6549 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.341e-05/0.1609, allocations: 173.1 kB / 0.6551 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.311e-05/0.1609, allocations: 80.14 kB / 0.6552 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.161, allocations: 79.22 kB / 0.6553 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.715e-05/0.1611, allocations: 109.8 kB / 0.6554 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.1611, allocations: 0 / 0.6554 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.039e-05/0.1612, allocations: 41.59 kB / 0.6554 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.1612, allocations: 126.7 kB / 0.6555 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.1614, allocations: 133.8 kB / 0.6557 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.1614, allocations: 25.7 kB / 0.6557 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.108e-05/0.1614, allocations: 96.09 kB / 0.6558 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-06/0.1614, allocations: 0 / 0.6558 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.1615, allocations: 13.77 kB / 0.6558 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1616, allocations: 326.8 kB / 0.6561 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.348e-05/0.1616, allocations: 8 kB / 0.6561 GB, free: 13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.784e-05/0.1616, allocations: 8 kB / 0.6561 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.718e-05/0.1617, allocations: 8.859 kB / 0.6561 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1617, allocations: 0 / 0.6561 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000125/0.1618, allocations: 61.56 kB / 0.6562 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1618, allocations: 5.719 kB / 0.6562 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/0.1619, allocations: 4 kB / 0.6562 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1619, allocations: 0 / 0.6562 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.1619, allocations: 0 / 0.6562 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1619, allocations: 64 / 0.6562 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.497e-05/0.1619, allocations: 11.95 kB / 0.6562 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.162, allocations: 0 / 0.6562 GB, free: 12.89 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 (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 9.78e-05/0.1621, allocations: 185.1 kB / 0.6564 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.1622, allocations: 116.8 kB / 0.6565 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.262e-05/0.1622, allocations: 112.8 kB / 0.6566 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.733e-05/0.1623, allocations: 180.3 kB / 0.6568 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.914e-05/0.1624, allocations: 184.2 kB / 0.6569 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.647e-05/0.1624, allocations: 180.2 kB / 0.6571 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.1627, allocations: 413.2 kB / 0.6575 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.911e-05/0.1627, allocations: 109 kB / 0.6576 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.456e-05/0.1627, allocations: 105 kB / 0.6577 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-05/0.1628, allocations: 192.2 kB / 0.6579 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.129e-05/0.1629, allocations: 176.3 kB / 0.6581 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-05/0.1629, allocations: 176.3 kB / 0.6582 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.562e-05/0.163, allocations: 180.2 kB / 0.6584 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.1631, allocations: 319.7 kB / 0.6587 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.338e-05/0.1632, allocations: 182 kB / 0.6589 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.918e-05/0.1633, allocations: 188.2 kB / 0.6591 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.415e-05/0.1634, allocations: 104.9 kB / 0.6592 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.397e-05/0.1634, allocations: 180.3 kB / 0.6593 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.1635, allocations: 108.9 kB / 0.6594 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.992e-05/0.1635, allocations: 103.3 kB / 0.6595 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1636, allocations: 0 / 0.6595 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007663/0.1643, allocations: 287 kB / 0.6598 GB, free: 8.965 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 (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.001316/0.1656, allocations: 1.178 MB / 0.661 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001/0.1658, allocations: 45.64 kB / 0.661 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.1658, allocations: 0 / 0.661 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.205e-06/0.1658, allocations: 368 / 0.661 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.1662, allocations: 473.9 kB / 0.6615 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.1675, allocations: 1.609 MB / 0.663 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.1677, allocations: 0.6807 MB / 0.6637 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.553e-05/0.1677, allocations: 0 / 0.6637 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.1677, allocations: 23.42 kB / 0.6637 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1678, allocations: 0 / 0.6637 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.1914, allocations: 7.069 MB / 0.6706 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.787/7.978, allocations: 13.64 kB / 0.6706 GB, free: 13.95 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_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_InternalResistancesTwoUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)