Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.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.FiniteLineSource_Integrand_Length,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length",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.001153/0.001153, allocations: 105.6 kB / 16.27 MB, free: 6.41 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.001102/0.001102, allocations: 184.6 kB / 17.2 MB, free: 5.953 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.279/1.279, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7241/0.7241, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 67.89 kB / 0.4912 GB, free: 7.297 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3274, allocations: 77.92 MB / 0.5673 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length): time 0.002632/0.3301, allocations: 1.354 MB / 0.5686 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.3315, allocations: 0.7948 MB / 0.5694 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.467e-05/0.3315, allocations: 0.9688 kB / 0.5694 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.795e-05/0.3316, allocations: 1.609 kB / 0.5694 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.27e-05/0.3316, allocations: 10.98 kB / 0.5694 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005612/0.3322, allocations: 170.2 kB / 0.5696 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.721e-05/0.3323, allocations: 47.62 kB / 0.5696 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.909e-05/0.3323, allocations: 3.406 kB / 0.5696 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.348e-05/0.3324, allocations: 30.5 kB / 0.5697 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.049e-05/0.3325, allocations: 26.64 kB / 0.5697 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.3325, allocations: 3.062 kB / 0.5697 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003606/0.3329, allocations: 174.1 kB / 0.5699 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.98e-05/0.3329, allocations: 14.31 kB / 0.5699 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.3329, allocations: 17.06 kB / 0.5699 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.3332, allocations: 148.8 kB / 0.57 GB, free: 31.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3332, allocations: 0 / 0.57 GB, free: 31.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3332, allocations: 0 / 0.57 GB, free: 31.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.3332, allocations: 0 / 0.57 GB, free: 31.05 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003616/0.3336, allocations: 369.6 kB / 0.5704 GB, free: 30.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.3336, allocations: 10.25 kB / 0.5704 GB, free: 30.67 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.925e-05/0.3337, allocations: 37.08 kB / 0.5704 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.675e-05/0.3337, allocations: 4.625 kB / 0.5704 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.063e-05/0.3338, allocations: 171.7 kB / 0.5706 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.3338, allocations: 1.562 kB / 0.5706 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.3338, allocations: 3.812 kB / 0.5706 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.3339, allocations: 63.53 kB / 0.5707 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.334, allocations: 0 / 0.5707 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.334, allocations: 3.844 kB / 0.5707 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.334, allocations: 1.062 kB / 0.5707 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.3341, allocations: 47.84 kB / 0.5707 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.3342, allocations: 165.3 kB / 0.5709 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.561e-05/0.3343, allocations: 48.94 kB / 0.5709 GB, free: 30.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.496e-05/0.3344, allocations: 23.78 kB / 0.5709 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.3344, allocations: 6.969 kB / 0.571 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/0.3344, allocations: 36.69 kB / 0.571 GB, free: 30.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.3344, allocations: 3.938 kB / 0.571 GB, free: 30.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.000219/0.3347, allocations: 78.38 kB / 0.5711 GB, free: 30.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/0.3347, allocations: 53.16 kB / 0.5711 GB, free: 29.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.21e-05/0.3348, allocations: 107.8 kB / 0.5712 GB, free: 29.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.3348, allocations: 29.7 kB / 0.5713 GB, free: 29.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.353e-05/0.3348, allocations: 85.81 kB / 0.5713 GB, free: 29.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.3349, allocations: 26.06 kB / 0.5714 GB, free: 29.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.3349, allocations: 23.81 kB / 0.5714 GB, free: 29.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.67e-05/0.335, allocations: 314.2 kB / 0.5717 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.56e-05/0.335, allocations: 14.62 kB / 0.5717 GB, free: 29.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.181e-05/0.335, allocations: 15.41 kB / 0.5717 GB, free: 29.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.736e-05/0.3351, allocations: 40.23 kB / 0.5717 GB, free: 29.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3351, allocations: 0 / 0.5717 GB, free: 29.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001242/0.3353, allocations: 79.92 kB / 0.5718 GB, free: 29.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3353, allocations: 7.797 kB / 0.5718 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.3353, allocations: 3.938 kB / 0.5718 GB, free: 29.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3353, allocations: 1.031 kB / 0.5718 GB, free: 29.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.3354, allocations: 14.06 kB / 0.5718 GB, free: 29.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3354, allocations: 0.9688 kB / 0.5718 GB, free: 29.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.85e-05/0.3355, allocations: 5.125 kB / 0.5719 GB, free: 29.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.3355, allocations: 5.469 kB / 0.5719 GB, free: 29.33 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 (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 5.566e-05/0.3355, allocations: 113.2 kB / 0.572 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.3356, allocations: 6.25 kB / 0.572 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004421/0.336, allocations: 203 kB / 0.5722 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.336, allocations: 2.656 kB / 0.5722 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.336, allocations: 0.5625 kB / 0.5722 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.336, allocations: 3.172 kB / 0.5722 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.3362, allocations: 199.5 kB / 0.5724 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3362, allocations: 3.938 kB / 0.5724 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.3363, allocations: 31.34 kB / 0.5724 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3363, allocations: 2.062 kB / 0.5724 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.3363, allocations: 7.562 kB / 0.5724 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3363, allocations: 1.469 kB / 0.5724 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3363, allocations: 2.047 kB / 0.5724 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.3365, allocations: 140.8 kB / 0.5725 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.647e-05/0.3366, allocations: 93.64 kB / 0.5726 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.3366, allocations: 6.219 kB / 0.5726 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.364e-05/0.3366, allocations: 1.5 kB / 0.5726 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.3367, allocations: 13.84 kB / 0.5727 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.3367, allocations: 6.172 kB / 0.5727 GB, free: 28.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.873e-05/0.3367, allocations: 86.38 kB / 0.5727 GB, free: 28.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3367, allocations: 0.7812 kB / 0.5727 GB, free: 28.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.337, allocations: 48.09 kB / 0.5728 GB, free: 28.63 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.0005426/0.3376, allocations: 0.753 MB / 0.5735 GB, free: 27.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001709/0.3377, allocations: 66.3 kB / 0.5736 GB, free: 27.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3377, allocations: 3.125 kB / 0.5736 GB, free: 27.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.033e-05/0.3378, allocations: 52.8 kB / 0.5736 GB, free: 27.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.338, allocations: 13.03 kB / 0.5737 GB, free: 27.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004608/0.3385, allocations: 229.5 kB / 0.5739 GB, free: 27.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.3386, allocations: 0.6971 MB / 0.5746 GB, free: 27.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.224e-05/0.3387, allocations: 21.94 kB / 0.5746 GB, free: 27.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.791e-05/0.3388, allocations: 32.83 kB / 0.5746 GB, free: 27.04 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3388, allocations: 5.25 kB / 0.5746 GB, free: 27.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.3584, allocations: 3.264 MB / 0.5778 GB, free: 26.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/8.399, allocations: 15.83 kB / 0.5778 GB, free: 26.61 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length_res.csv --start-time 0.01 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.199996 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe 2>&1)