Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.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.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand",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.001574/0.001574, allocations: 109.2 kB / 16.41 MB, free: 6.512 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.00152/0.00152, allocations: 193.2 kB / 17.34 MB, free: 5.738 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7914/0.7914, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 61.77 kB / 0.5736 GB, free: 27.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1382, allocations: 78.86 MB / 0.6506 GB, free: 3.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.001605/0.1399, allocations: 0.5679 MB / 0.6512 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.142, allocations: 1.594 MB / 0.6527 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.045e-05/0.142, allocations: 3.938 kB / 0.6527 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.627e-05/0.1421, allocations: 4 kB / 0.6527 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.437e-05/0.1421, allocations: 7.938 kB / 0.6527 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006223/0.1428, allocations: 199.4 kB / 0.6529 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.142e-05/0.1428, allocations: 23.92 kB / 0.6529 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.259e-05/0.1429, allocations: 4 kB / 0.6529 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.557e-05/0.1429, allocations: 4 kB / 0.653 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.812e-05/0.1429, allocations: 11.97 kB / 0.653 GB, free: 1.137 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.808e-06/0.1429, allocations: 0 / 0.653 GB, free: 1.137 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005057/0.1435, allocations: 283.5 kB / 0.6532 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.495e-05/0.1435, allocations: 11.94 kB / 0.6532 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.1435, allocations: 7.938 kB / 0.6533 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.1438, allocations: 167.8 kB / 0.6534 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1438, allocations: 0 / 0.6534 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1438, allocations: 0 / 0.6534 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1438, allocations: 0 / 0.6534 GB, free: 0.6758 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004014/0.1443, allocations: 375 kB / 0.6538 GB, free: 268 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1443, allocations: 8.031 kB / 0.6538 GB, free: 260 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.354e-05/0.1443, allocations: 34.75 kB / 0.6538 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007307/0.1451, allocations: 76.81 kB / 0.6539 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.1452, allocations: 164.4 kB / 0.654 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.1452, allocations: 4.125 kB / 0.654 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.1453, allocations: 4 kB / 0.654 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.1455, allocations: 81.59 kB / 0.6541 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1455, allocations: 3.938 kB / 0.6541 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1455, allocations: 0 / 0.6541 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1455, allocations: 4 kB / 0.6541 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.1457, allocations: 83.88 kB / 0.6542 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000213/0.1459, allocations: 177.6 kB / 0.6544 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.1461, allocations: 102.4 kB / 0.6545 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.011e-05/0.1462, allocations: 44.95 kB / 0.6545 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.1462, allocations: 3.984 kB / 0.6545 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.1463, allocations: 30.56 kB / 0.6546 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 2.785e-06/0.1463, allocations: 0 / 0.6546 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0003339/0.1466, allocations: 149.5 kB / 0.6547 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.1467, allocations: 55.41 kB / 0.6548 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.024e-05/0.1468, allocations: 101.8 kB / 0.6548 GB, free: 15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.1468, allocations: 29.7 kB / 0.6549 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.698e-05/0.1468, allocations: 84.14 kB / 0.655 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.1469, allocations: 15.84 kB / 0.655 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.294e-05/0.1469, allocations: 29.69 kB / 0.655 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1471, allocations: 310.8 kB / 0.6553 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.707e-05/0.1472, allocations: 35.91 kB / 0.6553 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.651e-05/0.1472, allocations: 35.95 kB / 0.6554 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.1474, allocations: 76.75 kB / 0.6554 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1474, allocations: 3.938 kB / 0.6554 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002156/0.1476, allocations: 113.6 kB / 0.6556 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1476, allocations: 8 kB / 0.6556 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.1477, allocations: 0 / 0.6556 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1477, allocations: 4 kB / 0.6556 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.1478, allocations: 15.97 kB / 0.6556 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1479, allocations: 0 / 0.6556 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.794e-05/0.148, allocations: 4.688 kB / 0.6556 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.148, allocations: 7.984 kB / 0.6556 GB, free: 14.21 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 (5): * Single equations (assignments): 5 * 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 9.863e-05/0.1481, allocations: 121.7 kB / 0.6557 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.773e-05/0.1481, allocations: 4 kB / 0.6557 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004254/0.1485, allocations: 219.5 kB / 0.6559 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.1486, allocations: 0 / 0.6559 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1486, allocations: 3.984 kB / 0.6559 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1486, allocations: 0 / 0.6559 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.1488, allocations: 221.4 kB / 0.6561 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1488, allocations: 0 / 0.6561 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.149, allocations: 35.92 kB / 0.6562 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.149, allocations: 4 kB / 0.6562 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.149, allocations: 3.984 kB / 0.6562 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.149, allocations: 0 / 0.6562 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.149, allocations: 0 / 0.6562 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.1493, allocations: 193 kB / 0.6564 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/0.1494, allocations: 85.05 kB / 0.6564 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.1494, allocations: 4 kB / 0.6564 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.235e-05/0.1495, allocations: 0 / 0.6564 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.1495, allocations: 19.98 kB / 0.6565 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.1495, allocations: 0 / 0.6565 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.768e-05/0.1496, allocations: 87.27 kB / 0.6565 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1496, allocations: 0 / 0.6565 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002856/0.1499, allocations: 63.88 kB / 0.6566 GB, free: 13.07 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 (16): * Single equations (assignments): 16 * 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.0008454/0.1507, allocations: 0.8179 MB / 0.6574 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002245/0.151, allocations: 107.9 kB / 0.6575 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.151, allocations: 0 / 0.6575 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.1511, allocations: 79.91 kB / 0.6576 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.1512, allocations: 4 kB / 0.6576 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005679/0.1518, allocations: 274.8 kB / 0.6579 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.1521, allocations: 0.6963 MB / 0.6585 GB, free: 11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.905e-05/0.1522, allocations: 28.3 kB / 0.6586 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.31e-05/0.1523, allocations: 29.66 kB / 0.6586 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1523, allocations: 0 / 0.6586 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.1765, allocations: 3.655 MB / 0.6622 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.837/8.013, allocations: 11.11 kB / 0.6622 GB, free: 7.492 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand_res.csv --start-time 0.01 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.005996 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1)