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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004282/0.004282, allocations: 101.7 kB / 15.88 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 196.3 kB / 16.79 MB, free: 6.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.177/1.177, allocations: 222.9 MB / 240.5 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6311/0.6311, allocations: 115.3 MB / 405.9 MB, free: 6.449 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 67.88 kB / 493 MB, free: 0.6992 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2958, allocations: 76.18 MB / 0.5559 GB, free: 35.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001962/0.2977, allocations: 1.478 MB / 0.5573 GB, free: 34.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004916/0.3027, allocations: 4.478 MB / 0.5617 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.683e-05/0.3027, allocations: 4.875 kB / 0.5617 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.899e-05/0.3029, allocations: 8.5 kB / 0.5617 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.303, allocations: 29.34 kB / 0.5617 GB, free: 31.77 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.002529/0.3056, allocations: 1.188 MB / 0.5629 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000118/0.3057, allocations: 118.1 kB / 0.563 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.119e-05/0.3057, allocations: 7.828 kB / 0.563 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.539e-05/0.3058, allocations: 44.91 kB / 0.5631 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.306, allocations: 160.6 kB / 0.5632 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.945e-05/0.306, allocations: 14.03 kB / 0.5632 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003172/0.3092, allocations: 2.181 MB / 0.5653 GB, free: 30.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002143/0.3095, allocations: 276.5 kB / 0.5656 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001982/0.3097, allocations: 280.1 kB / 0.5659 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003127/0.3128, allocations: 2.157 MB / 0.568 GB, free: 29.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3128, allocations: 1.578 kB / 0.568 GB, free: 29.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3128, allocations: 0 / 0.568 GB, free: 29.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.3128, allocations: 0 / 0.568 GB, free: 29.69 MB / 446.1 MB 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.007641/0.3205, allocations: 1.292 MB / 0.5692 GB, free: 28.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.3205, allocations: 15.05 kB / 0.5693 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.001e-05/0.3206, allocations: 40.56 kB / 0.5693 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003458/0.3209, allocations: 86.59 kB / 0.5694 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.3212, allocations: 371.7 kB / 0.5697 GB, free: 28.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.3212, allocations: 3.453 kB / 0.5697 GB, free: 28.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.626e-05/0.3213, allocations: 6.781 kB / 0.5697 GB, free: 28.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003849/0.3217, allocations: 397.1 kB / 0.5701 GB, free: 28.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.3217, allocations: 1.719 kB / 0.5701 GB, free: 28.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.3217, allocations: 4.203 kB / 0.5701 GB, free: 28.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3217, allocations: 1.156 kB / 0.5701 GB, free: 28.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004041/0.3221, allocations: 434.1 kB / 0.5705 GB, free: 28.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004935/0.3226, allocations: 0.6383 MB / 0.5712 GB, free: 27.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004774/0.3231, allocations: 0.5639 MB / 0.5717 GB, free: 27.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000305/0.3234, allocations: 337 kB / 0.572 GB, free: 27.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007692/0.3242, allocations: 1.026 MB / 0.573 GB, free: 26.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003625/0.3246, allocations: 413.7 kB / 0.5734 GB, free: 26.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.3246, allocations: 1.281 kB / 0.5734 GB, free: 26.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001263/0.3259, allocations: 1.288 MB / 0.5747 GB, free: 26.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.3259, allocations: 83.67 kB / 0.5748 GB, free: 26.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.327, allocations: 1.216 MB / 0.576 GB, free: 25.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.912e-05/0.3271, allocations: 29.36 kB / 0.576 GB, free: 25.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.3272, allocations: 261.6 kB / 0.5762 GB, free: 25.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.3272, allocations: 23.02 kB / 0.5763 GB, free: 25.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003181/0.3276, allocations: 350.3 kB / 0.5766 GB, free: 25.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.134e-05/0.3276, allocations: 311.6 kB / 0.5769 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.3287, allocations: 1.371 MB / 0.5782 GB, free: 24.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/0.33, allocations: 1.504 MB / 0.5797 GB, free: 24.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006337/0.3363, allocations: 3.562 MB / 0.5832 GB, free: 22.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3363, allocations: 1.656 kB / 0.5832 GB, free: 22.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003531/0.3399, allocations: 4.005 MB / 0.5871 GB, free: 20.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3399, allocations: 4 kB / 0.5871 GB, free: 20.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.3399, allocations: 4.797 kB / 0.5871 GB, free: 20 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3399, allocations: 3.938 kB / 0.5871 GB, free: 20 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.3401, allocations: 20.11 kB / 0.5871 GB, free: 19.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3401, allocations: 4 kB / 0.5871 GB, free: 19.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000461/0.3405, allocations: 234.5 kB / 0.5874 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.577e-05/0.3406, allocations: 25.14 kB / 0.5874 GB, free: 19.73 MB / 446.1 MB 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.0002623/0.3409, allocations: 240 kB / 0.5876 GB, free: 19.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.3409, allocations: 70.7 kB / 0.5877 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.3411, allocations: 76.7 kB / 0.5877 GB, free: 19.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3411, allocations: 4 kB / 0.5878 GB, free: 19.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3412, allocations: 1.156 kB / 0.5878 GB, free: 19.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3412, allocations: 0 / 0.5878 GB, free: 19.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003105/0.3415, allocations: 0.4892 MB / 0.5882 GB, free: 18.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3415, allocations: 4.719 kB / 0.5882 GB, free: 18.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.265e-05/0.3416, allocations: 7.984 kB / 0.5882 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3416, allocations: 5.625 kB / 0.5882 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.3416, allocations: 0 / 0.5882 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3416, allocations: 3.984 kB / 0.5883 GB, free: 18.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3416, allocations: 0 / 0.5883 GB, free: 18.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005589/0.3422, allocations: 1.002 MB / 0.5892 GB, free: 17.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.3422, allocations: 151.8 kB / 0.5894 GB, free: 17.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.663e-05/0.3423, allocations: 11.92 kB / 0.5894 GB, free: 17.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.3424, allocations: 5.875 kB / 0.5894 GB, free: 17.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.3425, allocations: 7.984 kB / 0.5894 GB, free: 17.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-05/0.3425, allocations: 11.98 kB / 0.5894 GB, free: 17.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004762/0.343, allocations: 0.6733 MB / 0.5901 GB, free: 16.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.343, allocations: 2.25 kB / 0.5901 GB, free: 16.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001847/0.3448, allocations: 0.5818 MB / 0.5906 GB, free: 16.33 MB / 446.1 MB 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.002395/0.3472, allocations: 2.146 MB / 0.5927 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001527/0.3488, allocations: 2.556 MB / 0.5952 GB, free: 11.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3488, allocations: 0.5 kB / 0.5952 GB, free: 11.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.349, allocations: 338.9 kB / 0.5956 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.3493, allocations: 33.47 kB / 0.5956 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.3605, allocations: 15.25 MB / 0.6105 GB, free: 11.85 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.361, allocations: 0.9721 MB / 0.6114 GB, free: 10.85 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000172/0.3611, allocations: 36.55 kB / 0.6115 GB, free: 10.81 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.3614, allocations: 267.3 kB / 0.6117 GB, free: 10.55 MB / 462.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3614, allocations: 0 / 0.6117 GB, free: 10.55 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03561/0.397, allocations: 23.23 MB / 0.6344 GB, free: 3.52 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/0.3973, allocations: 334.9 kB / 0.6347 GB, free: 3.137 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.276/2.673, allocations: 0 / 0.6347 GB, free: 3.137 MB / 478.1 MB (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 --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)