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.0008014/0.0008014, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004953/0.004954, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.327/1.327, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7299/0.7299, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003219/0.0003219, allocations: 12.62 kB / 0.5041 GB, free: 3.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.418/0.4184, allocations: 81.58 MB / 0.5838 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001347/0.4198, allocations: 1.134 MB / 0.5849 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004656/0.4244, allocations: 3.158 MB / 0.588 GB, free: 1.117 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.4245, allocations: 3.938 kB / 0.588 GB, free: 1.113 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.4246, allocations: 7.062 kB / 0.588 GB, free: 1.109 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.4249, allocations: 32.7 kB / 0.588 GB, free: 1.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002394/0.4273, allocations: 0.7596 MB / 0.5888 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.4275, allocations: 113.8 kB / 0.5889 GB, free: 0.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.059e-05/0.4275, allocations: 3.922 kB / 0.5889 GB, free: 0.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.53e-05/0.4276, allocations: 36.77 kB / 0.5889 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003607/0.428, allocations: 219.7 kB / 0.5891 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.022e-05/0.428, allocations: 18.09 kB / 0.5891 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002484/0.4305, allocations: 1.404 MB / 0.5905 GB, free: 272 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007904/0.4313, allocations: 0.6755 MB / 0.5912 GB, free: 100 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004164/0.4317, allocations: 467.8 kB / 0.5916 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002977/0.4347, allocations: 1.767 MB / 0.5933 GB, free: 15.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.4347, allocations: 1.312 kB / 0.5933 GB, free: 15.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.378e-06/0.4347, allocations: 0.75 kB / 0.5933 GB, free: 15.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.4348, allocations: 3.938 kB / 0.5933 GB, free: 15.19 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.01182/0.4466, allocations: 1.594 MB / 0.5949 GB, free: 14.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.4467, allocations: 8.5 kB / 0.5949 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.425e-05/0.4467, allocations: 38.36 kB / 0.5949 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004412/0.4472, allocations: 136.8 kB / 0.5951 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000652/0.4478, allocations: 0.525 MB / 0.5956 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.4478, allocations: 4.031 kB / 0.5956 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.324e-05/0.4479, allocations: 20.39 kB / 0.5956 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000503/0.4484, allocations: 387.2 kB / 0.596 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4484, allocations: 0 / 0.596 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.4485, allocations: 5.594 kB / 0.596 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.4485, allocations: 0 / 0.596 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004998/0.449, allocations: 435.3 kB / 0.5964 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009426/0.4499, allocations: 0.8062 MB / 0.5972 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000578/0.4505, allocations: 0.5653 MB / 0.5977 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003434/0.4509, allocations: 336.5 kB / 0.5981 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/0.4519, allocations: 1.038 MB / 0.5991 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004271/0.4524, allocations: 406.8 kB / 0.5995 GB, free: 11.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.4524, allocations: 4 kB / 0.5995 GB, free: 11.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001608/0.454, allocations: 1.342 MB / 0.6008 GB, free: 10.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.4541, allocations: 79.92 kB / 0.6009 GB, free: 10.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002159/0.4562, allocations: 1.846 MB / 0.6027 GB, free: 9.805 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/0.4563, allocations: 27.86 kB / 0.6027 GB, free: 9.773 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003909/0.4567, allocations: 479.4 kB / 0.6031 GB, free: 9.371 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.4567, allocations: 19.91 kB / 0.6032 GB, free: 9.355 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002785/0.457, allocations: 292.1 kB / 0.6034 GB, free: 9.199 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.4571, allocations: 306 kB / 0.6037 GB, free: 8.898 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/0.4588, allocations: 1.515 MB / 0.6052 GB, free: 8.305 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001631/0.4604, allocations: 1.642 MB / 0.6068 GB, free: 7.617 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007322/0.4677, allocations: 3.693 MB / 0.6104 GB, free: 4.469 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.148e-05/0.4678, allocations: 7.938 kB / 0.6104 GB, free: 4.461 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00474/0.4725, allocations: 4.318 MB / 0.6146 GB, free: 112 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.4726, allocations: 8 kB / 0.6147 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.4726, allocations: 0 / 0.6147 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.4726, allocations: 4.031 kB / 0.6147 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.4728, allocations: 15.98 kB / 0.6147 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.4728, allocations: 4 kB / 0.6147 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008702/0.4737, allocations: 236.2 kB / 0.6149 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.044e-05/0.4737, allocations: 23.98 kB / 0.6149 GB, free: 15.82 MB / 462.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: 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.0006747/0.4744, allocations: 369.4 kB / 0.6153 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.4745, allocations: 114.1 kB / 0.6154 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003545/0.4749, allocations: 149.1 kB / 0.6155 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.4749, allocations: 0 / 0.6155 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.4749, allocations: 4 kB / 0.6155 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.4749, allocations: 4 kB / 0.6155 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006898/0.4756, allocations: 0.6793 MB / 0.6162 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.4756, allocations: 0 / 0.6162 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.84e-05/0.4757, allocations: 7.984 kB / 0.6162 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.4757, allocations: 4.031 kB / 0.6162 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.4757, allocations: 11.98 kB / 0.6162 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.4757, allocations: 7.922 kB / 0.6162 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4757, allocations: 0 / 0.6162 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009224/0.4767, allocations: 1.055 MB / 0.6173 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.4768, allocations: 195.1 kB / 0.6174 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.129e-05/0.4769, allocations: 7.984 kB / 0.6175 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.4771, allocations: 4 kB / 0.6175 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.4772, allocations: 11.98 kB / 0.6175 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.064e-05/0.4772, allocations: 7.984 kB / 0.6175 GB, free: 13.08 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001227/0.4785, allocations: 1.104 MB / 0.6186 GB, free: 11.95 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4785, allocations: 0 / 0.6186 GB, free: 11.95 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001659/0.4801, allocations: 439.8 kB / 0.619 GB, free: 11.52 MB / 462.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.002532/0.4827, allocations: 1.979 MB / 0.6209 GB, free: 9.516 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002365/0.485, allocations: 2.644 MB / 0.6235 GB, free: 6.863 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4851, allocations: 0 / 0.6235 GB, free: 6.863 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003132/0.4854, allocations: 347.7 kB / 0.6238 GB, free: 6.523 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004928/0.4859, allocations: 58.38 kB / 0.6239 GB, free: 6.465 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.283/0.7689, allocations: 36.6 MB / 0.6596 GB, free: 1.633 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007376/0.7697, allocations: 1.165 MB / 0.6608 GB, free: 452 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000296/0.77, allocations: 28.56 kB / 0.6608 GB, free: 424 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004736/0.7705, allocations: 431.3 kB / 0.6612 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of SimCode: time 7.71e-07/0.7705, allocations: 3.938 kB / 0.6612 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4835/1.254, allocations: 59.14 MB / 0.719 GB, free: 5.008 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002924/1.254, allocations: 278 kB / 0.7192 GB, free: 4.648 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.801/4.055, allocations: 3.094 kB / 0.7192 GB, free: 4.648 MB / 0.545 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)