Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IDEAS_dev_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_dev_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.001051/0.001052, 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.001163/0.001163, 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.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9523/0.9523, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 64.17 kB / 0.5055 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1507, allocations: 80.92 MB / 0.5845 GB, free: 4.41 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001879/0.1526, allocations: 0.5491 MB / 0.585 GB, free: 3.859 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.1539, allocations: 1.001 MB / 0.586 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.696e-05/0.1539, allocations: 0 / 0.586 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.403e-05/0.1539, allocations: 0 / 0.586 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006477/0.1546, allocations: 87.78 kB / 0.5861 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.213e-05/0.1546, allocations: 19.92 kB / 0.5861 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.802e-05/0.1547, allocations: 3.984 kB / 0.5861 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.909e-05/0.1547, allocations: 4 kB / 0.5861 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.717e-05/0.1548, allocations: 0 / 0.5861 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.155, allocations: 27.97 kB / 0.5862 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.155, allocations: 7.938 kB / 0.5862 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.1552, allocations: 79.88 kB / 0.5862 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.1552, allocations: 7.969 kB / 0.5863 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.821e-05/0.1552, allocations: 0 / 0.5863 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.1554, allocations: 63.92 kB / 0.5863 GB, free: 2.551 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1554, allocations: 0 / 0.5863 GB, free: 2.551 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1554, allocations: 0 / 0.5863 GB, free: 2.551 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1554, allocations: 0 / 0.5863 GB, free: 2.551 MB / 494.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.0003091/0.1557, allocations: 339.7 kB / 0.5866 GB, free: 2.172 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.1558, allocations: 12.03 kB / 0.5867 GB, free: 2.16 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.499e-05/0.1558, allocations: 38.75 kB / 0.5867 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.28e-05/0.1559, allocations: 4.844 kB / 0.5867 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.939e-05/0.156, allocations: 168.4 kB / 0.5869 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.156, allocations: 4.125 kB / 0.5869 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-06/0.156, allocations: 0 / 0.5869 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.114e-05/0.1561, allocations: 25.7 kB / 0.5869 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.1561, allocations: 3.938 kB / 0.5869 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.1561, allocations: 4 kB / 0.5869 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1561, allocations: 0 / 0.5869 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.754e-05/0.1561, allocations: 8 kB / 0.5869 GB, free: 1.855 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.1566, allocations: 468.6 kB / 0.5873 GB, free: 1.328 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.797e-05/0.1567, allocations: 165.1 kB / 0.5875 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.893e-05/0.1567, allocations: 80.14 kB / 0.5876 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.1567, allocations: 83.22 kB / 0.5877 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.1568, allocations: 105.8 kB / 0.5878 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.1568, allocations: 0 / 0.5878 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.689e-05/0.1568, allocations: 29.7 kB / 0.5878 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.1569, allocations: 130.7 kB / 0.5879 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.983e-05/0.157, allocations: 101.8 kB / 0.588 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.157, allocations: 25.7 kB / 0.588 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.314e-05/0.1571, allocations: 88.08 kB / 0.5881 GB, free: 484 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.067e-06/0.1571, allocations: 8 kB / 0.5881 GB, free: 476 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.1571, allocations: 9.719 kB / 0.5881 GB, free: 460 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.554e-05/0.1572, allocations: 314.8 kB / 0.5884 GB, free: 136 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.134e-05/0.1572, allocations: 4 kB / 0.5884 GB, free: 132 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.143e-06/0.1572, allocations: 3.938 kB / 0.5884 GB, free: 128 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.388e-05/0.1573, allocations: 8.844 kB / 0.5884 GB, free: 116 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1573, allocations: 4.062 kB / 0.5885 GB, free: 112 kB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.289e-05/0.1574, allocations: 37.7 kB / 0.5885 GB, free: 68 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1574, allocations: 4 kB / 0.5885 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1574, allocations: 3.938 kB / 0.5885 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.1574, allocations: 0 / 0.5885 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.496e-05/0.1574, allocations: 4 kB / 0.5885 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1574, allocations: 0 / 0.5885 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.515e-05/0.1575, allocations: 3.906 kB / 0.5885 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.1575, allocations: 3.938 kB / 0.5885 GB, free: 48 kB / 494.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 9.836e-05/0.1576, allocations: 185.2 kB / 0.5887 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.67e-05/0.1576, allocations: 112.9 kB / 0.5888 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.315e-05/0.1577, allocations: 104.1 kB / 0.5889 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.515e-05/0.1577, allocations: 180.2 kB / 0.5891 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.542e-05/0.1578, allocations: 184.3 kB / 0.5892 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.444e-05/0.1579, allocations: 176.3 kB / 0.5894 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.1581, allocations: 409.1 kB / 0.5898 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.582e-05/0.1581, allocations: 109 kB / 0.5899 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.489e-05/0.1582, allocations: 112.9 kB / 0.59 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.113e-05/0.1582, allocations: 176.3 kB / 0.5902 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.223e-05/0.1583, allocations: 176.5 kB / 0.5903 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.314e-05/0.1583, allocations: 192.2 kB / 0.5905 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.348e-05/0.1584, allocations: 180.3 kB / 0.5907 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.1585, allocations: 311.7 kB / 0.591 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.282e-05/0.1586, allocations: 182 kB / 0.5912 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.53e-05/0.1587, allocations: 176.3 kB / 0.5913 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.199e-05/0.1588, allocations: 109 kB / 0.5914 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.1588, allocations: 188.2 kB / 0.5916 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/0.1588, allocations: 101 kB / 0.5917 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.66e-05/0.1589, allocations: 83.22 kB / 0.5918 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1589, allocations: 0 / 0.5918 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002539/0.1592, allocations: 20 kB / 0.5918 GB, free: 12.43 MB / 0.4981 GB 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.000561/0.1597, allocations: 0.8528 MB / 0.5927 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.641e-05/0.1598, allocations: 4 kB / 0.5927 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1598, allocations: 4.062 kB / 0.5927 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.106e-06/0.1598, allocations: 0 / 0.5927 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.1602, allocations: 467.6 kB / 0.5931 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005131/0.1607, allocations: 243.6 kB / 0.5933 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.161, allocations: 0.6768 MB / 0.594 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.198e-05/0.161, allocations: 0 / 0.594 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.161, allocations: 11.44 kB / 0.594 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.161, allocations: 0 / 0.594 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.1775, allocations: 1.515 MB / 0.5955 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.704/7.882, allocations: 4.812 kB / 0.5955 GB, free: 8.77 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)