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.001181/0.001181, allocations: 102 kB / 16.27 MB, free: 5.977 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.001235/0.001235, allocations: 188.5 kB / 17.2 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.289/1.289, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7311/0.7311, allocations: 122.8 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 67.89 kB / 0.4912 GB, free: 7.309 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3428, allocations: 77.93 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.001813/0.3447, allocations: 0.5606 MB / 0.5679 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00192/0.3466, allocations: 1.594 MB / 0.5694 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.423e-05/0.3467, allocations: 0 / 0.5694 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.966e-05/0.3467, allocations: 0.875 kB / 0.5694 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.866e-05/0.3468, allocations: 1.625 kB / 0.5694 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006584/0.3474, allocations: 200.5 kB / 0.5696 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.781e-05/0.3475, allocations: 22.89 kB / 0.5696 GB, free: 31.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.3476, allocations: 3.562 kB / 0.5697 GB, free: 31.13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.967e-05/0.3476, allocations: 4.625 kB / 0.5697 GB, free: 31.13 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.05e-05/0.3476, allocations: 17.5 kB / 0.5697 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.3476, allocations: 4.344 kB / 0.5697 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005146/0.3482, allocations: 275.3 kB / 0.5699 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.228e-05/0.3482, allocations: 9.734 kB / 0.5699 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.107e-05/0.3482, allocations: 12.39 kB / 0.57 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.3485, allocations: 163.5 kB / 0.5701 GB, free: 30.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3486, allocations: 0 / 0.5701 GB, free: 30.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3486, allocations: 1.094 kB / 0.5701 GB, free: 30.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.3486, allocations: 0 / 0.5701 GB, free: 30.97 MB / 446.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.0002901/0.3489, allocations: 367.1 kB / 0.5705 GB, free: 30.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3489, allocations: 10.38 kB / 0.5705 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.264e-05/0.3489, allocations: 34.09 kB / 0.5705 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008034/0.3497, allocations: 74.84 kB / 0.5706 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.807e-05/0.3498, allocations: 180.5 kB / 0.5708 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.3499, allocations: 2.406 kB / 0.5708 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.3499, allocations: 3.219 kB / 0.5708 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.3501, allocations: 87.56 kB / 0.5708 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.3501, allocations: 0 / 0.5708 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.3501, allocations: 0 / 0.5708 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3501, allocations: 1.719 kB / 0.5708 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002177/0.3503, allocations: 82.88 kB / 0.5709 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.3505, allocations: 180.9 kB / 0.5711 GB, free: 30.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.3507, allocations: 88.23 kB / 0.5712 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.424e-05/0.3507, allocations: 39.8 kB / 0.5712 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.3508, allocations: 5.156 kB / 0.5712 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.3508, allocations: 37.25 kB / 0.5713 GB, free: 29.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.3508, allocations: 0 / 0.5713 GB, free: 29.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003557/0.3512, allocations: 139.9 kB / 0.5714 GB, free: 29.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.3512, allocations: 58.25 kB / 0.5714 GB, free: 29.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.161e-05/0.3513, allocations: 100.8 kB / 0.5715 GB, free: 29.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.3513, allocations: 36.48 kB / 0.5716 GB, free: 29.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.889e-05/0.3513, allocations: 82.23 kB / 0.5717 GB, free: 29.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.3514, allocations: 16.42 kB / 0.5717 GB, free: 29.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.315e-05/0.3514, allocations: 22.81 kB / 0.5717 GB, free: 29.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.601e-05/0.3515, allocations: 317.9 kB / 0.572 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.787e-05/0.3516, allocations: 32.25 kB / 0.572 GB, free: 29.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.452e-05/0.3516, allocations: 31.72 kB / 0.5721 GB, free: 29.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.3518, allocations: 78.53 kB / 0.5721 GB, free: 29.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3518, allocations: 0.9688 kB / 0.5721 GB, free: 29.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000209/0.352, allocations: 114 kB / 0.5722 GB, free: 29.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.352, allocations: 6.594 kB / 0.5722 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.352, allocations: 0 / 0.5722 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.352, allocations: 3.938 kB / 0.5723 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.3522, allocations: 29.2 kB / 0.5723 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.3522, allocations: 0 / 0.5723 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.3524, allocations: 7.469 kB / 0.5723 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.3524, allocations: 6.297 kB / 0.5723 GB, free: 29.17 MB / 446.1 MB 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 6.28e-05/0.3524, allocations: 113.7 kB / 0.5724 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.3525, allocations: 5.719 kB / 0.5724 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003748/0.3528, allocations: 223.7 kB / 0.5726 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3529, allocations: 2.5 kB / 0.5726 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3529, allocations: 3 kB / 0.5726 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.3529, allocations: 1.375 kB / 0.5726 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.353, allocations: 207.5 kB / 0.5728 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.353, allocations: 0.75 kB / 0.5728 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.3532, allocations: 29.5 kB / 0.5729 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.3532, allocations: 1.688 kB / 0.5729 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.3532, allocations: 6.875 kB / 0.5729 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3532, allocations: 1.031 kB / 0.5729 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3532, allocations: 0.75 kB / 0.5729 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.3535, allocations: 192.8 kB / 0.573 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.053e-05/0.3535, allocations: 92.72 kB / 0.5731 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.3535, allocations: 3.406 kB / 0.5731 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.823e-05/0.3536, allocations: 10.38 kB / 0.5731 GB, free: 28.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.3537, allocations: 8.984 kB / 0.5732 GB, free: 28.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.3537, allocations: 3 kB / 0.5732 GB, free: 28.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.544e-05/0.3537, allocations: 88.41 kB / 0.5732 GB, free: 28.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.41e-07/0.3537, allocations: 0 / 0.5732 GB, free: 28.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003184/0.354, allocations: 71.98 kB / 0.5733 GB, free: 28.4 MB / 446.1 MB 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.0006713/0.3547, allocations: 0.8125 MB / 0.5741 GB, free: 27.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000224/0.3549, allocations: 112.7 kB / 0.5742 GB, free: 27.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.355, allocations: 0.5 kB / 0.5742 GB, free: 27.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.3551, allocations: 79.48 kB / 0.5743 GB, free: 27.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.3552, allocations: 7.812 kB / 0.5743 GB, free: 27.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005147/0.3558, allocations: 270 kB / 0.5746 GB, free: 27.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.3559, allocations: 0.6943 MB / 0.5752 GB, free: 26.78 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.024e-05/0.356, allocations: 20.8 kB / 0.5753 GB, free: 26.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.504e-05/0.3561, allocations: 29.03 kB / 0.5753 GB, free: 26.76 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3561, allocations: 0.875 kB / 0.5753 GB, free: 26.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01904/0.3751, allocations: 3.62 MB / 0.5788 GB, free: 25.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.4/8.775, allocations: 4 kB / 0.5788 GB, free: 25.95 MB / 446.1 MB (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)