Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 118 kB / 17.13 MB, free: 5.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 192.6 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.85/0.85, allocations: 129.2 MB / 432.5 MB, free: 13.1 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 71.88 kB / 0.5988 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4262, allocations: 83.44 MB / 0.6802 GB, free: 6 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.00167/0.4279, allocations: 0.5733 MB / 0.6808 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.4289, allocations: 1.007 MB / 0.6818 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.1e-05/0.429, allocations: 1.281 kB / 0.6818 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.916e-05/0.429, allocations: 0 / 0.6818 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006873/0.4297, allocations: 91.47 kB / 0.6819 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.334e-05/0.4297, allocations: 17.09 kB / 0.6819 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.792e-05/0.4298, allocations: 6.609 kB / 0.6819 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.752e-05/0.4298, allocations: 5.25 kB / 0.6819 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.796e-05/0.4298, allocations: 6.609 kB / 0.6819 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.43, allocations: 32.58 kB / 0.6819 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.43, allocations: 5.266 kB / 0.6819 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.4302, allocations: 78.86 kB / 0.682 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.4302, allocations: 5.203 kB / 0.682 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.815e-05/0.4302, allocations: 0.9688 kB / 0.682 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.4304, allocations: 76.72 kB / 0.6821 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4304, allocations: 0 / 0.6821 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4304, allocations: 0 / 0.6821 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.4304, allocations: 5.219 kB / 0.6821 GB, free: 4.586 MB / 0.4981 GB 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.0002645/0.4307, allocations: 331.3 kB / 0.6824 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.4307, allocations: 9.688 kB / 0.6824 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.765e-05/0.4307, allocations: 35.88 kB / 0.6825 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.281e-05/0.4307, allocations: 0.9375 kB / 0.6825 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.925e-05/0.4308, allocations: 170.5 kB / 0.6826 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.4308, allocations: 3.938 kB / 0.6826 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-06/0.4308, allocations: 1.125 kB / 0.6826 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.684e-05/0.4309, allocations: 31.92 kB / 0.6827 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.4309, allocations: 3.938 kB / 0.6827 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.4309, allocations: 0 / 0.6827 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.4309, allocations: 1.125 kB / 0.6827 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.566e-05/0.431, allocations: 1.125 kB / 0.6827 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002827/0.4312, allocations: 463.5 kB / 0.6831 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.892e-05/0.4313, allocations: 178.3 kB / 0.6833 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.119e-05/0.4313, allocations: 80.14 kB / 0.6833 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.4313, allocations: 80.38 kB / 0.6834 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.4314, allocations: 109.8 kB / 0.6835 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.4314, allocations: 1.375 kB / 0.6835 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.815e-05/0.4314, allocations: 25.7 kB / 0.6836 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.4315, allocations: 132 kB / 0.6837 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.805e-05/0.4316, allocations: 98.39 kB / 0.6838 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.789e-06/0.4316, allocations: 26.86 kB / 0.6838 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.758e-05/0.4316, allocations: 84.12 kB / 0.6839 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.4316, allocations: 1.094 kB / 0.6839 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.4316, allocations: 12.12 kB / 0.6839 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.336e-05/0.4316, allocations: 322.7 kB / 0.6842 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.025e-06/0.4317, allocations: 5.156 kB / 0.6842 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.124e-06/0.4317, allocations: 9.094 kB / 0.6842 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.021e-05/0.4317, allocations: 7.266 kB / 0.6842 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.4317, allocations: 0 / 0.6842 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.98e-05/0.4318, allocations: 36.28 kB / 0.6843 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.4318, allocations: 4.688 kB / 0.6843 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4318, allocations: 1.125 kB / 0.6843 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.4318, allocations: 0 / 0.6843 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.283e-05/0.4318, allocations: 0 / 0.6843 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.4318, allocations: 1.156 kB / 0.6843 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.437e-05/0.4318, allocations: 12.03 kB / 0.6843 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-06/0.4318, allocations: 1.094 kB / 0.6843 GB, free: 2.164 MB / 0.4981 GB 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 4.854e-05/0.4319, allocations: 182.3 kB / 0.6844 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.4319, allocations: 114.1 kB / 0.6846 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.054e-05/0.4319, allocations: 109.2 kB / 0.6847 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-05/0.432, allocations: 181.3 kB / 0.6848 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.428e-05/0.432, allocations: 181.4 kB / 0.685 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.818e-05/0.432, allocations: 181.4 kB / 0.6852 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.4322, allocations: 407.5 kB / 0.6856 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/0.4322, allocations: 102.2 kB / 0.6857 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.488e-05/0.4322, allocations: 106 kB / 0.6858 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.42e-05/0.4322, allocations: 177.3 kB / 0.6859 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.4322, allocations: 189.4 kB / 0.6861 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.224e-05/0.4323, allocations: 184.2 kB / 0.6863 GB, free: 15.97 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.236e-05/0.4324, allocations: 181.4 kB / 0.6865 GB, free: 15.79 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.4325, allocations: 304 kB / 0.6868 GB, free: 15.47 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 9.524e-05/0.4326, allocations: 199.1 kB / 0.6869 GB, free: 15.25 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.919e-05/0.4327, allocations: 177.3 kB / 0.6871 GB, free: 15.07 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.612e-05/0.4328, allocations: 101.9 kB / 0.6872 GB, free: 14.97 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.072e-05/0.4329, allocations: 181.4 kB / 0.6874 GB, free: 14.79 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.124e-05/0.433, allocations: 106 kB / 0.6875 GB, free: 14.68 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 5.061e-05/0.433, allocations: 87.08 kB / 0.6876 GB, free: 14.59 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1e-07/0.433, allocations: 4 kB / 0.6876 GB, free: 14.59 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0002718/0.4333, allocations: 19.12 kB / 0.6876 GB, free: 14.59 MB / 0.5138 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.0007281/0.434, allocations: 0.8655 MB / 0.6884 GB, free: 13.74 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 6.829e-05/0.4341, allocations: 6.953 kB / 0.6884 GB, free: 13.73 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4341, allocations: 0 / 0.6884 GB, free: 13.73 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.4341, allocations: 1.188 kB / 0.6884 GB, free: 13.73 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.4345, allocations: 462 kB / 0.6889 GB, free: 13.29 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005624/0.435, allocations: 246.4 kB / 0.6891 GB, free: 13.03 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.4353, allocations: 0.674 MB / 0.6898 GB, free: 12.33 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 2.547e-05/0.4354, allocations: 1.219 kB / 0.6898 GB, free: 12.33 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/0.4354, allocations: 13.88 kB / 0.6898 GB, free: 12.32 MB / 0.5138 GB Notification: Performance of SimCode: time 3e-07/0.4354, allocations: 0 / 0.6898 GB, free: 12.32 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0244/0.4598, allocations: 1.575 MB / 0.6913 GB, free: 11.5 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.528/8.987, allocations: 10.59 kB / 0.6913 GB, free: 11.5 MB / 0.5138 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.39434088487178] Failed to read output from testmodel.py, exit status != 0: 9.05458702845499 9.070358961 8.637160397 Calling exit ...