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.00555/0.00555, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001183/0.001183, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9484/0.9484, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 71.88 kB / 0.5852 GB, free: 3.805 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4591/0.4605, allocations: 80.9 MB / 0.6642 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.00251/0.4631, allocations: 1.415 MB / 0.6656 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004248/0.4674, allocations: 3.026 MB / 0.6686 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.84e-05/0.4675, allocations: 0 / 0.6686 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.4676, allocations: 9.031 kB / 0.6686 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002691/0.4679, allocations: 32.58 kB / 0.6686 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002923/0.4708, allocations: 0.9901 MB / 0.6696 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.471, allocations: 84.59 kB / 0.6696 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.4e-05/0.4711, allocations: 6.641 kB / 0.6696 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.38e-05/0.4711, allocations: 40.81 kB / 0.6697 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002859/0.4714, allocations: 163.7 kB / 0.6698 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.704e-05/0.4715, allocations: 13.06 kB / 0.6699 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002384/0.4739, allocations: 1.377 MB / 0.6712 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007548/0.4747, allocations: 0.6808 MB / 0.6719 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004852/0.4751, allocations: 443.8 kB / 0.6723 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00306/0.4782, allocations: 1.79 MB / 0.674 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4782, allocations: 4 kB / 0.674 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4782, allocations: 0 / 0.674 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.557e-05/0.4783, allocations: 1.156 kB / 0.674 GB, free: 0.6055 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.01264/0.491, allocations: 1.692 MB / 0.6757 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.491, allocations: 9.312 kB / 0.6757 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.475e-05/0.4911, allocations: 32.06 kB / 0.6757 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005974/0.4917, allocations: 144.2 kB / 0.6759 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.4928, allocations: 0.5314 MB / 0.6764 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.4928, allocations: 10.56 kB / 0.6764 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.075e-05/0.4929, allocations: 5.281 kB / 0.6764 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005455/0.4934, allocations: 382.5 kB / 0.6768 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.4935, allocations: 0 / 0.6768 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.4935, allocations: 9.141 kB / 0.6768 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.4935, allocations: 5.062 kB / 0.6768 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005366/0.4941, allocations: 438.3 kB / 0.6772 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.4953, allocations: 0.8032 MB / 0.678 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006445/0.496, allocations: 0.5648 MB / 0.6785 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003258/0.4963, allocations: 340.6 kB / 0.6789 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/0.4974, allocations: 1.024 MB / 0.6799 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004517/0.4979, allocations: 407 kB / 0.6802 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.953e-06/0.4979, allocations: 1.312 kB / 0.6802 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001838/0.4997, allocations: 1.342 MB / 0.6816 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.4998, allocations: 79.42 kB / 0.6816 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00241/0.5022, allocations: 1.846 MB / 0.6834 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/0.5023, allocations: 27.11 kB / 0.6835 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000438/0.5027, allocations: 476.4 kB / 0.6839 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.112e-05/0.5028, allocations: 22.41 kB / 0.6839 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003794/0.5031, allocations: 352.4 kB / 0.6843 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.893e-05/0.5033, allocations: 306.9 kB / 0.6846 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/0.5048, allocations: 1.51 MB / 0.686 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/0.5063, allocations: 1.645 MB / 0.6877 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007086/0.5134, allocations: 3.695 MB / 0.6913 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.5135, allocations: 0 / 0.6913 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004508/0.518, allocations: 4.327 MB / 0.6955 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.518, allocations: 4 kB / 0.6955 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.518, allocations: 4 kB / 0.6955 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.5181, allocations: 0 / 0.6955 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.5182, allocations: 15.98 kB / 0.6955 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.5182, allocations: 0 / 0.6955 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007755/0.519, allocations: 232.4 kB / 0.6957 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.312e-05/0.519, allocations: 24.23 kB / 0.6958 GB, free: 0.582 MB / 0.5137 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.0005156/0.5196, allocations: 379 kB / 0.6961 GB, free: 208 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/0.5197, allocations: 122 kB / 0.6962 GB, free: 84 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004261/0.5202, allocations: 141.1 kB / 0.6964 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.5202, allocations: 4 kB / 0.6964 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5202, allocations: 3.938 kB / 0.6964 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.5202, allocations: 0 / 0.6964 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007686/0.521, allocations: 0.6832 MB / 0.697 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.521, allocations: 4.031 kB / 0.697 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.241e-05/0.5211, allocations: 11.98 kB / 0.6971 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.5211, allocations: 0 / 0.6971 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.5211, allocations: 4 kB / 0.6971 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.5211, allocations: 4 kB / 0.6971 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5211, allocations: 0 / 0.6971 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009083/0.522, allocations: 1.055 MB / 0.6981 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002298/0.5223, allocations: 199.1 kB / 0.6983 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.5224, allocations: 3.938 kB / 0.6983 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.5226, allocations: 7.984 kB / 0.6983 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.5227, allocations: 11.94 kB / 0.6983 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.937e-05/0.5227, allocations: 15.97 kB / 0.6983 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001256/0.524, allocations: 1.101 MB / 0.6994 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.524, allocations: 4 kB / 0.6994 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00128/0.5253, allocations: 431.9 kB / 0.6998 GB, free: 12.27 MB / 0.5294 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.002643/0.5279, allocations: 1.975 MB / 0.7017 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002312/0.5303, allocations: 2.648 MB / 0.7043 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5303, allocations: 4 kB / 0.7043 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000314/0.5306, allocations: 343.7 kB / 0.7047 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.531, allocations: 42.55 kB / 0.7047 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2643/0.7954, allocations: 36.36 MB / 0.7402 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006812/0.7961, allocations: 1.149 MB / 0.7413 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002331/0.7963, allocations: 36.55 kB / 0.7414 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004447/0.7968, allocations: 435.2 kB / 0.7418 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of SimCode: time 9.71e-07/0.7968, allocations: 0 / 0.7418 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08468/0.8815, allocations: 60.27 MB / 0.8006 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/11.43, allocations: 14.83 kB / 0.8006 GB, free: 4.863 MB / 0.6231 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)