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.001073/0.001073, allocations: 76.55 kB / 19.92 MB, free: 4.637 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.001167/0.001167, allocations: 173.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.8995/0.8995, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.556/0.556, allocations: 114 MB / 373.9 MB, free: 8.676 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.804e-06/1.804e-06, allocations: 0 / 0.5543 GB, free: 2.656 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.294e-05, allocations: 2.281 kB / 0.5543 GB, free: 2.652 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001871/0.001894, allocations: 1.421 MB / 0.5557 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.004551/0.006446, allocations: 3.852 MB / 0.5594 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.788e-05/0.006504, allocations: 7.938 kB / 0.5594 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.006609, allocations: 7.922 kB / 0.5594 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.006838, allocations: 35.7 kB / 0.5595 GB, free: 13.31 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.003007/0.009845, allocations: 1.604 MB / 0.561 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.01005, allocations: 87.67 kB / 0.5611 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 6.876e-05/0.01012, allocations: 8 kB / 0.5611 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.01024, allocations: 59.86 kB / 0.5612 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003036/0.01054, allocations: 139.7 kB / 0.5613 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.09e-05/0.01057, allocations: 12 kB / 0.5613 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003167/0.01374, allocations: 2.405 MB / 0.5637 GB, free: 8.992 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.01391, allocations: 279.9 kB / 0.564 GB, free: 8.719 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.01403, allocations: 148 kB / 0.5641 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002879/0.01691, allocations: 2.455 MB / 0.5665 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.01691, allocations: 0 / 0.5665 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.532e-06/0.01691, allocations: 0 / 0.5665 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.138e-06/0.01692, allocations: 4 kB / 0.5665 GB, free: 6.105 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.004601/0.02152, allocations: 1.268 MB / 0.5677 GB, free: 4.801 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.02157, allocations: 8.625 kB / 0.5677 GB, free: 4.793 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.155e-05/0.0216, allocations: 34.75 kB / 0.5678 GB, free: 4.75 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002772/0.02188, allocations: 100.2 kB / 0.5679 GB, free: 4.652 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.02218, allocations: 298.5 kB / 0.5682 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.0222, allocations: 8.375 kB / 0.5682 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.02222, allocations: 4.375 kB / 0.5682 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/0.02254, allocations: 399.1 kB / 0.5685 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.02255, allocations: 3.984 kB / 0.5686 GB, free: 3.906 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.02256, allocations: 0 / 0.5686 GB, free: 3.906 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.02257, allocations: 0 / 0.5686 GB, free: 3.906 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.02286, allocations: 435.8 kB / 0.569 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.02327, allocations: 0.5894 MB / 0.5695 GB, free: 2.848 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003627/0.02363, allocations: 0.5594 MB / 0.5701 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.02383, allocations: 341.6 kB / 0.5704 GB, free: 1.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004608/0.02429, allocations: 143.7 kB / 0.5706 GB, free: 1.789 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003457/0.02464, allocations: 408.8 kB / 0.5709 GB, free: 1.371 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.02464, allocations: 3.938 kB / 0.5709 GB, free: 1.367 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0009152/0.02556, allocations: 1.293 MB / 0.5722 GB, free: 68 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.02561, allocations: 85.09 kB / 0.5723 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007797/0.02639, allocations: 1.215 MB / 0.5735 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.02642, allocations: 29.7 kB / 0.5735 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.02655, allocations: 269.9 kB / 0.5738 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.02658, allocations: 19.84 kB / 0.5738 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002793/0.02686, allocations: 339.6 kB / 0.5741 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.528e-05/0.02694, allocations: 318 kB / 0.5744 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007966/0.02773, allocations: 1.373 MB / 0.5757 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000857/0.02859, allocations: 1.505 MB / 0.5772 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004751/0.03334, allocations: 3.556 MB / 0.5807 GB, free: 7.219 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.03335, allocations: 0 / 0.5807 GB, free: 7.219 MB / 0.5417 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002999/0.03634, allocations: 4.015 MB / 0.5846 GB, free: 3.168 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.03636, allocations: 4 kB / 0.5846 GB, free: 3.164 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.03638, allocations: 4 kB / 0.5846 GB, free: 3.16 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.03639, allocations: 3.938 kB / 0.5846 GB, free: 3.156 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.746e-05/0.03649, allocations: 19.98 kB / 0.5846 GB, free: 3.137 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.0365, allocations: 320 / 0.5846 GB, free: 3.137 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002676/0.03677, allocations: 237.4 kB / 0.5849 GB, free: 2.902 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.668e-05/0.0368, allocations: 27.98 kB / 0.5849 GB, free: 2.875 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.0002328/0.03704, allocations: 243.9 kB / 0.5851 GB, free: 2.629 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/0.03708, allocations: 83.2 kB / 0.5852 GB, free: 2.547 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000721/0.03781, allocations: 0.9322 MB / 0.5861 GB, free: 1.605 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.03781, allocations: 4 kB / 0.5861 GB, free: 1.602 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.03781, allocations: 0 / 0.5861 GB, free: 1.602 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.03782, allocations: 0 / 0.5861 GB, free: 1.602 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.03813, allocations: 475.9 kB / 0.5866 GB, free: 1.098 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.03813, allocations: 3.938 kB / 0.5866 GB, free: 1.094 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.505e-05/0.03818, allocations: 11.97 kB / 0.5866 GB, free: 1.082 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.03818, allocations: 3.984 kB / 0.5866 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.03819, allocations: 4 kB / 0.5866 GB, free: 1.074 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.03819, allocations: 0 / 0.5866 GB, free: 1.074 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.03819, allocations: 0 / 0.5866 GB, free: 1.074 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006168/0.03881, allocations: 1.006 MB / 0.5876 GB, free: 48 kB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.113e-05/0.03889, allocations: 83.33 kB / 0.5877 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.03893, allocations: 0 / 0.5877 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-05/0.039, allocations: 12 kB / 0.5877 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.03904, allocations: 7.938 kB / 0.5877 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.22e-05/0.03907, allocations: 15.91 kB / 0.5877 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005116/0.03958, allocations: 0.6689 MB / 0.5883 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.03958, allocations: 4 kB / 0.5884 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001449/0.04103, allocations: 0.5883 MB / 0.5889 GB, free: 14.66 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.002572/0.0436, allocations: 2.236 MB / 0.5911 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001367/0.04497, allocations: 1.997 MB / 0.5931 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.04497, allocations: 0 / 0.5931 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002956/0.04527, allocations: 340 kB / 0.5934 GB, free: 10.08 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.04555, allocations: 36.75 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.01202/0.05758, 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.0002198/0.0578, allocations: 368.3 kB / 0.6089 GB, free: 10.02 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001011/0.0579, allocations: 40.45 kB / 0.6089 GB, free: 9.984 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.05811, allocations: 268.3 kB / 0.6092 GB, free: 9.723 MB / 0.573 GB Notification: Performance of SimCode: time 1.453e-06/0.05811, allocations: 3.938 kB / 0.6092 GB, free: 9.719 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04213/0.1002, allocations: 25.31 MB / 0.6339 GB, free: 0.6602 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.576/7.677, allocations: 4.5 kB / 0.6339 GB, free: 0.6562 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.csv --start-time 0 --stop-time 4.12e+08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 164800 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: 10.687235712073743] Failed to read output from testmodel.py, exit status != 0: 7.7721533346921206 7.781385695 7.762630867 Calling exit ...