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_SmallScaleValidation.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_SmallScaleValidation,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",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.0071/0.0071, allocations: 101.2 kB / 15.73 MB, free: 6.027 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.001615/0.001615, allocations: 193.3 kB / 16.67 MB, free: 5.957 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.956/0.956, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 59.91 kB / 0.5852 GB, free: 3.828 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4511/0.4525, allocations: 80.9 MB / 0.6642 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002523/0.4551, allocations: 1.743 MB / 0.6659 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005246/0.4604, allocations: 4.205 MB / 0.67 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.657e-05/0.4605, allocations: 1.188 kB / 0.67 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.4616, allocations: 372 kB / 0.6704 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.4617, allocations: 56.64 kB / 0.6704 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002445/0.4642, allocations: 0.9806 MB / 0.6714 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002667/0.4645, allocations: 152.1 kB / 0.6715 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.668e-05/0.4646, allocations: 13.33 kB / 0.6715 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.399e-05/0.4647, allocations: 53.22 kB / 0.6716 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.4649, allocations: 163.1 kB / 0.6717 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.342e-05/0.4649, allocations: 14.34 kB / 0.6718 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/0.4667, allocations: 1.385 MB / 0.6731 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002019/0.4669, allocations: 267.8 kB / 0.6734 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000204/0.4672, allocations: 311.3 kB / 0.6737 GB, free: 424 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001876/0.469, allocations: 1.545 MB / 0.6752 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.4691, allocations: 1.688 kB / 0.6752 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4691, allocations: 0 / 0.6752 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.4691, allocations: 0 / 0.6752 GB, free: 15.5 MB / 0.5137 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.01073/0.4798, allocations: 1.27 MB / 0.6764 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.4799, allocations: 21.52 kB / 0.6764 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.02e-05/0.4799, allocations: 39.81 kB / 0.6765 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003723/0.4803, allocations: 91.44 kB / 0.6766 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006429/0.481, allocations: 402.2 kB / 0.6769 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.481, allocations: 11.16 kB / 0.677 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.481, allocations: 5.594 kB / 0.677 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004676/0.4815, allocations: 394.1 kB / 0.6773 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.4815, allocations: 0 / 0.6773 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.4815, allocations: 1.094 kB / 0.6773 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.4816, allocations: 1.188 kB / 0.6773 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004973/0.4821, allocations: 437.9 kB / 0.6778 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006602/0.4827, allocations: 0.6702 MB / 0.6784 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005407/0.4833, allocations: 0.5652 MB / 0.679 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003302/0.4836, allocations: 333.5 kB / 0.6793 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009353/0.4846, allocations: 1.035 MB / 0.6803 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004745/0.4851, allocations: 402.8 kB / 0.6807 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.4851, allocations: 1.188 kB / 0.6807 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001497/0.4866, allocations: 1.298 MB / 0.6819 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.4866, allocations: 83.62 kB / 0.682 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.488, allocations: 1.277 MB / 0.6833 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/0.488, allocations: 32.55 kB / 0.6833 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.4882, allocations: 288.8 kB / 0.6836 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.4883, allocations: 18.69 kB / 0.6836 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003918/0.4887, allocations: 349.1 kB / 0.6839 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.4888, allocations: 320.7 kB / 0.6842 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/0.49, allocations: 1.363 MB / 0.6856 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.4913, allocations: 1.488 MB / 0.687 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007049/0.4984, allocations: 3.545 MB / 0.6905 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.4984, allocations: 4 kB / 0.6905 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004261/0.5027, allocations: 3.965 MB / 0.6944 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.5027, allocations: 6.344 kB / 0.6944 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.5027, allocations: 4 kB / 0.6944 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.5027, allocations: 0 / 0.6944 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.5029, allocations: 19.92 kB / 0.6944 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.5029, allocations: 4.031 kB / 0.6944 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005769/0.5035, allocations: 236.2 kB / 0.6946 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001824/0.5037, allocations: 27.97 kB / 0.6946 GB, free: 1.816 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.0003771/0.5041, allocations: 245.6 kB / 0.6949 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-05/0.5041, allocations: 74.67 kB / 0.6949 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.5044, allocations: 83.66 kB / 0.695 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.5044, allocations: 4 kB / 0.695 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5044, allocations: 0 / 0.695 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5045, allocations: 3.938 kB / 0.695 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005009/0.505, allocations: 0.5099 MB / 0.6955 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.505, allocations: 4 kB / 0.6955 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.571e-05/0.505, allocations: 4 kB / 0.6955 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5051, allocations: 0 / 0.6955 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.5051, allocations: 15.98 kB / 0.6956 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.5051, allocations: 3.938 kB / 0.6956 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5051, allocations: 0 / 0.6956 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008488/0.5059, allocations: 1.009 MB / 0.6965 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.5061, allocations: 163.7 kB / 0.6967 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.481e-05/0.5062, allocations: 8 kB / 0.6967 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.5063, allocations: 4 kB / 0.6967 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.5064, allocations: 7.984 kB / 0.6967 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.336e-05/0.5064, allocations: 11.98 kB / 0.6967 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007226/0.5072, allocations: 0.7218 MB / 0.6974 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5072, allocations: 0 / 0.6974 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001198/0.5084, allocations: 399.8 kB / 0.6978 GB, free: 14.45 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.002316/0.5107, allocations: 1.933 MB / 0.6997 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002193/0.5129, allocations: 2.492 MB / 0.7021 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.5129, allocations: 0 / 0.7021 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003144/0.5132, allocations: 335.8 kB / 0.7025 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.5137, allocations: 70.31 kB / 0.7025 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/0.5279, allocations: 14.99 MB / 0.7172 GB, free: 10.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005601/0.5285, allocations: 0.9839 MB / 0.7181 GB, free: 9.426 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002046/0.5287, allocations: 41.42 kB / 0.7182 GB, free: 9.387 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003636/0.5291, allocations: 287.3 kB / 0.7184 GB, free: 9.105 MB / 0.545 GB Notification: Performance of SimCode: time 2.876e-06/0.5291, allocations: 0 / 0.7184 GB, free: 9.105 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05087/0.58, allocations: 20.08 MB / 0.7381 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.568/10.15, allocations: 13.56 kB / 0.7381 GB, free: 5.227 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)