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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 116.1 kB / 17.16 MB, free: 6 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002085/0.002085, allocations: 209.5 kB / 20.13 MB, free: 3.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8129/0.8129, allocations: 133.9 MB / 443.5 MB, free: 13.89 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 73.23 kB / 0.6142 GB, free: 38.32 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1425, allocations: 85.85 MB / 0.698 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.00172/0.1442, allocations: 0.5623 MB / 0.6985 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.1455, allocations: 1.009 MB / 0.6995 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.808e-05/0.1455, allocations: 0 / 0.6995 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.674e-05/0.1455, allocations: 1.375 kB / 0.6995 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006501/0.1462, allocations: 84.78 kB / 0.6996 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 3.508e-05/0.1462, allocations: 16.11 kB / 0.6996 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.818e-05/0.1463, allocations: 14.67 kB / 0.6996 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.084e-05/0.1463, allocations: 1.375 kB / 0.6996 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.495e-05/0.1463, allocations: 6.688 kB / 0.6996 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.1465, allocations: 28.47 kB / 0.6997 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.1465, allocations: 0 / 0.6997 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.1467, allocations: 81.03 kB / 0.6998 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.107e-06/0.1467, allocations: 1.375 kB / 0.6998 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.813e-05/0.1467, allocations: 3.938 kB / 0.6998 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.1469, allocations: 63.03 kB / 0.6998 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1469, allocations: 0 / 0.6998 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1469, allocations: 4 kB / 0.6998 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.1469, allocations: 0 / 0.6998 GB, free: 12.37 MB / 0.5137 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.0003617/0.1472, allocations: 340.9 kB / 0.7001 GB, free: 12 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.1473, allocations: 15.28 kB / 0.7002 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.03e-05/0.1473, allocations: 192 / 0.7002 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.807e-05/0.1473, allocations: 34.69 kB / 0.7002 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.157e-05/0.1474, allocations: 2.312 kB / 0.7002 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.1475, allocations: 165.5 kB / 0.7004 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.1475, allocations: 1.375 kB / 0.7004 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-06/0.1475, allocations: 4 kB / 0.7004 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.396e-05/0.1476, allocations: 28.45 kB / 0.7004 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.1476, allocations: 0 / 0.7004 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.1476, allocations: 0 / 0.7004 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1476, allocations: 3.984 kB / 0.7004 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.996e-05/0.1476, allocations: 6.75 kB / 0.7004 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.1481, allocations: 470 kB / 0.7008 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.377e-05/0.1481, allocations: 178.5 kB / 0.701 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.224e-05/0.1482, allocations: 80.14 kB / 0.7011 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.1482, allocations: 76.66 kB / 0.7012 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.472e-05/0.1483, allocations: 105.8 kB / 0.7013 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.1483, allocations: 0 / 0.7013 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.149e-05/0.1483, allocations: 35.02 kB / 0.7013 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.418e-05/0.1484, allocations: 136 kB / 0.7014 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.1485, allocations: 107.2 kB / 0.7015 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.1485, allocations: 25.7 kB / 0.7016 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.331e-05/0.1486, allocations: 84.09 kB / 0.7016 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.448e-06/0.1486, allocations: 5.375 kB / 0.7016 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.1486, allocations: 11.09 kB / 0.7017 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1487, allocations: 320.2 kB / 0.702 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.999e-06/0.1488, allocations: 1.375 kB / 0.702 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.061e-06/0.1488, allocations: 1.375 kB / 0.702 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.535e-05/0.1488, allocations: 6.234 kB / 0.702 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1488, allocations: 0 / 0.702 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.939e-05/0.1489, allocations: 40.52 kB / 0.702 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.1489, allocations: 4.125 kB / 0.702 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.1489, allocations: 1.375 kB / 0.702 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1489, allocations: 96 / 0.702 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.43e-05/0.1489, allocations: 5.375 kB / 0.702 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1489, allocations: 3.984 kB / 0.702 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.556e-05/0.1489, allocations: 3.938 kB / 0.702 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.149, allocations: 1.375 kB / 0.702 GB, free: 9.922 MB / 0.5137 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 9.9e-05/0.1491, allocations: 183.2 kB / 0.7022 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-05/0.1491, allocations: 102.4 kB / 0.7023 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.721e-05/0.1492, allocations: 109.4 kB / 0.7024 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.73e-05/0.1492, allocations: 180.3 kB / 0.7026 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.302e-05/0.1493, allocations: 189.6 kB / 0.7028 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.316e-05/0.1494, allocations: 181.6 kB / 0.7029 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.1496, allocations: 394.6 kB / 0.7033 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-05/0.1497, allocations: 110.3 kB / 0.7034 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.429e-05/0.1497, allocations: 110.4 kB / 0.7035 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.357e-05/0.1498, allocations: 181.6 kB / 0.7037 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.74e-05/0.1499, allocations: 176.3 kB / 0.7039 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.115e-05/0.1499, allocations: 181.6 kB / 0.704 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.437e-05/0.15, allocations: 189.6 kB / 0.7042 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.1501, allocations: 310.7 kB / 0.7045 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.958e-05/0.1502, allocations: 183.5 kB / 0.7047 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.793e-05/0.1503, allocations: 181.6 kB / 0.7049 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.621e-05/0.1504, allocations: 106.3 kB / 0.705 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.783e-05/0.1505, allocations: 185.6 kB / 0.7051 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.587e-05/0.1505, allocations: 112.9 kB / 0.7052 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.504e-05/0.1506, allocations: 79.41 kB / 0.7053 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.1506, allocations: 0 / 0.7053 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002514/0.1508, allocations: 23.05 kB / 0.7053 GB, free: 6.344 MB / 0.5137 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.0006444/0.1515, allocations: 0.8621 MB / 0.7062 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.314e-05/0.1515, allocations: 6.688 kB / 0.7062 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1515, allocations: 0 / 0.7062 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.1515, allocations: 0 / 0.7062 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.1519, allocations: 465.1 kB / 0.7066 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005039/0.1524, allocations: 230 kB / 0.7068 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.1527, allocations: 0.6783 MB / 0.7075 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.373e-05/0.1527, allocations: 2.469 kB / 0.7075 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.935e-05/0.1527, allocations: 12.73 kB / 0.7075 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of SimCode: time 4.61e-07/0.1527, allocations: 4 kB / 0.7075 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01727/0.17, allocations: 1.593 MB / 0.7091 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.955/8.125, allocations: 6.5 kB / 0.7091 GB, free: 3.207 MB / 0.5137 GB " [Timeout remaining time 652] (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 --stepSize=0.0004 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.655490642006043] Failed to read output from testmodel.py, exit status != 0: 8.484810522990301 8.259685007 8.109998529 Calling exit ...