Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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_Integrand_Length,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length,fileNamePrefix="IDEAS_IDEAS_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.001448/0.001448, allocations: 108 kB / 15.61 MB, free: 152 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.001617/0.001616, allocations: 197 kB / 16.53 MB, free: 6.664 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.297/1.297, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7179/0.7179, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 60.38 kB / 0.5019 GB, free: 3.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.31, allocations: 80.2 MB / 0.5802 GB, free: 4.609 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length): time 0.00206/0.3121, allocations: 1.353 MB / 0.5816 GB, free: 3.656 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.3132, allocations: 0.7927 MB / 0.5823 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.246e-05/0.3132, allocations: 4 kB / 0.5823 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.709e-05/0.3133, allocations: 4.734 kB / 0.5823 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.963e-05/0.3133, allocations: 10.34 kB / 0.5823 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005186/0.3138, allocations: 170.6 kB / 0.5825 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.214e-05/0.3139, allocations: 50.16 kB / 0.5826 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.921e-05/0.314, allocations: 4.234 kB / 0.5826 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.288e-05/0.314, allocations: 24.94 kB / 0.5826 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.857e-05/0.314, allocations: 34.66 kB / 0.5826 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.3141, allocations: 6 kB / 0.5826 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003249/0.3144, allocations: 171 kB / 0.5828 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/0.3144, allocations: 12.36 kB / 0.5828 GB, free: 2.934 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.794e-05/0.3145, allocations: 21.17 kB / 0.5828 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.3147, allocations: 134.5 kB / 0.583 GB, free: 2.887 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.3147, allocations: 4.812 kB / 0.583 GB, free: 2.883 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3147, allocations: 0 / 0.583 GB, free: 2.883 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.157e-06/0.3147, allocations: 0.75 kB / 0.583 GB, free: 2.883 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002977/0.315, allocations: 368.7 kB / 0.5833 GB, free: 2.504 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.3151, allocations: 13 kB / 0.5833 GB, free: 2.5 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.502e-05/0.3151, allocations: 36.69 kB / 0.5834 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.3151, allocations: 4.156 kB / 0.5834 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.952e-05/0.3152, allocations: 176.1 kB / 0.5835 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-06/0.3152, allocations: 1.781 kB / 0.5835 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.3152, allocations: 4.719 kB / 0.5835 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.3153, allocations: 61.45 kB / 0.5836 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.3153, allocations: 5.297 kB / 0.5836 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.3154, allocations: 1.062 kB / 0.5836 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3154, allocations: 3.984 kB / 0.5836 GB, free: 2.195 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.3155, allocations: 49.42 kB / 0.5836 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001184/0.3156, allocations: 168 kB / 0.5838 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.379e-05/0.3157, allocations: 49.58 kB / 0.5839 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.81e-05/0.3157, allocations: 22.33 kB / 0.5839 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.3158, allocations: 1.469 kB / 0.5839 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.214e-05/0.3158, allocations: 32.58 kB / 0.5839 GB, free: 1.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.3158, allocations: 4 kB / 0.5839 GB, free: 1.906 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001917/0.316, allocations: 90.05 kB / 0.584 GB, free: 1.855 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.933e-05/0.316, allocations: 53.06 kB / 0.584 GB, free: 1.793 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.897e-05/0.3161, allocations: 106.3 kB / 0.5842 GB, free: 1.691 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.3161, allocations: 25.7 kB / 0.5842 GB, free: 1.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.651e-05/0.3161, allocations: 86.95 kB / 0.5843 GB, free: 1.574 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.3161, allocations: 15.25 kB / 0.5843 GB, free: 1.562 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.3162, allocations: 23.84 kB / 0.5843 GB, free: 1.543 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.336e-05/0.3162, allocations: 321.3 kB / 0.5846 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.136e-05/0.3162, allocations: 10.36 kB / 0.5846 GB, free: 1.223 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.96e-05/0.3163, allocations: 22.84 kB / 0.5846 GB, free: 1.211 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.281e-05/0.3163, allocations: 39.62 kB / 0.5847 GB, free: 1.191 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.3163, allocations: 0 / 0.5847 GB, free: 1.191 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001144/0.3165, allocations: 77.55 kB / 0.5847 GB, free: 1.145 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.3165, allocations: 4.312 kB / 0.5847 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3165, allocations: 1.297 kB / 0.5848 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3165, allocations: 1.094 kB / 0.5848 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.961e-05/0.3166, allocations: 13.34 kB / 0.5848 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3166, allocations: 9.031 kB / 0.5848 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.666e-05/0.3166, allocations: 1.375 kB / 0.5848 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.3167, allocations: 3.812 kB / 0.5848 GB, free: 1.137 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 (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 4.251e-05/0.3167, allocations: 120.3 kB / 0.5849 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.3167, allocations: 1.938 kB / 0.5849 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003605/0.3171, allocations: 208.1 kB / 0.5851 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3171, allocations: 3.25 kB / 0.5851 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3171, allocations: 0 / 0.5851 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3171, allocations: 1.875 kB / 0.5851 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.3172, allocations: 202.8 kB / 0.5853 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3172, allocations: 4 kB / 0.5853 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.85e-05/0.3173, allocations: 31.12 kB / 0.5853 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3173, allocations: 0.5625 kB / 0.5853 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3173, allocations: 3.906 kB / 0.5853 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3174, allocations: 1.578 kB / 0.5853 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3174, allocations: 0 / 0.5853 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.3175, allocations: 145.9 kB / 0.5855 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.673e-05/0.3176, allocations: 87.97 kB / 0.5856 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.3176, allocations: 6.406 kB / 0.5856 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.202e-05/0.3176, allocations: 5.188 kB / 0.5856 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.323e-05/0.3176, allocations: 10.52 kB / 0.5856 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.3177, allocations: 5.578 kB / 0.5856 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.187e-05/0.3177, allocations: 86.09 kB / 0.5857 GB, free: 440 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3177, allocations: 0 / 0.5857 GB, free: 440 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.3179, allocations: 51.33 kB / 0.5857 GB, free: 428 kB / 430.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.0005448/0.3185, allocations: 0.7576 MB / 0.5865 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001545/0.3187, allocations: 65.91 kB / 0.5865 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.3187, allocations: 0 / 0.5865 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.195e-05/0.3187, allocations: 48.91 kB / 0.5866 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.319, allocations: 12.09 kB / 0.5866 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004675/0.3194, allocations: 231.6 kB / 0.5868 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.3197, allocations: 0.6966 MB / 0.5875 GB, free: 14.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.843e-05/0.3197, allocations: 24.45 kB / 0.5875 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.667e-05/0.3198, allocations: 33.7 kB / 0.5875 GB, free: 14.82 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3198, allocations: 0 / 0.5875 GB, free: 14.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.951/2.271, allocations: 3.252 MB / 0.5907 GB, free: 14.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.731/10, allocations: 4.094 kB / 0.5907 GB, free: 14.36 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length_fmu --startTime=0.01 --stopTime=500 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe 2>&1)