Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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_SmallScaleValidation,fileNamePrefix="IDEAS_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_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.005624/0.005624, allocations: 96.17 kB / 15.73 MB, free: 6.039 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.00139/0.00139, allocations: 196.2 kB / 16.68 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8601/0.8601, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002704/0.002704, allocations: 72.11 kB / 0.5809 GB, free: 8.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.427, allocations: 80.2 MB / 0.6593 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002498/0.4296, allocations: 1.74 MB / 0.661 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005151/0.4348, allocations: 4.198 MB / 0.6651 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.4349, allocations: 5.312 kB / 0.6651 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.436, allocations: 371.9 kB / 0.6654 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.4361, allocations: 64.28 kB / 0.6655 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002385/0.4385, allocations: 0.9882 MB / 0.6664 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.4387, allocations: 147.8 kB / 0.6666 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.623e-05/0.4388, allocations: 13.05 kB / 0.6666 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.527e-05/0.4389, allocations: 57 kB / 0.6666 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.4391, allocations: 159.1 kB / 0.6668 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.466e-05/0.4391, allocations: 14.62 kB / 0.6668 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002062/0.4412, allocations: 1.382 MB / 0.6682 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001928/0.4414, allocations: 275 kB / 0.6684 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002128/0.4416, allocations: 307.2 kB / 0.6687 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.4434, allocations: 1.556 MB / 0.6702 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.4434, allocations: 0 / 0.6702 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4434, allocations: 0 / 0.6702 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.745e-05/0.4434, allocations: 1.344 kB / 0.6702 GB, free: 2.672 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.009994/0.4534, allocations: 1.313 MB / 0.6715 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.4535, allocations: 13.91 kB / 0.6715 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.64e-05/0.4535, allocations: 36.16 kB / 0.6716 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003351/0.4539, allocations: 100.4 kB / 0.6717 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004342/0.4543, allocations: 410.5 kB / 0.6721 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.4543, allocations: 10.12 kB / 0.6721 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.4544, allocations: 5.406 kB / 0.6721 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004519/0.4548, allocations: 386.9 kB / 0.6724 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.813e-05/0.4549, allocations: 0 / 0.6724 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.4549, allocations: 5.234 kB / 0.6724 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.455, allocations: 0 / 0.6724 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004207/0.4554, allocations: 434.8 kB / 0.6729 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004835/0.4559, allocations: 0.663 MB / 0.6735 GB, free: 448 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004738/0.4564, allocations: 0.5689 MB / 0.6741 GB, free: 300 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/0.4566, allocations: 337.3 kB / 0.6744 GB, free: 228 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/0.4577, allocations: 1.027 MB / 0.6754 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005702/0.4584, allocations: 407.6 kB / 0.6758 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/0.4584, allocations: 0 / 0.6758 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001389/0.4598, allocations: 1.303 MB / 0.677 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.4599, allocations: 79.52 kB / 0.6771 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.4613, allocations: 1.286 MB / 0.6784 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.935e-05/0.4614, allocations: 31.08 kB / 0.6784 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.4616, allocations: 289.6 kB / 0.6787 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.4617, allocations: 26.48 kB / 0.6787 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003325/0.462, allocations: 348.9 kB / 0.679 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.4622, allocations: 321.2 kB / 0.6793 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.4635, allocations: 1.358 MB / 0.6807 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/0.4651, allocations: 1.493 MB / 0.6821 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00747/0.4726, allocations: 3.542 MB / 0.6856 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.4726, allocations: 0 / 0.6856 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004979/0.4776, allocations: 3.978 MB / 0.6895 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.4777, allocations: 8 kB / 0.6895 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.4777, allocations: 3.984 kB / 0.6895 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.4777, allocations: 0 / 0.6895 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.4779, allocations: 16 kB / 0.6895 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.4779, allocations: 11.97 kB / 0.6895 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006385/0.4785, allocations: 245.3 kB / 0.6897 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.354e-05/0.4786, allocations: 23.98 kB / 0.6898 GB, free: 6.418 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.0003418/0.4789, allocations: 245.6 kB / 0.69 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.509e-05/0.479, allocations: 79.25 kB / 0.6901 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000432/0.4795, allocations: 83.97 kB / 0.6902 GB, free: 6 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.4795, allocations: 4 kB / 0.6902 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4795, allocations: 0 / 0.6902 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4795, allocations: 0 / 0.6902 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005549/0.4801, allocations: 0.5177 MB / 0.6907 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4801, allocations: 0 / 0.6907 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.906e-05/0.4801, allocations: 7.984 kB / 0.6907 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.4801, allocations: 0 / 0.6907 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.4802, allocations: 11.94 kB / 0.6907 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4802, allocations: 0 / 0.6907 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4802, allocations: 0 / 0.6907 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.4812, allocations: 1.018 MB / 0.6917 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.4814, allocations: 164.4 kB / 0.6918 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.207e-05/0.4815, allocations: 7.938 kB / 0.6918 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.4816, allocations: 7.984 kB / 0.6919 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.4817, allocations: 8 kB / 0.6919 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-05/0.4817, allocations: 11.97 kB / 0.6919 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009988/0.4827, allocations: 0.7179 MB / 0.6926 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4827, allocations: 0 / 0.6926 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001143/0.4839, allocations: 411 kB / 0.693 GB, free: 3.035 MB / 0.5137 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.002624/0.4865, allocations: 1.939 MB / 0.6949 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00268/0.4892, allocations: 2.492 MB / 0.6973 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4892, allocations: 3.938 kB / 0.6973 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003862/0.4896, allocations: 339.8 kB / 0.6976 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.49, allocations: 61.55 kB / 0.6977 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01746/0.5075, allocations: 15.03 MB / 0.7124 GB, free: 14.97 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006489/0.5082, allocations: 0.9839 MB / 0.7133 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001629/0.5084, allocations: 37.42 kB / 0.7134 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003654/0.5088, allocations: 291.3 kB / 0.7136 GB, free: 13.64 MB / 0.545 GB Notification: Performance of SimCode: time 7.11e-07/0.5088, allocations: 3.938 kB / 0.7136 GB, free: 13.64 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05056/0.5593, allocations: 19.85 MB / 0.733 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.46, allocations: 9.25 kB / 0.733 GB, free: 10.01 MB / 0.5606 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)