Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,fileNamePrefix="IDEAS_dev_IDEAS_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.00452/0.00452, allocations: 101.3 kB / 15.73 MB, free: 6.449 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.001299/0.001299, allocations: 201 kB / 16.68 MB, free: 6.352 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.963/0.963, allocations: 135.6 MB / 426.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.89 kB / 0.5858 GB, free: 3.152 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3726, allocations: 81.03 MB / 0.6649 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.002156/0.3748, allocations: 1.289 MB / 0.6662 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001659/0.3765, allocations: 1.338 MB / 0.6675 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.612e-05/0.3765, allocations: 0 / 0.6675 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.081e-05/0.3766, allocations: 0 / 0.6675 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.3767, allocations: 10.27 kB / 0.6675 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008735/0.3776, allocations: 373.5 kB / 0.6679 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.846e-05/0.3777, allocations: 40.34 kB / 0.6679 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.926e-05/0.3777, allocations: 2.625 kB / 0.6679 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.691e-05/0.3778, allocations: 14.69 kB / 0.6679 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.95e-05/0.3778, allocations: 24.52 kB / 0.6679 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.3778, allocations: 2.406 kB / 0.6679 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006876/0.3785, allocations: 0.5148 MB / 0.6684 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.132e-05/0.3786, allocations: 18.59 kB / 0.6685 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.549e-05/0.3786, allocations: 22.98 kB / 0.6685 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004421/0.3791, allocations: 342.1 kB / 0.6688 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3791, allocations: 3.984 kB / 0.6688 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3791, allocations: 1.281 kB / 0.6688 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.3791, allocations: 0 / 0.6688 GB, free: 4.039 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.0004404/0.3796, allocations: 417.4 kB / 0.6692 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3796, allocations: 10.22 kB / 0.6692 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.68e-05/0.3796, allocations: 32.03 kB / 0.6693 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002966/0.3799, allocations: 38.41 kB / 0.6693 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.3801, allocations: 171.2 kB / 0.6695 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.3801, allocations: 6.719 kB / 0.6695 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.3801, allocations: 1.281 kB / 0.6695 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.3802, allocations: 60.72 kB / 0.6695 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3802, allocations: 0 / 0.6695 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.3803, allocations: 8 kB / 0.6695 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3803, allocations: 1.125 kB / 0.6695 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002101/0.3805, allocations: 55.03 kB / 0.6696 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.3807, allocations: 178.6 kB / 0.6698 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.3808, allocations: 70.86 kB / 0.6698 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.818e-05/0.3808, allocations: 24.81 kB / 0.6698 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005187/0.3814, allocations: 210.1 kB / 0.67 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.3814, allocations: 32 kB / 0.6701 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.3814, allocations: 0 / 0.6701 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0002616/0.3817, allocations: 101 kB / 0.6702 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.3817, allocations: 56.53 kB / 0.6702 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.854e-05/0.3818, allocations: 113.9 kB / 0.6703 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.3818, allocations: 26.77 kB / 0.6704 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.529e-05/0.3818, allocations: 85.48 kB / 0.6704 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.3819, allocations: 22.22 kB / 0.6705 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.3819, allocations: 21.53 kB / 0.6705 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.335e-05/0.382, allocations: 324.4 kB / 0.6708 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.288e-05/0.382, allocations: 22.02 kB / 0.6708 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.609e-05/0.3821, allocations: 11.5 kB / 0.6708 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.187e-05/0.3822, allocations: 50.11 kB / 0.6709 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3822, allocations: 5.281 kB / 0.6709 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001312/0.3823, allocations: 82.72 kB / 0.671 GB, free: 2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3823, allocations: 5.438 kB / 0.671 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3823, allocations: 0 / 0.671 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.3824, allocations: 0 / 0.671 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.3825, allocations: 15.11 kB / 0.671 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.3825, allocations: 0 / 0.671 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.143e-05/0.3825, allocations: 9.219 kB / 0.671 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.3826, allocations: 7.25 kB / 0.671 GB, free: 1.984 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 6.212e-05/0.3826, allocations: 113.9 kB / 0.6711 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.3826, allocations: 10.16 kB / 0.6711 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004903/0.3831, allocations: 290.2 kB / 0.6714 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3832, allocations: 5.031 kB / 0.6714 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.3832, allocations: 1.094 kB / 0.6714 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3832, allocations: 0 / 0.6714 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.3833, allocations: 184.4 kB / 0.6716 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3833, allocations: 5.406 kB / 0.6716 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.485e-05/0.3834, allocations: 10.94 kB / 0.6716 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3834, allocations: 1.094 kB / 0.6716 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.3834, allocations: 5.312 kB / 0.6716 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3834, allocations: 1.406 kB / 0.6716 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3834, allocations: 0 / 0.6716 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.3836, allocations: 114.1 kB / 0.6717 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.536e-05/0.3836, allocations: 79.36 kB / 0.6718 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.3836, allocations: 9.062 kB / 0.6718 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.971e-05/0.3837, allocations: 0 / 0.6718 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.423e-05/0.3837, allocations: 7.391 kB / 0.6718 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.3837, allocations: 6.969 kB / 0.6718 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.422e-05/0.3838, allocations: 84.12 kB / 0.6719 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3838, allocations: 0 / 0.6719 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004384/0.3842, allocations: 118.1 kB / 0.672 GB, free: 1.152 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.000693/0.3849, allocations: 0.7836 MB / 0.6728 GB, free: 496 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001533/0.3851, allocations: 52.03 kB / 0.6728 GB, free: 476 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3851, allocations: 0 / 0.6728 GB, free: 476 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.114e-05/0.3851, allocations: 31.95 kB / 0.6728 GB, free: 464 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.3853, allocations: 21.31 kB / 0.6729 GB, free: 452 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.3867, allocations: 1.387 MB / 0.6742 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.3871, allocations: 0.6823 MB / 0.6749 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000384/0.3875, allocations: 264.7 kB / 0.6751 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.66e-05/0.3875, allocations: 26.73 kB / 0.6752 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of SimCode: time 6.61e-07/0.3875, allocations: 0 / 0.6752 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02606/0.4136, allocations: 4.009 MB / 0.6791 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.895/8.309, allocations: 9.875 kB / 0.6791 GB, free: 12.31 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe 2>&1)