Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.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.FiniteLineSource_Erfint,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Erfint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Erfint",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.001305/0.001305, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7288/0.7288, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 68.83 kB / 0.5019 GB, free: 3.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.348, allocations: 80.2 MB / 0.5802 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint): time 0.001683/0.3498, allocations: 0.564 MB / 0.5808 GB, free: 4.234 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.3511, allocations: 1.319 MB / 0.5821 GB, free: 3.277 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.346e-05/0.3511, allocations: 1.5 kB / 0.5821 GB, free: 3.277 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.195e-05/0.3512, allocations: 3.938 kB / 0.5821 GB, free: 3.273 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.3e-06/0.3512, allocations: 0 / 0.5821 GB, free: 3.273 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004493/0.3516, allocations: 98.91 kB / 0.5822 GB, free: 3.238 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.839e-05/0.3517, allocations: 11.38 kB / 0.5822 GB, free: 3.234 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.601e-05/0.3517, allocations: 2.125 kB / 0.5822 GB, free: 3.234 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.544e-05/0.3517, allocations: 2.312 kB / 0.5822 GB, free: 3.234 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.935e-05/0.3518, allocations: 9.953 kB / 0.5822 GB, free: 3.227 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.3518, allocations: 0.8125 kB / 0.5822 GB, free: 3.227 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002653/0.352, allocations: 123.9 kB / 0.5823 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.041e-05/0.3521, allocations: 1.297 kB / 0.5823 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.092e-05/0.3521, allocations: 6.625 kB / 0.5823 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.3523, allocations: 73.14 kB / 0.5824 GB, free: 3.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3523, allocations: 1 kB / 0.5824 GB, free: 3.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3523, allocations: 0 / 0.5824 GB, free: 3.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.3523, allocations: 0 / 0.5824 GB, free: 3.16 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002558/0.3525, allocations: 340.5 kB / 0.5827 GB, free: 2.797 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.3526, allocations: 8.688 kB / 0.5827 GB, free: 2.797 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.38e-05/0.3526, allocations: 40.12 kB / 0.5828 GB, free: 2.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.3527, allocations: 11 kB / 0.5828 GB, free: 2.746 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.689e-05/0.3528, allocations: 163.7 kB / 0.5829 GB, free: 2.551 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.3528, allocations: 384 / 0.5829 GB, free: 2.551 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.3528, allocations: 6.75 kB / 0.5829 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.022e-05/0.3529, allocations: 39.38 kB / 0.583 GB, free: 2.512 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.3529, allocations: 0 / 0.583 GB, free: 2.512 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.353, allocations: 5.406 kB / 0.583 GB, free: 2.508 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.353, allocations: 4 kB / 0.583 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.087e-05/0.353, allocations: 13.12 kB / 0.583 GB, free: 2.5 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001027/0.3531, allocations: 160 kB / 0.5832 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.3533, allocations: 51.98 kB / 0.5832 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.3533, allocations: 19.92 kB / 0.5832 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005164/0.3538, allocations: 1.483 MB / 0.5847 GB, free: 472 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.288e-05/0.3539, allocations: 32.69 kB / 0.5847 GB, free: 432 kB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.3539, allocations: 0 / 0.5847 GB, free: 432 kB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001659/0.354, allocations: 65.28 kB / 0.5848 GB, free: 384 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.037e-05/0.3541, allocations: 52.41 kB / 0.5848 GB, free: 320 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.072e-05/0.3541, allocations: 90.61 kB / 0.5849 GB, free: 220 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.3541, allocations: 29.7 kB / 0.5849 GB, free: 184 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.423e-05/0.3541, allocations: 85.08 kB / 0.585 GB, free: 96 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.3542, allocations: 11.59 kB / 0.585 GB, free: 88 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.3542, allocations: 18.03 kB / 0.585 GB, free: 68 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.3543, allocations: 313.5 kB / 0.5853 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.366e-05/0.3543, allocations: 8.969 kB / 0.5853 GB, free: 15.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.767e-05/0.3544, allocations: 6.531 kB / 0.5854 GB, free: 15.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.227e-05/0.3544, allocations: 25.56 kB / 0.5854 GB, free: 15.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3544, allocations: 0 / 0.5854 GB, free: 15.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.409e-05/0.3545, allocations: 66.05 kB / 0.5854 GB, free: 15.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3546, allocations: 9.812 kB / 0.5855 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3546, allocations: 0 / 0.5855 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3546, allocations: 0.6875 kB / 0.5855 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.446e-05/0.3546, allocations: 9.047 kB / 0.5855 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3547, allocations: 0 / 0.5855 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.558e-05/0.3547, allocations: 10 kB / 0.5855 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.3547, allocations: 1.656 kB / 0.5855 GB, free: 15.67 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.619e-05/0.3548, allocations: 109.6 kB / 0.5856 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.3548, allocations: 5.531 kB / 0.5856 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/0.355, allocations: 78.61 kB / 0.5857 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.355, allocations: 0.9375 kB / 0.5857 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.355, allocations: 1.094 kB / 0.5857 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.355, allocations: 0.7656 kB / 0.5857 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.3551, allocations: 163 kB / 0.5858 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3551, allocations: 5.766 kB / 0.5858 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.019e-05/0.3552, allocations: 8.656 kB / 0.5858 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3552, allocations: 1.75 kB / 0.5858 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.3552, allocations: 0.6875 kB / 0.5858 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3552, allocations: 5.312 kB / 0.5858 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3552, allocations: 0 / 0.5858 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.3554, allocations: 105.2 kB / 0.5859 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.064e-05/0.3555, allocations: 79.05 kB / 0.586 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.3555, allocations: 0.6094 kB / 0.586 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.623e-05/0.3555, allocations: 9.312 kB / 0.586 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.049e-05/0.3555, allocations: 3.672 kB / 0.586 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.3556, allocations: 1.688 kB / 0.586 GB, free: 15.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.774e-05/0.3556, allocations: 83.28 kB / 0.5861 GB, free: 15.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3556, allocations: 0 / 0.5861 GB, free: 15.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.3559, allocations: 27.02 kB / 0.5861 GB, free: 15.01 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (erfint_num) * 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 (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 Backend phase and start with SimCode phase: time 0.0005719/0.3564, allocations: 0.6839 MB / 0.5868 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001169/0.3566, allocations: 37.12 kB / 0.5868 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3566, allocations: 0 / 0.5868 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.251e-05/0.3566, allocations: 17.44 kB / 0.5869 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.3567, allocations: 5.594 kB / 0.5869 GB, free: 14.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009164/0.3577, allocations: 1.126 MB / 0.588 GB, free: 13.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.3579, allocations: 0.6777 MB / 0.5886 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.605e-05/0.3579, allocations: 7.547 kB / 0.5886 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.3579, allocations: 15.23 kB / 0.5886 GB, free: 12.54 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3579, allocations: 3.938 kB / 0.5886 GB, free: 12.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01751/0.3755, allocations: 1.798 MB / 0.5904 GB, free: 12.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.042/7.417, allocations: 7.969 kB / 0.5904 GB, free: 12.18 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Erfint.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe 2>&1)