Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="IDEAS_dev_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_dev_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.001515/0.001515, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001917/0.001917, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9633/0.9633, allocations: 135.1 MB / 425.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 63.81 kB / 0.5055 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1455, allocations: 80.93 MB / 0.5845 GB, free: 4.387 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002444/0.148, allocations: 1.389 MB / 0.5859 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004349/0.1524, allocations: 3.017 MB / 0.5888 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.058e-05/0.1525, allocations: 0 / 0.5888 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.8e-05/0.1526, allocations: 11.92 kB / 0.5888 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.1528, allocations: 31.78 kB / 0.5889 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002411/0.1552, allocations: 0.9899 MB / 0.5898 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.1553, allocations: 87.67 kB / 0.5899 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.36e-05/0.1554, allocations: 4 kB / 0.5899 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.366e-05/0.1555, allocations: 39.86 kB / 0.59 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.1557, allocations: 157.7 kB / 0.5901 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.114e-05/0.1557, allocations: 16 kB / 0.5901 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001991/0.1577, allocations: 1.377 MB / 0.5915 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006297/0.1584, allocations: 0.6836 MB / 0.5921 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003758/0.1588, allocations: 445 kB / 0.5926 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002144/0.1609, allocations: 1.764 MB / 0.5943 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1609, allocations: 4 kB / 0.5943 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.161, allocations: 3.938 kB / 0.5943 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.543e-05/0.161, allocations: 0 / 0.5943 GB, free: 10.34 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.01096/0.1719, allocations: 1.694 MB / 0.5959 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.172, allocations: 12.03 kB / 0.596 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.874e-05/0.172, allocations: 34.75 kB / 0.596 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004147/0.1725, allocations: 146.9 kB / 0.5961 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005065/0.173, allocations: 0.5173 MB / 0.5966 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.173, allocations: 8.375 kB / 0.5966 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.757e-05/0.1731, allocations: 7.938 kB / 0.5966 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004292/0.1735, allocations: 395.1 kB / 0.597 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.1735, allocations: 0 / 0.597 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1735, allocations: 4 kB / 0.597 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1735, allocations: 0 / 0.597 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004646/0.174, allocations: 439.7 kB / 0.5974 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007951/0.1748, allocations: 0.8112 MB / 0.5982 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004964/0.1753, allocations: 0.5671 MB / 0.5988 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003112/0.1756, allocations: 337.7 kB / 0.5991 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/0.1768, allocations: 1.025 MB / 0.6001 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000385/0.1772, allocations: 408.8 kB / 0.6005 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.1772, allocations: 0 / 0.6005 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001277/0.1785, allocations: 1.343 MB / 0.6018 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.1785, allocations: 89.22 kB / 0.6019 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/0.1805, allocations: 1.843 MB / 0.6037 GB, free: 148 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/0.1805, allocations: 29.69 kB / 0.6037 GB, free: 112 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.2369/0.4174, allocations: 469.3 kB / 0.6042 GB, free: 52.39 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.082e-05/0.4175, allocations: 21.88 kB / 0.6042 GB, free: 52.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003133/0.4178, allocations: 354 kB / 0.6045 GB, free: 52.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.071e-05/0.4179, allocations: 301.1 kB / 0.6048 GB, free: 52.08 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.419, allocations: 1.515 MB / 0.6063 GB, free: 51.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.42, allocations: 1.644 MB / 0.6079 GB, free: 51.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006046/0.4261, allocations: 3.689 MB / 0.6115 GB, free: 49.61 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.4261, allocations: 4.281 kB / 0.6115 GB, free: 49.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003647/0.4298, allocations: 4.317 MB / 0.6157 GB, free: 47.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.4298, allocations: 6.656 kB / 0.6157 GB, free: 47.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.4298, allocations: 1.344 kB / 0.6157 GB, free: 47.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.4299, allocations: 3.062 kB / 0.6157 GB, free: 47.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.43, allocations: 16.42 kB / 0.6158 GB, free: 47.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.43, allocations: 3.312 kB / 0.6158 GB, free: 47.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/0.4305, allocations: 230.3 kB / 0.616 GB, free: 47.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.259e-05/0.4306, allocations: 27.25 kB / 0.616 GB, free: 47.46 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.000375/0.4309, allocations: 367.2 kB / 0.6164 GB, free: 47.35 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-05/0.431, allocations: 125.2 kB / 0.6165 GB, free: 47.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000323/0.4314, allocations: 140.9 kB / 0.6166 GB, free: 47.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4314, allocations: 5.25 kB / 0.6166 GB, free: 47.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.4314, allocations: 6.406 kB / 0.6166 GB, free: 47.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.4314, allocations: 1.344 kB / 0.6166 GB, free: 47.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004755/0.4319, allocations: 0.6803 MB / 0.6173 GB, free: 46.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4319, allocations: 0 / 0.6173 GB, free: 46.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.948e-05/0.432, allocations: 9.016 kB / 0.6173 GB, free: 46.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.432, allocations: 2.469 kB / 0.6173 GB, free: 46.85 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.432, allocations: 3.062 kB / 0.6173 GB, free: 46.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.432, allocations: 7.531 kB / 0.6173 GB, free: 46.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.432, allocations: 0 / 0.6173 GB, free: 46.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007329/0.4327, allocations: 1.058 MB / 0.6183 GB, free: 46.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.4329, allocations: 194.1 kB / 0.6185 GB, free: 46.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.289e-05/0.433, allocations: 8.312 kB / 0.6185 GB, free: 46.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.4332, allocations: 11.16 kB / 0.6185 GB, free: 46.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.4333, allocations: 13.03 kB / 0.6186 GB, free: 46.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-05/0.4333, allocations: 12.77 kB / 0.6186 GB, free: 46.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009824/0.4343, allocations: 1.102 MB / 0.6196 GB, free: 46.15 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4343, allocations: 1.859 kB / 0.6196 GB, free: 46.15 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009822/0.4353, allocations: 436.8 kB / 0.6201 GB, free: 46.13 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.001898/0.4372, allocations: 1.979 MB / 0.622 GB, free: 45.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001992/0.4392, allocations: 2.657 MB / 0.6246 GB, free: 44.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4392, allocations: 0 / 0.6246 GB, free: 44.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002428/0.4395, allocations: 338.6 kB / 0.6249 GB, free: 44.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.4398, allocations: 57.03 kB / 0.625 GB, free: 44.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3222/0.762, allocations: 36.43 MB / 0.6605 GB, free: 28.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004463/0.7625, allocations: 1.15 MB / 0.6617 GB, free: 27.03 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001974/0.7627, allocations: 39.75 kB / 0.6617 GB, free: 27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003112/0.763, allocations: 427.1 kB / 0.6621 GB, free: 26.62 MB / 0.4981 GB Notification: Performance of SimCode: time 8.11e-07/0.763, allocations: 0 / 0.6621 GB, free: 26.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07909/0.8421, allocations: 59.74 MB / 0.7204 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.67/9.512, allocations: 5.375 kB / 0.7205 GB, free: 6.105 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)