Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_Integrand,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,fileNamePrefix="IDEAS_IDEAS_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.0009224/0.0009224, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.0009392/0.0009393, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.238/1.238, allocations: 132.2 MB / 423.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005126/0.0005129, allocations: 8.906 kB / 0.5033 GB, free: 4.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4718/0.4723, allocations: 81.57 MB / 0.583 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.0006178/0.473, allocations: 299.8 kB / 0.5833 GB, free: 3.844 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.4747, allocations: 1.539 MB / 0.5848 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.697e-05/0.4747, allocations: 1.219 kB / 0.5848 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.935e-05/0.4748, allocations: 4.75 kB / 0.5848 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.3e-05/0.4748, allocations: 0.9375 kB / 0.5848 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.4752, allocations: 142.8 kB / 0.5849 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.515e-05/0.4753, allocations: 22.94 kB / 0.585 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.005e-05/0.4754, allocations: 5.578 kB / 0.585 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.141e-05/0.4754, allocations: 5.641 kB / 0.585 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.7e-05/0.4754, allocations: 9.562 kB / 0.585 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.4754, allocations: 1.344 kB / 0.585 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004899/0.4759, allocations: 278.9 kB / 0.5852 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.499e-05/0.476, allocations: 9.344 kB / 0.5853 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.099e-05/0.476, allocations: 31.23 kB / 0.5853 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.4762, allocations: 107 kB / 0.5854 GB, free: 2.531 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.4762, allocations: 3.938 kB / 0.5854 GB, free: 2.527 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4762, allocations: 1.188 kB / 0.5854 GB, free: 2.527 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.4762, allocations: 0 / 0.5854 GB, free: 2.527 MB / 430.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.0002473/0.4765, allocations: 361.5 kB / 0.5857 GB, free: 2.152 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.4765, allocations: 9.219 kB / 0.5857 GB, free: 2.152 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.606e-05/0.4766, allocations: 33.12 kB / 0.5858 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007417/0.4773, allocations: 76.45 kB / 0.5858 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.148e-05/0.4774, allocations: 170.4 kB / 0.586 GB, free: 1.898 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.4774, allocations: 5.641 kB / 0.586 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.4774, allocations: 2.031 kB / 0.586 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.4776, allocations: 82.78 kB / 0.5861 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.4776, allocations: 4 kB / 0.5861 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.4776, allocations: 0 / 0.5861 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4777, allocations: 0.7812 kB / 0.5861 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002335/0.4779, allocations: 85.62 kB / 0.5862 GB, free: 1.832 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000175/0.4781, allocations: 184.4 kB / 0.5864 GB, free: 1.629 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.4782, allocations: 87.98 kB / 0.5864 GB, free: 1.586 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.4783, allocations: 0.9375 kB / 0.5864 GB, free: 1.586 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/0.4783, allocations: 40.06 kB / 0.5865 GB, free: 1.539 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.4783, allocations: 0 / 0.5865 GB, free: 1.539 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003113/0.4786, allocations: 139.1 kB / 0.5866 GB, free: 1.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.4786, allocations: 52.95 kB / 0.5867 GB, free: 1.418 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.145e-05/0.4787, allocations: 104.2 kB / 0.5868 GB, free: 1.316 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.4787, allocations: 26.61 kB / 0.5868 GB, free: 1.285 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.999e-05/0.4787, allocations: 89.44 kB / 0.5869 GB, free: 1.195 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.4788, allocations: 15.72 kB / 0.5869 GB, free: 1.184 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.737e-06/0.4788, allocations: 4.781 kB / 0.5869 GB, free: 1.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.283e-05/0.4788, allocations: 321 kB / 0.5872 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.072e-05/0.4789, allocations: 32.11 kB / 0.5872 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.754e-05/0.479, allocations: 31.92 kB / 0.5873 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.689e-05/0.479, allocations: 31.78 kB / 0.5873 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.479, allocations: 0 / 0.5873 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001816/0.4792, allocations: 112.9 kB / 0.5874 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.4793, allocations: 7.719 kB / 0.5874 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.4793, allocations: 2.266 kB / 0.5874 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.4793, allocations: 0 / 0.5874 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.4795, allocations: 18.02 kB / 0.5874 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.4795, allocations: 5.672 kB / 0.5874 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.4796, allocations: 3.562 kB / 0.5874 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.4796, allocations: 5.609 kB / 0.5874 GB, free: 0.7773 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.906e-05/0.4797, allocations: 118.5 kB / 0.5876 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.4797, allocations: 7.078 kB / 0.5876 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003918/0.4801, allocations: 226.4 kB / 0.5878 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.4801, allocations: 2.219 kB / 0.5878 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4801, allocations: 0 / 0.5878 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.4801, allocations: 2.016 kB / 0.5878 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.4803, allocations: 217.7 kB / 0.588 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4803, allocations: 0 / 0.588 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/0.4805, allocations: 29.66 kB / 0.588 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4805, allocations: 1.375 kB / 0.588 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.4805, allocations: 2.125 kB / 0.588 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4805, allocations: 4 kB / 0.588 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4805, allocations: 1.984 kB / 0.588 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.4808, allocations: 195.6 kB / 0.5882 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.918e-05/0.4808, allocations: 84.14 kB / 0.5883 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.4808, allocations: 5.562 kB / 0.5883 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.384e-05/0.4809, allocations: 7.078 kB / 0.5883 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.4809, allocations: 12.09 kB / 0.5883 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.4809, allocations: 3.922 kB / 0.5883 GB, free: 76 kB / 430.1 MB Notification: Performance of sorting global known variables: time 5.263e-05/0.481, allocations: 90.55 kB / 0.5884 GB, free: 15.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.481, allocations: 0 / 0.5884 GB, free: 15.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003095/0.4813, allocations: 62.88 kB / 0.5885 GB, free: 15.98 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008399/0.4822, allocations: 0.8113 MB / 0.5893 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002113/0.4824, allocations: 102.6 kB / 0.5894 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4824, allocations: 0 / 0.5894 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.4825, allocations: 78.45 kB / 0.5894 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001057/0.4826, allocations: 5.812 kB / 0.5894 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005778/0.4832, allocations: 279 kB / 0.5897 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.4835, allocations: 0.7004 MB / 0.5904 GB, free: 14.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.4836, allocations: 31.3 kB / 0.5904 GB, free: 14.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.021e-05/0.4837, allocations: 27.09 kB / 0.5904 GB, free: 14.32 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4837, allocations: 0 / 0.5904 GB, free: 14.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08688/0.5706, allocations: 3.326 MB / 0.5937 GB, free: 13.94 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002369/0.5709, allocations: 268.9 kB / 0.5939 GB, free: 13.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.571/3.142, allocations: 1.875 kB / 0.5939 GB, free: 13.59 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand_fmu --startTime=0.01 --stopTime=15 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1) Environment - environmentSimulation: