Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",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.0009683/0.0009684, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001026/0.001026, allocations: 199.2 kB / 16.14 MB, free: 6.707 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.189/1.189, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7055/0.7055, allocations: 132.2 MB / 422.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 67.97 kB / 0.5012 GB, free: 9.07 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1431, allocations: 80.2 MB / 0.5795 GB, free: 9.086 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002322/0.1454, allocations: 1.461 MB / 0.581 GB, free: 7.613 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004255/0.1497, allocations: 3.232 MB / 0.5841 GB, free: 4.371 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.392e-05/0.1498, allocations: 0 / 0.5841 GB, free: 4.371 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.471e-05/0.1499, allocations: 7.922 kB / 0.5841 GB, free: 4.363 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001906/0.1501, allocations: 31.84 kB / 0.5842 GB, free: 4.332 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001739/0.1518, allocations: 0.7711 MB / 0.5849 GB, free: 3.562 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.1519, allocations: 107.8 kB / 0.585 GB, free: 3.457 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.727e-05/0.152, allocations: 0 / 0.585 GB, free: 3.457 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.672e-05/0.1521, allocations: 43.78 kB / 0.5851 GB, free: 3.414 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/0.1523, allocations: 224.9 kB / 0.5853 GB, free: 3.195 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.024e-05/0.1523, allocations: 16 kB / 0.5853 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001737/0.1541, allocations: 1.396 MB / 0.5867 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005692/0.1547, allocations: 0.6797 MB / 0.5873 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003298/0.155, allocations: 437 kB / 0.5877 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00162/0.1566, allocations: 1.78 MB / 0.5895 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1566, allocations: 0 / 0.5895 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1567, allocations: 0 / 0.5895 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.1567, allocations: 0 / 0.5895 GB, free: 14.88 MB / 0.4981 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.007484/0.1641, allocations: 1.694 MB / 0.5911 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.1642, allocations: 8.031 kB / 0.5911 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.97e-05/0.1642, allocations: 34.69 kB / 0.5912 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003961/0.1647, allocations: 146.9 kB / 0.5913 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004758/0.1651, allocations: 0.5212 MB / 0.5918 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.1652, allocations: 12.34 kB / 0.5918 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.1652, allocations: 7.938 kB / 0.5918 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004061/0.1656, allocations: 387.2 kB / 0.5922 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1656, allocations: 4 kB / 0.5922 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1657, allocations: 3.984 kB / 0.5922 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.1657, allocations: 0 / 0.5922 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003899/0.1661, allocations: 435.7 kB / 0.5926 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006223/0.1667, allocations: 0.8035 MB / 0.5934 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000514/0.1672, allocations: 0.5672 MB / 0.594 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/0.1675, allocations: 333.6 kB / 0.5943 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009563/0.1685, allocations: 1.028 MB / 0.5953 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003474/0.1688, allocations: 408.9 kB / 0.5957 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.1688, allocations: 0 / 0.5957 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001148/0.17, allocations: 1.35 MB / 0.597 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.17, allocations: 81.23 kB / 0.5971 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.1716, allocations: 1.85 MB / 0.5989 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/0.1716, allocations: 33.7 kB / 0.5989 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003082/0.1719, allocations: 473.3 kB / 0.5994 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.172, allocations: 19.75 kB / 0.5994 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002834/0.1722, allocations: 351.5 kB / 0.5997 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.043e-05/0.1723, allocations: 305.1 kB / 0.6 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001145/0.1735, allocations: 1.518 MB / 0.6015 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.1747, allocations: 1.644 MB / 0.6031 GB, free: 352 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2019/0.3766, allocations: 3.686 MB / 0.6067 GB, free: 54.53 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.3767, allocations: 3.75 kB / 0.6067 GB, free: 54.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003242/0.3799, allocations: 4.316 MB / 0.6109 GB, free: 52.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.38, allocations: 6.375 kB / 0.6109 GB, free: 52.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.38, allocations: 3.844 kB / 0.6109 GB, free: 52.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.38, allocations: 3.094 kB / 0.6109 GB, free: 52.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.3801, allocations: 21.97 kB / 0.611 GB, free: 52.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.3802, allocations: 2.719 kB / 0.611 GB, free: 52.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005157/0.3807, allocations: 224.9 kB / 0.6112 GB, free: 52.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.83e-05/0.3807, allocations: 23.89 kB / 0.6112 GB, free: 52.45 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (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 (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0004404/0.3812, allocations: 371.2 kB / 0.6115 GB, free: 52.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.956e-05/0.3813, allocations: 122 kB / 0.6117 GB, free: 52.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003119/0.3816, allocations: 142.4 kB / 0.6118 GB, free: 52.19 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.3816, allocations: 6 kB / 0.6118 GB, free: 52.19 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3816, allocations: 0 / 0.6118 GB, free: 52.19 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3816, allocations: 0 / 0.6118 GB, free: 52.19 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004938/0.3821, allocations: 0.6846 MB / 0.6125 GB, free: 51.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3821, allocations: 0 / 0.6125 GB, free: 51.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.557e-05/0.3822, allocations: 9.5 kB / 0.6125 GB, free: 51.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3822, allocations: 6.344 kB / 0.6125 GB, free: 51.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.3822, allocations: 1.062 kB / 0.6125 GB, free: 51.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3822, allocations: 4.453 kB / 0.6125 GB, free: 51.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3822, allocations: 0 / 0.6125 GB, free: 51.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007731/0.383, allocations: 1.056 MB / 0.6135 GB, free: 51.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.3831, allocations: 198 kB / 0.6137 GB, free: 51.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.872e-05/0.3832, allocations: 6.188 kB / 0.6137 GB, free: 51.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.3834, allocations: 5.922 kB / 0.6137 GB, free: 51.47 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.3835, allocations: 9.156 kB / 0.6137 GB, free: 51.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.82e-05/0.3835, allocations: 12.45 kB / 0.6137 GB, free: 51.47 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009037/0.3844, allocations: 1.112 MB / 0.6148 GB, free: 51.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3844, allocations: 0 / 0.6148 GB, free: 51.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009709/0.3854, allocations: 431.4 kB / 0.6152 GB, free: 51.12 MB / 0.4981 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.001972/0.3874, allocations: 1.985 MB / 0.6172 GB, free: 50.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001691/0.3891, allocations: 2.645 MB / 0.6198 GB, free: 49.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3891, allocations: 0 / 0.6198 GB, free: 49.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002423/0.3893, allocations: 339.6 kB / 0.6201 GB, free: 49.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.3897, allocations: 50.98 kB / 0.6201 GB, free: 49.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2929/0.6826, allocations: 36.6 MB / 0.6559 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.683, allocations: 1.151 MB / 0.657 GB, free: 33.76 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001887/0.6832, allocations: 37.28 kB / 0.657 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/0.6835, allocations: 438.4 kB / 0.6575 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of SimCode: time 4.5e-07/0.6835, allocations: 1.859 kB / 0.6575 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.096/1.78, allocations: 59.34 MB / 0.7154 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002208/1.78, allocations: 266.8 kB / 0.7157 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.943/4.723, allocations: 2.75 kB / 0.7157 GB, free: 13.41 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)