Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="BuildingSystems_BuildingSystems_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.001283/0.001283, 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.001301/0.001301, allocations: 192.7 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002419/0.002419, allocations: 286.8 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.015/1.015, allocations: 169.3 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 101.4 kB / 0.5954 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1452, allocations: 86.97 MB / 0.6803 GB, free: 0.543 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001785/0.147, allocations: 0.564 MB / 0.6809 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.1483, allocations: 0.9997 MB / 0.6818 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.08e-05/0.1484, allocations: 0 / 0.6818 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.031e-05/0.1484, allocations: 2.656 kB / 0.6819 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00073/0.1491, allocations: 91.77 kB / 0.6819 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.24e-05/0.1492, allocations: 19.92 kB / 0.682 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.353e-05/0.1492, allocations: 4 kB / 0.682 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.021e-05/0.1493, allocations: 11.92 kB / 0.682 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.728e-05/0.1493, allocations: 0 / 0.682 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.1496, allocations: 38 kB / 0.682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.1496, allocations: 4 kB / 0.682 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000257/0.1499, allocations: 83.84 kB / 0.6821 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.1499, allocations: 4 kB / 0.6821 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.859e-05/0.1499, allocations: 0 / 0.6821 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.1501, allocations: 68.64 kB / 0.6822 GB, free: 14.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1501, allocations: 0 / 0.6822 GB, free: 14.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1501, allocations: 8.812 kB / 0.6822 GB, free: 14.65 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1501, allocations: 0 / 0.6822 GB, free: 14.65 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.0002971/0.1504, allocations: 328.2 kB / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.1505, allocations: 13.42 kB / 0.6825 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.762e-05/0.1505, allocations: 34.75 kB / 0.6825 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.698e-05/0.1506, allocations: 4.938 kB / 0.6825 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.1507, allocations: 165 kB / 0.6827 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1507, allocations: 384 / 0.6827 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-06/0.1507, allocations: 4.375 kB / 0.6827 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.951e-05/0.1508, allocations: 37.58 kB / 0.6827 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.1508, allocations: 0 / 0.6827 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-06/0.1508, allocations: 0 / 0.6827 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.1508, allocations: 3.984 kB / 0.6827 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.642e-05/0.1508, allocations: 0 / 0.6827 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003585/0.1512, allocations: 464.6 kB / 0.6832 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.997e-05/0.1513, allocations: 169.1 kB / 0.6833 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.022e-05/0.1513, allocations: 88.08 kB / 0.6834 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.1513, allocations: 79.28 kB / 0.6835 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.1514, allocations: 105.8 kB / 0.6836 GB, free: 13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.1514, allocations: 0 / 0.6836 GB, free: 13 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.889e-05/0.1515, allocations: 33.61 kB / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.1515, allocations: 126.7 kB / 0.6838 GB, free: 12.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.441e-05/0.1516, allocations: 105.8 kB / 0.6839 GB, free: 12.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/0.1516, allocations: 25.7 kB / 0.6839 GB, free: 12.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.413e-05/0.1517, allocations: 80.14 kB / 0.684 GB, free: 12.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.1517, allocations: 0 / 0.684 GB, free: 12.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/0.1517, allocations: 13.72 kB / 0.684 GB, free: 12.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.202e-05/0.1518, allocations: 318.8 kB / 0.6843 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.1518, allocations: 7.938 kB / 0.6843 GB, free: 12.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.194e-06/0.1518, allocations: 4 kB / 0.6843 GB, free: 12.24 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.29e-05/0.1519, allocations: 8.859 kB / 0.6843 GB, free: 12.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1519, allocations: 0 / 0.6843 GB, free: 12.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.228e-05/0.152, allocations: 33.64 kB / 0.6843 GB, free: 12.19 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.152, allocations: 13.81 kB / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.152, allocations: 0 / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.152, allocations: 0 / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.342e-05/0.152, allocations: 4.094 kB / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.152, allocations: 3.984 kB / 0.6843 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.309e-05/0.1521, allocations: 0 / 0.6843 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.1521, allocations: 0 / 0.6843 GB, free: 12.17 MB / 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 7.287e-05/0.1522, allocations: 193.7 kB / 0.6845 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.833e-05/0.1522, allocations: 105 kB / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/0.1523, allocations: 104.1 kB / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-05/0.1523, allocations: 188.2 kB / 0.6849 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.435e-05/0.1524, allocations: 180.2 kB / 0.6851 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-05/0.1524, allocations: 184.2 kB / 0.6853 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.1526, allocations: 405.7 kB / 0.6856 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-05/0.1527, allocations: 105 kB / 0.6857 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.926e-05/0.1527, allocations: 104.9 kB / 0.6858 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-05/0.1528, allocations: 180.3 kB / 0.686 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.984e-05/0.1529, allocations: 184.4 kB / 0.6862 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.545e-05/0.1529, allocations: 184.3 kB / 0.6864 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.983e-05/0.153, allocations: 184.2 kB / 0.6865 GB, free: 9.773 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.1531, allocations: 307.9 kB / 0.6868 GB, free: 9.449 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.187e-05/0.1532, allocations: 186 kB / 0.687 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.259e-05/0.1532, allocations: 188.2 kB / 0.6872 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.986e-05/0.1533, allocations: 101 kB / 0.6873 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/0.1534, allocations: 180.2 kB / 0.6875 GB, free: 8.762 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.1534, allocations: 105 kB / 0.6876 GB, free: 8.652 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.486e-05/0.1535, allocations: 79.28 kB / 0.6876 GB, free: 8.574 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1535, allocations: 0 / 0.6876 GB, free: 8.574 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.1537, allocations: 31.92 kB / 0.6877 GB, free: 8.543 MB / 494.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.0006124/0.1543, allocations: 0.8757 MB / 0.6885 GB, free: 7.641 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.835e-05/0.1544, allocations: 0 / 0.6885 GB, free: 7.641 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1544, allocations: 3.938 kB / 0.6885 GB, free: 7.637 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.1544, allocations: 0 / 0.6885 GB, free: 7.637 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.1548, allocations: 464.4 kB / 0.689 GB, free: 7.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004985/0.1553, allocations: 234 kB / 0.6892 GB, free: 6.91 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.1555, allocations: 0.669 MB / 0.6898 GB, free: 6.215 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.888e-05/0.1556, allocations: 10.61 kB / 0.6899 GB, free: 6.207 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.1556, allocations: 8.984 kB / 0.6899 GB, free: 6.199 MB / 494.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1556, allocations: 4 kB / 0.6899 GB, free: 6.195 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01772/0.1733, allocations: 1.546 MB / 0.6914 GB, free: 4.852 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.556/8.729, allocations: 7.156 kB / 0.6914 GB, free: 4.852 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)