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.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.00126/0.00126, allocations: 120.1 kB / 17.84 MB, free: 5.234 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.001948/0.001948, allocations: 203.9 kB / 20.79 MB, free: 2.297 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.405/1.405, allocations: 230.6 MB / 254.2 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9288/0.9288, allocations: 150 MB / 460.2 MB, free: 5.25 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001887/0.001887, allocations: 71.88 kB / 0.6369 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1385, allocations: 89.13 MB / 0.7239 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001666/0.1402, allocations: 0.5522 MB / 0.7244 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.1414, allocations: 1.017 MB / 0.7254 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.018e-05/0.1415, allocations: 3.938 kB / 0.7254 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.176e-05/0.1415, allocations: 0 / 0.7254 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006364/0.1421, allocations: 99.78 kB / 0.7255 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.271e-05/0.1421, allocations: 8 kB / 0.7255 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.695e-05/0.1422, allocations: 11.92 kB / 0.7256 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.881e-05/0.1422, allocations: 3.984 kB / 0.7256 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.061e-05/0.1422, allocations: 7.984 kB / 0.7256 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.1424, allocations: 45.67 kB / 0.7256 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.576e-06/0.1424, allocations: 0 / 0.7256 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.1426, allocations: 75.92 kB / 0.7257 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.117e-05/0.1426, allocations: 3.984 kB / 0.7257 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.6e-05/0.1426, allocations: 8 kB / 0.7257 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.1428, allocations: 75.72 kB / 0.7258 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1428, allocations: 4 kB / 0.7258 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.456e-06/0.1428, allocations: 4 kB / 0.7258 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.1428, allocations: 0 / 0.7258 GB, free: 2.102 MB / 0.5294 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.0003502/0.1431, allocations: 335.3 kB / 0.7261 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.1432, allocations: 8.031 kB / 0.7261 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.047e-05/0.1432, allocations: 192 / 0.7261 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.68e-05/0.1432, allocations: 30.75 kB / 0.7261 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.003e-05/0.1432, allocations: 4.938 kB / 0.7261 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.1434, allocations: 176.1 kB / 0.7263 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.071e-06/0.1434, allocations: 0 / 0.7263 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.238e-06/0.1434, allocations: 0 / 0.7263 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.225e-05/0.1435, allocations: 29.7 kB / 0.7263 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1435, allocations: 0 / 0.7263 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.972e-06/0.1435, allocations: 0 / 0.7263 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-06/0.1435, allocations: 0 / 0.7263 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.641e-05/0.1435, allocations: 4 kB / 0.7263 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003915/0.1439, allocations: 468.6 kB / 0.7268 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.708e-05/0.144, allocations: 169.1 kB / 0.7269 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.76e-05/0.144, allocations: 84.17 kB / 0.727 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.144, allocations: 79.27 kB / 0.7271 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.57e-05/0.1441, allocations: 105.8 kB / 0.7272 GB, free: 452 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.1441, allocations: 4 kB / 0.7272 GB, free: 448 kB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 6.657e-05/0.1442, allocations: 29.64 kB / 0.7272 GB, free: 412 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.1442, allocations: 126.7 kB / 0.7274 GB, free: 272 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.936e-05/0.1443, allocations: 105.8 kB / 0.7275 GB, free: 156 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.1443, allocations: 33.62 kB / 0.7275 GB, free: 116 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.1444, allocations: 80.14 kB / 0.7276 GB, free: 32 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.1444, allocations: 0 / 0.7276 GB, free: 32 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.1444, allocations: 17.72 kB / 0.7276 GB, free: 8 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1445, allocations: 314.8 kB / 0.7279 GB, free: 15.69 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.626e-06/0.1445, allocations: 0 / 0.7279 GB, free: 15.69 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.17e-06/0.1445, allocations: 0 / 0.7279 GB, free: 15.69 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.257e-05/0.1446, allocations: 8.859 kB / 0.7279 GB, free: 15.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1446, allocations: 0 / 0.7279 GB, free: 15.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.836e-05/0.1447, allocations: 45.58 kB / 0.7279 GB, free: 15.63 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.1447, allocations: 4 kB / 0.7279 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1447, allocations: 8.031 kB / 0.7279 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1447, allocations: 0 / 0.7279 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.571e-05/0.1447, allocations: 4 kB / 0.7279 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.1447, allocations: 0 / 0.7279 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.626e-05/0.1447, allocations: 7.938 kB / 0.728 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.1447, allocations: 4 kB / 0.728 GB, free: 15.6 MB / 0.545 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.425e-05/0.1448, allocations: 181.1 kB / 0.7281 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.046e-05/0.1449, allocations: 101 kB / 0.7282 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.419e-05/0.1449, allocations: 120 kB / 0.7283 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.261e-05/0.145, allocations: 176.3 kB / 0.7285 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.828e-05/0.1451, allocations: 176.3 kB / 0.7287 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.221e-05/0.1452, allocations: 188.1 kB / 0.7289 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.1454, allocations: 401.2 kB / 0.7292 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.093e-05/0.1454, allocations: 108.9 kB / 0.7293 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.119e-05/0.1455, allocations: 101 kB / 0.7294 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.749e-05/0.1456, allocations: 188.2 kB / 0.7296 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.971e-05/0.1456, allocations: 180.5 kB / 0.7298 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.039e-05/0.1457, allocations: 184.3 kB / 0.73 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.749e-05/0.1458, allocations: 180.2 kB / 0.7301 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.1459, allocations: 311.7 kB / 0.7304 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.821e-05/0.146, allocations: 186.1 kB / 0.7306 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.406e-05/0.1461, allocations: 176.5 kB / 0.7308 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.949e-05/0.1461, allocations: 104.9 kB / 0.7309 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.801e-05/0.1462, allocations: 188.2 kB / 0.7311 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.391e-05/0.1463, allocations: 112.9 kB / 0.7312 GB, free: 12.09 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.548e-05/0.1463, allocations: 87.22 kB / 0.7313 GB, free: 12 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1463, allocations: 0 / 0.7313 GB, free: 12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002577/0.1466, allocations: 19.88 kB / 0.7313 GB, free: 11.98 MB / 0.545 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.0006408/0.1472, allocations: 0.859 MB / 0.7321 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.907e-05/0.1473, allocations: 7.938 kB / 0.7321 GB, free: 11.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1473, allocations: 0 / 0.7321 GB, free: 11.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.1473, allocations: 0 / 0.7321 GB, free: 11.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.1476, allocations: 471.6 kB / 0.7326 GB, free: 10.64 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004889/0.1481, allocations: 241.7 kB / 0.7328 GB, free: 10.36 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.1484, allocations: 0.6729 MB / 0.7335 GB, free: 9.66 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.487e-05/0.1484, allocations: 4 kB / 0.7335 GB, free: 9.656 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.1484, allocations: 11.44 kB / 0.7335 GB, free: 9.645 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.1484, allocations: 3.938 kB / 0.7335 GB, free: 9.641 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01709/0.1655, allocations: 1.621 MB / 0.7351 GB, free: 8.258 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.926/8.091, allocations: 13.16 kB / 0.7351 GB, free: 8.246 MB / 0.545 GB " [Timeout remaining time 652] (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: 11.652278401015792] Failed to read output from testmodel.py, exit status != 0: 8.210626130050514 8.225880863 8.080135504 Calling exit ...