Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.ShaGFunction,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",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.001208/0.001208, 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.001264/0.001264, allocations: 194.6 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.308/1.308, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7742/0.7742, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 67.64 kB / 0.5019 GB, free: 3.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.408, allocations: 80.2 MB / 0.5802 GB, free: 4.605 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002574/0.4107, allocations: 0.55 MB / 0.5808 GB, free: 4.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.4121, allocations: 0.9878 MB / 0.5817 GB, free: 3.543 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.487e-05/0.4121, allocations: 1.219 kB / 0.5817 GB, free: 3.543 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.279e-05/0.4121, allocations: 0 / 0.5817 GB, free: 3.543 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000754/0.4129, allocations: 91.09 kB / 0.5818 GB, free: 3.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.868e-05/0.4129, allocations: 17.7 kB / 0.5818 GB, free: 3.488 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.027e-05/0.413, allocations: 11.38 kB / 0.5819 GB, free: 3.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.079e-05/0.4131, allocations: 6.281 kB / 0.5819 GB, free: 3.477 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.117e-05/0.4131, allocations: 2.75 kB / 0.5819 GB, free: 3.477 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.4133, allocations: 28.48 kB / 0.5819 GB, free: 3.469 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.4134, allocations: 1.094 kB / 0.5819 GB, free: 3.469 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.4136, allocations: 74.48 kB / 0.582 GB, free: 3.445 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.146e-05/0.4136, allocations: 1.5 kB / 0.582 GB, free: 3.445 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.4136, allocations: 8.812 kB / 0.582 GB, free: 3.438 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.4138, allocations: 66.86 kB / 0.582 GB, free: 3.418 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.4138, allocations: 0 / 0.582 GB, free: 3.418 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4138, allocations: 4 kB / 0.582 GB, free: 3.414 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.4138, allocations: 0 / 0.582 GB, free: 3.414 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003/0.4141, allocations: 335.4 kB / 0.5824 GB, free: 3.055 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.4142, allocations: 9.562 kB / 0.5824 GB, free: 3.055 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.433e-05/0.4142, allocations: 31.31 kB / 0.5824 GB, free: 3.016 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.4142, allocations: 2.312 kB / 0.5824 GB, free: 3.016 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.902e-05/0.4143, allocations: 163.7 kB / 0.5826 GB, free: 2.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.4144, allocations: 4.125 kB / 0.5826 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.4144, allocations: 5.312 kB / 0.5826 GB, free: 2.812 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.041e-05/0.4145, allocations: 32.3 kB / 0.5826 GB, free: 2.777 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4145, allocations: 3.984 kB / 0.5826 GB, free: 2.773 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.4145, allocations: 1.375 kB / 0.5826 GB, free: 2.773 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4145, allocations: 0 / 0.5826 GB, free: 2.773 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.2e-05/0.4145, allocations: 2.078 kB / 0.5826 GB, free: 2.773 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.4149, allocations: 468.3 kB / 0.583 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.83e-05/0.415, allocations: 179.1 kB / 0.5832 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.018e-05/0.415, allocations: 80.14 kB / 0.5833 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.415, allocations: 75.28 kB / 0.5834 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.415, allocations: 107.9 kB / 0.5835 GB, free: 1.805 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.333e-06/0.4151, allocations: 0 / 0.5835 GB, free: 1.805 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 7.142e-05/0.4151, allocations: 31.97 kB / 0.5835 GB, free: 1.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.4152, allocations: 134.6 kB / 0.5836 GB, free: 1.625 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.488e-05/0.4152, allocations: 101.9 kB / 0.5837 GB, free: 1.523 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.019e-06/0.4153, allocations: 31.08 kB / 0.5838 GB, free: 1.488 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.813e-05/0.4153, allocations: 80.84 kB / 0.5838 GB, free: 1.406 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-06/0.4153, allocations: 0 / 0.5838 GB, free: 1.406 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/0.4153, allocations: 12.77 kB / 0.5838 GB, free: 1.391 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.065e-05/0.4154, allocations: 321 kB / 0.5842 GB, free: 1.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.037e-05/0.4154, allocations: 0.7188 kB / 0.5842 GB, free: 1.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-06/0.4154, allocations: 5.875 kB / 0.5842 GB, free: 1.066 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.341e-05/0.4154, allocations: 7.594 kB / 0.5842 GB, free: 1.059 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4154, allocations: 0 / 0.5842 GB, free: 1.059 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.207e-05/0.4155, allocations: 36.44 kB / 0.5842 GB, free: 1.023 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.4156, allocations: 7.938 kB / 0.5842 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.4156, allocations: 4.594 kB / 0.5842 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.4156, allocations: 1.031 kB / 0.5842 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.782e-05/0.4156, allocations: 0.6094 kB / 0.5842 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.4156, allocations: 4.938 kB / 0.5842 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.474e-05/0.4156, allocations: 0 / 0.5842 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.4157, allocations: 5.359 kB / 0.5842 GB, free: 1.012 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: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 7.091e-05/0.4157, allocations: 191 kB / 0.5844 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.979e-05/0.4158, allocations: 103.2 kB / 0.5845 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.254e-05/0.4158, allocations: 110.7 kB / 0.5846 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.277e-05/0.4158, allocations: 181.6 kB / 0.5848 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.634e-05/0.4159, allocations: 178.3 kB / 0.585 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.258e-05/0.4159, allocations: 181.7 kB / 0.5851 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.4161, allocations: 405.9 kB / 0.5855 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.56e-05/0.4162, allocations: 106.4 kB / 0.5856 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.192e-05/0.4162, allocations: 107.1 kB / 0.5857 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.169e-05/0.4163, allocations: 181.7 kB / 0.5859 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.337e-05/0.4163, allocations: 189.7 kB / 0.5861 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.356e-05/0.4164, allocations: 178 kB / 0.5862 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.425e-05/0.4165, allocations: 181.6 kB / 0.5864 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.4166, allocations: 313.6 kB / 0.5867 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.447e-05/0.4167, allocations: 184.6 kB / 0.5869 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.023e-05/0.4168, allocations: 178.6 kB / 0.5871 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.767e-05/0.4169, allocations: 106.5 kB / 0.5872 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.208e-05/0.4169, allocations: 181.8 kB / 0.5873 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.442e-05/0.417, allocations: 102.9 kB / 0.5874 GB, free: 13.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.455e-05/0.417, allocations: 96.47 kB / 0.5875 GB, free: 13.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.417, allocations: 0 / 0.5875 GB, free: 13.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000256/0.4173, allocations: 20.34 kB / 0.5875 GB, free: 13.45 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 (0): * Single equations (assignments): 0 * 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.0006106/0.4179, allocations: 0.8596 MB / 0.5884 GB, free: 12.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.766e-05/0.418, allocations: 2.281 kB / 0.5884 GB, free: 12.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.418, allocations: 0 / 0.5884 GB, free: 12.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.918e-06/0.418, allocations: 5.219 kB / 0.5884 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.4185, allocations: 464.8 kB / 0.5888 GB, free: 12.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006047/0.4191, allocations: 234.6 kB / 0.5891 GB, free: 11.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.4194, allocations: 0.6723 MB / 0.5897 GB, free: 11.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.546e-05/0.4194, allocations: 2.328 kB / 0.5897 GB, free: 11.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.4194, allocations: 9.75 kB / 0.5897 GB, free: 11.22 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4194, allocations: 0 / 0.5897 GB, free: 11.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01938/0.4388, allocations: 1.497 MB / 0.5912 GB, free: 10.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.574/8.013, allocations: 10.73 kB / 0.5912 GB, free: 10.86 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)