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.0009777/0.0009778, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009478/0.0009479, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.178/1.178, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001926/0.001926, allocations: 274.8 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8393/0.8393, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 90.94 kB / 0.5946 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1223, allocations: 86.99 MB / 0.6796 GB, free: 1.043 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001558/0.1239, allocations: 0.6229 MB / 0.6802 GB, free: 440 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.1249, allocations: 1.008 MB / 0.6812 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.898e-06/0.1249, allocations: 0 / 0.6812 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.177e-05/0.1249, allocations: 0.625 kB / 0.6812 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005198/0.1255, allocations: 85.62 kB / 0.6813 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.917e-05/0.1255, allocations: 12 kB / 0.6813 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.667e-05/0.1255, allocations: 0 / 0.6813 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.941e-05/0.1256, allocations: 8 kB / 0.6813 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.337e-05/0.1256, allocations: 7.938 kB / 0.6813 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.1258, allocations: 40.19 kB / 0.6813 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.775e-06/0.1258, allocations: 0 / 0.6813 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.1259, allocations: 91.77 kB / 0.6814 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.234e-06/0.126, allocations: 0 / 0.6814 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.602e-05/0.126, allocations: 7.984 kB / 0.6814 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.1261, allocations: 71.86 kB / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1261, allocations: 4 kB / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.1261, allocations: 0 / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.685e-06/0.1261, allocations: 0 / 0.6815 GB, free: 15.09 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.000243/0.1264, allocations: 331.6 kB / 0.6818 GB, free: 14.71 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.1264, allocations: 8.031 kB / 0.6818 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.213e-05/0.1264, allocations: 30.75 kB / 0.6819 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.829e-05/0.1265, allocations: 4.938 kB / 0.6819 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.707e-05/0.1266, allocations: 168.4 kB / 0.682 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.62e-06/0.1266, allocations: 384 / 0.682 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.141e-06/0.1266, allocations: 384 / 0.682 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.197e-05/0.1266, allocations: 37.58 kB / 0.6821 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.129e-06/0.1267, allocations: 0 / 0.6821 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.25e-06/0.1267, allocations: 4 kB / 0.6821 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.1267, allocations: 0 / 0.6821 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.417e-05/0.1267, allocations: 4 kB / 0.6821 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003026/0.127, allocations: 464.5 kB / 0.6825 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.497e-05/0.1271, allocations: 169.1 kB / 0.6827 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.075e-05/0.1271, allocations: 92.62 kB / 0.6828 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.1271, allocations: 75.28 kB / 0.6828 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.1271, allocations: 105.8 kB / 0.6829 GB, free: 13.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.954e-06/0.1272, allocations: 0 / 0.6829 GB, free: 13.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 5.727e-05/0.1272, allocations: 33.55 kB / 0.683 GB, free: 13.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.1273, allocations: 126.7 kB / 0.6831 GB, free: 13.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.41e-05/0.1273, allocations: 105.8 kB / 0.6832 GB, free: 13.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.717e-06/0.1274, allocations: 29.7 kB / 0.6832 GB, free: 13.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.499e-05/0.1274, allocations: 80.14 kB / 0.6833 GB, free: 13.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.694e-06/0.1274, allocations: 0 / 0.6833 GB, free: 13.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.376e-05/0.1274, allocations: 13.72 kB / 0.6833 GB, free: 13 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.481e-05/0.1275, allocations: 318.8 kB / 0.6836 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-06/0.1275, allocations: 0 / 0.6836 GB, free: 12.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.101e-06/0.1275, allocations: 7.922 kB / 0.6836 GB, free: 12.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.105e-05/0.1276, allocations: 12.92 kB / 0.6836 GB, free: 12.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1276, allocations: 4 kB / 0.6836 GB, free: 12.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.271e-05/0.1276, allocations: 29.7 kB / 0.6837 GB, free: 12.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.836e-06/0.1277, allocations: 8 kB / 0.6837 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-06/0.1277, allocations: 0 / 0.6837 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.033e-06/0.1277, allocations: 0 / 0.6837 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.658e-06/0.1277, allocations: 0 / 0.6837 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.1277, allocations: 3.938 kB / 0.6837 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.127e-05/0.1277, allocations: 0 / 0.6837 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.1277, allocations: 4 kB / 0.6837 GB, free: 12.61 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.698e-05/0.1278, allocations: 201.7 kB / 0.6839 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.1279, allocations: 101 kB / 0.684 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.571e-05/0.1279, allocations: 108.1 kB / 0.6841 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.384e-05/0.1279, allocations: 184.5 kB / 0.6842 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.57e-05/0.128, allocations: 176.3 kB / 0.6844 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.007e-05/0.128, allocations: 192.2 kB / 0.6846 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.1282, allocations: 405.2 kB / 0.685 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.498e-05/0.1283, allocations: 101 kB / 0.6851 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.014e-05/0.1283, allocations: 108.9 kB / 0.6852 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.7e-05/0.1283, allocations: 180.3 kB / 0.6853 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.573e-05/0.1284, allocations: 184.2 kB / 0.6855 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.626e-05/0.1284, allocations: 184.3 kB / 0.6857 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.347e-05/0.1285, allocations: 176.3 kB / 0.6859 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.712e-05/0.1286, allocations: 311.7 kB / 0.6862 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.332e-05/0.1287, allocations: 182 kB / 0.6863 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.375e-05/0.1287, allocations: 184.3 kB / 0.6865 GB, free: 9.488 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.121e-05/0.1288, allocations: 108.9 kB / 0.6866 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-05/0.1288, allocations: 180.2 kB / 0.6868 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.1289, allocations: 105 kB / 0.6869 GB, free: 9.082 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.361e-05/0.1289, allocations: 79.28 kB / 0.687 GB, free: 9.004 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1289, allocations: 4 kB / 0.687 GB, free: 9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002277/0.1291, allocations: 27.92 kB / 0.687 GB, free: 8.973 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.0004666/0.1296, allocations: 0.8748 MB / 0.6878 GB, free: 8.078 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 3.717e-05/0.1297, allocations: 0 / 0.6878 GB, free: 8.078 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.1297, allocations: 0 / 0.6878 GB, free: 8.078 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.1297, allocations: 4 kB / 0.6879 GB, free: 8.074 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.13, allocations: 0.5224 MB / 0.6884 GB, free: 7.547 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003786/0.1304, allocations: 238.6 kB / 0.6886 GB, free: 7.273 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001769/0.1306, allocations: 0.6731 MB / 0.6892 GB, free: 6.574 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.156e-05/0.1306, allocations: 7.938 kB / 0.6893 GB, free: 6.566 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.962e-05/0.1306, allocations: 11.44 kB / 0.6893 GB, free: 6.559 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1306, allocations: 0 / 0.6893 GB, free: 6.559 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2939/0.4245, allocations: 1.445 MB / 0.6907 GB, free: 5.336 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003027/0.4248, allocations: 327.7 kB / 0.691 GB, free: 4.961 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.516/1.941, allocations: 0 / 0.691 GB, free: 4.961 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)