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.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,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource",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.001505/0.001505, allocations: 104.9 kB / 16.4 MB, free: 6.496 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.00147/0.00147, allocations: 192 kB / 17.34 MB, free: 5.727 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7857/0.7857, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 68.05 kB / 0.5736 GB, free: 27.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1527, allocations: 78.87 MB / 0.6506 GB, free: 3.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.002431/0.1551, allocations: 1.293 MB / 0.6519 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002171/0.1573, allocations: 1.35 MB / 0.6532 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.281e-05/0.1574, allocations: 0 / 0.6532 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.1574, allocations: 3.938 kB / 0.6532 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.1575, allocations: 11.92 kB / 0.6532 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.1586, allocations: 370.5 kB / 0.6536 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.1587, allocations: 47.83 kB / 0.6536 GB, free: 0.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.54e-05/0.1588, allocations: 0 / 0.6536 GB, free: 0.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.89e-05/0.1588, allocations: 8 kB / 0.6536 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.593e-05/0.1589, allocations: 23.95 kB / 0.6536 GB, free: 480 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.1589, allocations: 4 kB / 0.6536 GB, free: 476 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009053/0.1598, allocations: 0.5225 MB / 0.6541 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.977e-05/0.1599, allocations: 15.98 kB / 0.6542 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.037e-05/0.1599, allocations: 15.92 kB / 0.6542 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006018/0.1606, allocations: 351 kB / 0.6545 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1606, allocations: 0 / 0.6545 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1606, allocations: 0 / 0.6545 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.1606, allocations: 0 / 0.6545 GB, free: 15.57 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005752/0.1612, allocations: 422.6 kB / 0.6549 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1612, allocations: 8.031 kB / 0.6549 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.109e-05/0.1613, allocations: 34.75 kB / 0.655 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003176/0.1616, allocations: 36.84 kB / 0.655 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.1617, allocations: 176.3 kB / 0.6552 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.1618, allocations: 8.125 kB / 0.6552 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.1618, allocations: 4 kB / 0.6552 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.1619, allocations: 57.66 kB / 0.6552 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1619, allocations: 0 / 0.6552 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.162, allocations: 8 kB / 0.6552 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.162, allocations: 0 / 0.6552 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.1622, allocations: 59.88 kB / 0.6553 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002233/0.1624, allocations: 173.7 kB / 0.6555 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.1625, allocations: 66.48 kB / 0.6555 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.48e-05/0.1626, allocations: 24.97 kB / 0.6555 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005445/0.1632, allocations: 205 kB / 0.6557 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.1632, allocations: 38.56 kB / 0.6558 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1632, allocations: 3.938 kB / 0.6558 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0002564/0.1635, allocations: 97.59 kB / 0.6559 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.1635, allocations: 51.41 kB / 0.6559 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.1636, allocations: 109.8 kB / 0.656 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.1636, allocations: 25.7 kB / 0.656 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.632e-05/0.1637, allocations: 88.14 kB / 0.6561 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.1637, allocations: 31.78 kB / 0.6562 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.428e-05/0.1638, allocations: 21.72 kB / 0.6562 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.164, allocations: 314.8 kB / 0.6565 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.53e-05/0.164, allocations: 16 kB / 0.6565 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.893e-05/0.164, allocations: 19.92 kB / 0.6565 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.1642, allocations: 52.77 kB / 0.6566 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.1642, allocations: 3.938 kB / 0.6566 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001556/0.1643, allocations: 82.06 kB / 0.6567 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.1643, allocations: 8 kB / 0.6567 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1644, allocations: 0 / 0.6567 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.1644, allocations: 0 / 0.6567 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.913e-05/0.1645, allocations: 19.97 kB / 0.6567 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.1645, allocations: 4 kB / 0.6567 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.229e-05/0.1645, allocations: 4 kB / 0.6567 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.1646, allocations: 4 kB / 0.6567 GB, free: 13.08 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 (6): * Single equations (assignments): 6 * 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.82e-05/0.1646, allocations: 113.8 kB / 0.6568 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.1647, allocations: 3.953 kB / 0.6568 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005244/0.1652, allocations: 296.5 kB / 0.6571 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1652, allocations: 0 / 0.6571 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.1652, allocations: 0 / 0.6571 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1652, allocations: 0 / 0.6571 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.1654, allocations: 177.6 kB / 0.6573 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1654, allocations: 0 / 0.6573 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.014e-05/0.1655, allocations: 15.98 kB / 0.6573 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1655, allocations: 0 / 0.6573 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.1655, allocations: 8 kB / 0.6573 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1655, allocations: 0 / 0.6573 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1655, allocations: 0 / 0.6573 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.1657, allocations: 124.9 kB / 0.6574 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.797e-05/0.1658, allocations: 89 kB / 0.6575 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.1658, allocations: 0 / 0.6575 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.107e-05/0.1659, allocations: 0 / 0.6575 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/0.1659, allocations: 12 kB / 0.6575 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.1659, allocations: 4 kB / 0.6575 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.949e-05/0.166, allocations: 99.7 kB / 0.6576 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.166, allocations: 0 / 0.6576 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003767/0.1664, allocations: 115.7 kB / 0.6577 GB, free: 11.94 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 (7): * Single equations (assignments): 7 * 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.0008882/0.1673, allocations: 0.7846 MB / 0.6585 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001556/0.1674, allocations: 51.97 kB / 0.6585 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1674, allocations: 0 / 0.6585 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.486e-05/0.1675, allocations: 31.91 kB / 0.6585 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.1677, allocations: 12 kB / 0.6586 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.1692, allocations: 1.38 MB / 0.6599 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.1695, allocations: 0.6846 MB / 0.6606 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003697/0.1699, allocations: 261.2 kB / 0.6608 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.064e-05/0.17, allocations: 19.44 kB / 0.6608 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of SimCode: time 8.52e-07/0.17, allocations: 0 / 0.6608 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02561/0.1956, allocations: 4.017 MB / 0.6648 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.81/8.006, allocations: 3.719 kB / 0.6648 GB, free: 4.785 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe 2>&1)