Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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.001357/0.001357, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001583/0.001583, allocations: 216.5 kB / 22.99 MB, free: 4.977 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.9624/0.9624, allocations: 149.9 MB / 463 MB, free: 10.39 MB / 366.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.GFunction_1borehole_5meters,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",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.002113/0.002113, allocations: 75.59 kB / 0.6412 GB, free: 10.09 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1824, allocations: 89.17 MB / 0.7282 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002695/0.1851, allocations: 1.411 MB / 0.7296 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006739/0.1918, allocations: 3.837 MB / 0.7334 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.082e-05/0.1919, allocations: 0 / 0.7334 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.192, allocations: 11.86 kB / 0.7334 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.1922, allocations: 39.77 kB / 0.7334 GB, free: 11.66 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.004095/0.1963, allocations: 1.595 MB / 0.735 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.1965, allocations: 95.72 kB / 0.7351 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.1965, allocations: 0 / 0.7351 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.024e-05/0.1966, allocations: 51.78 kB / 0.7351 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.1968, allocations: 147.6 kB / 0.7352 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.069e-05/0.1969, allocations: 20 kB / 0.7353 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003856/0.2007, allocations: 2.394 MB / 0.7376 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.201, allocations: 271.8 kB / 0.7379 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000224/0.2012, allocations: 222.8 kB / 0.7381 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0029/0.2041, allocations: 2.134 MB / 0.7402 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.2041, allocations: 8 kB / 0.7402 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2041, allocations: 0 / 0.7402 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.2041, allocations: 3.938 kB / 0.7402 GB, free: 4.727 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01003/0.2141, allocations: 1.264 MB / 0.7414 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.2142, allocations: 8.031 kB / 0.7414 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.121e-05/0.2142, allocations: 38.75 kB / 0.7414 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003896/0.2146, allocations: 92.23 kB / 0.7415 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004708/0.2151, allocations: 311.1 kB / 0.7418 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.2151, allocations: 12.05 kB / 0.7418 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.079e-05/0.2152, allocations: 12 kB / 0.7419 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005272/0.2157, allocations: 387.2 kB / 0.7422 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2157, allocations: 0 / 0.7422 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.2157, allocations: 0 / 0.7422 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.2157, allocations: 3.984 kB / 0.7422 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000501/0.2162, allocations: 435.7 kB / 0.7426 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006469/0.2169, allocations: 0.5972 MB / 0.7432 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006261/0.2175, allocations: 0.5634 MB / 0.7438 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000353/0.2178, allocations: 337.5 kB / 0.7441 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006767/0.2185, allocations: 131.9 kB / 0.7442 GB, free: 420 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004641/0.219, allocations: 396.9 kB / 0.7446 GB, free: 4 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.219, allocations: 4 kB / 0.7446 GB, free: 0 / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001502/0.2205, allocations: 1.289 MB / 0.7459 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.2205, allocations: 85.02 kB / 0.7459 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/0.2218, allocations: 1.219 MB / 0.7471 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/0.2219, allocations: 33.7 kB / 0.7472 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.2221, allocations: 266 kB / 0.7474 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.2221, allocations: 23.84 kB / 0.7474 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003676/0.2225, allocations: 355.6 kB / 0.7478 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.2226, allocations: 314 kB / 0.7481 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/0.2241, allocations: 1.369 MB / 0.7494 GB, free: 11 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/0.2257, allocations: 1.505 MB / 0.7509 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007627/0.2333, allocations: 3.556 MB / 0.7544 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.2333, allocations: 7.938 kB / 0.7544 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004783/0.2381, allocations: 4.007 MB / 0.7583 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.2381, allocations: 4 kB / 0.7583 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/0.2381, allocations: 4 kB / 0.7583 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.2381, allocations: 0 / 0.7583 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.2383, allocations: 19.98 kB / 0.7583 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.2383, allocations: 4 kB / 0.7583 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005035/0.2388, allocations: 245.3 kB / 0.7586 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.386e-05/0.2388, allocations: 23.98 kB / 0.7586 GB, free: 1.492 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (cluSiz[1],labels[1],gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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 0.000325/0.2392, allocations: 241.6 kB / 0.7588 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.039e-05/0.2392, allocations: 67.34 kB / 0.7589 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/0.2404, allocations: 0.9399 MB / 0.7598 GB, free: 228 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2404, allocations: 0 / 0.7598 GB, free: 228 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.2404, allocations: 3.984 kB / 0.7598 GB, free: 224 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2404, allocations: 4.031 kB / 0.7598 GB, free: 220 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3384/0.5788, allocations: 472.5 kB / 0.7602 GB, free: 34.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.5788, allocations: 0.7812 kB / 0.7602 GB, free: 34.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.579, allocations: 7.844 kB / 0.7603 GB, free: 34.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.579, allocations: 1.5 kB / 0.7603 GB, free: 34.97 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.579, allocations: 4.391 kB / 0.7603 GB, free: 34.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.579, allocations: 4.156 kB / 0.7603 GB, free: 34.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.579, allocations: 0 / 0.7603 GB, free: 34.97 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009707/0.58, allocations: 1.005 MB / 0.7612 GB, free: 34.88 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.5801, allocations: 84.02 kB / 0.7613 GB, free: 34.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.049e-05/0.5802, allocations: 6.469 kB / 0.7613 GB, free: 34.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.5803, allocations: 6.344 kB / 0.7613 GB, free: 34.82 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.5803, allocations: 8.125 kB / 0.7613 GB, free: 34.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.594e-05/0.5804, allocations: 12.41 kB / 0.7614 GB, free: 34.82 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006542/0.581, allocations: 0.6713 MB / 0.762 GB, free: 34.71 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.581, allocations: 0 / 0.762 GB, free: 34.71 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001574/0.5826, allocations: 0.5862 MB / 0.7626 GB, free: 34.71 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002548/0.5852, allocations: 2.152 MB / 0.7647 GB, free: 34.06 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002065/0.5872, allocations: 1.998 MB / 0.7666 GB, free: 33.99 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5872, allocations: 2.688 kB / 0.7666 GB, free: 33.99 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003989/0.5876, allocations: 339.1 kB / 0.767 GB, free: 33.99 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.5879, allocations: 40 kB / 0.767 GB, free: 33.99 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0169/0.6048, allocations: 15.29 MB / 0.7819 GB, free: 29.36 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.6052, allocations: 370 kB / 0.7823 GB, free: 29.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000149/0.6054, allocations: 38.77 kB / 0.7823 GB, free: 29.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.6056, allocations: 264.8 kB / 0.7826 GB, free: 29.05 MB / 0.5762 GB Notification: Performance of SimCode: time 1.072e-06/0.6056, allocations: 0 / 0.7826 GB, free: 29.05 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1472/0.7529, allocations: 25.17 MB / 0.8072 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.26/14.01, allocations: 17.27 kB / 0.8072 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --stepSize=164800 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.784293573815376] Failed to read output from testmodel.py, exit status != 0: 14.1412587701343 14.160139677 13.952161599 Calling exit ...