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.00092/0.00092, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.00105/0.00105, allocations: 177.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.9218/0.9218, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.5771/0.5771, allocations: 114 MB / 373.9 MB, free: 8.699 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.5543 GB, free: 2.668 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.219e-05, allocations: 2.281 kB / 0.5543 GB, free: 2.664 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002087/0.00211, allocations: 1.429 MB / 0.5557 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.00453/0.00664, allocations: 3.848 MB / 0.5594 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.32e-05/0.006703, allocations: 0 / 0.5594 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.006827, allocations: 19.8 kB / 0.5595 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002447/0.007071, allocations: 23.78 kB / 0.5595 GB, free: 13.32 MB / 0.5261 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.003067/0.01014, allocations: 1.598 MB / 0.561 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.01038, allocations: 99.66 kB / 0.5611 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.453e-05/0.01042, allocations: 7.984 kB / 0.5611 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 7.85e-05/0.0105, allocations: 55.83 kB / 0.5612 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.01067, allocations: 147.7 kB / 0.5613 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.0107, allocations: 16 kB / 0.5613 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002734/0.01343, allocations: 2.402 MB / 0.5637 GB, free: 8.996 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.01359, allocations: 267.9 kB / 0.5639 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.0137, allocations: 152 kB / 0.5641 GB, free: 8.586 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002508/0.01621, allocations: 2.459 MB / 0.5665 GB, free: 6.117 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.01621, allocations: 0 / 0.5665 GB, free: 6.117 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.094e-06/0.01621, allocations: 0 / 0.5665 GB, free: 6.117 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.01622, allocations: 0 / 0.5665 GB, free: 6.117 MB / 0.5261 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.004233/0.02045, allocations: 1.272 MB / 0.5677 GB, free: 4.809 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.0205, allocations: 8.625 kB / 0.5677 GB, free: 4.801 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.247e-05/0.02053, allocations: 30.75 kB / 0.5678 GB, free: 4.762 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002572/0.02079, allocations: 100.2 kB / 0.5679 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004044/0.0212, allocations: 302.4 kB / 0.5682 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.02121, allocations: 12.31 kB / 0.5682 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.02124, allocations: 8.359 kB / 0.5682 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003502/0.02159, allocations: 395.1 kB / 0.5686 GB, free: 3.914 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.0216, allocations: 0 / 0.5686 GB, free: 3.914 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.02161, allocations: 4 kB / 0.5686 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.02161, allocations: 0 / 0.5686 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002973/0.02191, allocations: 439.7 kB / 0.569 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.02232, allocations: 0.5855 MB / 0.5695 GB, free: 2.852 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003699/0.02269, allocations: 0.5594 MB / 0.5701 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.02289, allocations: 337.7 kB / 0.5704 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004919/0.02338, allocations: 139.7 kB / 0.5706 GB, free: 1.801 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002715/0.02365, allocations: 404.9 kB / 0.5709 GB, free: 1.387 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.572e-06/0.02365, allocations: 0 / 0.5709 GB, free: 1.387 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0009076/0.02456, allocations: 1.297 MB / 0.5722 GB, free: 84 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.02461, allocations: 85.05 kB / 0.5723 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007744/0.02539, allocations: 1.215 MB / 0.5735 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.02541, allocations: 33.7 kB / 0.5735 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.02556, allocations: 265.9 kB / 0.5738 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.02559, allocations: 23.81 kB / 0.5738 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003014/0.02589, allocations: 343.6 kB / 0.5741 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.573e-05/0.02597, allocations: 310 kB / 0.5744 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008609/0.02683, allocations: 1.377 MB / 0.5757 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008508/0.02768, allocations: 1.505 MB / 0.5772 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004735/0.03242, allocations: 3.553 MB / 0.5807 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.03242, allocations: 0 / 0.5807 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003232/0.03565, allocations: 4.019 MB / 0.5846 GB, free: 3.18 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.03568, allocations: 8 kB / 0.5846 GB, free: 3.172 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/0.03571, allocations: 3.984 kB / 0.5846 GB, free: 3.168 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.03573, allocations: 7.938 kB / 0.5846 GB, free: 3.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.03585, allocations: 16 kB / 0.5846 GB, free: 3.145 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.03586, allocations: 320 / 0.5846 GB, free: 3.145 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003415/0.03621, allocations: 241.3 kB / 0.5849 GB, free: 2.906 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.06e-05/0.03625, allocations: 19.98 kB / 0.5849 GB, free: 2.887 MB / 0.5417 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.0002754/0.03652, allocations: 252.3 kB / 0.5851 GB, free: 2.633 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.104e-05/0.03657, allocations: 71.28 kB / 0.5852 GB, free: 2.562 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007896/0.03736, allocations: 0.9439 MB / 0.5861 GB, free: 1.609 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.03737, allocations: 3.984 kB / 0.5861 GB, free: 1.605 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.03737, allocations: 0 / 0.5861 GB, free: 1.605 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.03738, allocations: 4 kB / 0.5861 GB, free: 1.602 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.03768, allocations: 467.9 kB / 0.5866 GB, free: 1.105 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.03768, allocations: 7.922 kB / 0.5866 GB, free: 1.098 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.014e-05/0.03773, allocations: 12.03 kB / 0.5866 GB, free: 1.086 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.03774, allocations: 0 / 0.5866 GB, free: 1.086 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.03775, allocations: 3.984 kB / 0.5866 GB, free: 1.082 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.03775, allocations: 4 kB / 0.5866 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.03775, allocations: 0 / 0.5866 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006318/0.03838, allocations: 1.006 MB / 0.5876 GB, free: 52 kB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.124e-05/0.03845, allocations: 79.33 kB / 0.5877 GB, free: 15.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.03849, allocations: 7.938 kB / 0.5877 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-05/0.03856, allocations: 4 kB / 0.5877 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.0386, allocations: 11.98 kB / 0.5877 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.03864, allocations: 11.98 kB / 0.5877 GB, free: 15.94 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006304/0.03927, allocations: 0.6728 MB / 0.5884 GB, free: 15.26 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/0.03927, allocations: 0 / 0.5884 GB, free: 15.26 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00127/0.04054, allocations: 0.5845 MB / 0.5889 GB, free: 14.67 MB / 0.5573 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.002354/0.04289, allocations: 2.243 MB / 0.5911 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001304/0.0442, allocations: 1.996 MB / 0.5931 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.0442, allocations: 0 / 0.5931 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002556/0.04445, allocations: 336 kB / 0.5934 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.04472, allocations: 40.73 kB / 0.5934 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/0.05592, allocations: 15.45 MB / 0.6085 GB, free: 10.41 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.05613, allocations: 372.1 kB / 0.6089 GB, free: 10.02 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001036/0.05624, allocations: 36.45 kB / 0.6089 GB, free: 9.988 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/0.05651, allocations: 264.6 kB / 0.6092 GB, free: 9.73 MB / 0.573 GB Notification: Performance of SimCode: time 1.392e-06/0.05651, allocations: 4 kB / 0.6092 GB, free: 9.727 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03926/0.09577, allocations: 25.3 MB / 0.6339 GB, free: 0.6719 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.745/7.841, allocations: 11.94 kB / 0.6339 GB, free: 0.6641 MB / 0.5886 GB " [Timeout remaining time 652] (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: 11.125937762670219] Failed to read output from testmodel.py, exit status != 0: 7.937067558988929 7.94928445 7.930488464 Calling exit ...