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.008754/0.008754, allocations: 104.7 kB / 15.74 MB, free: 6.488 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.002084/0.002084, allocations: 197.5 kB / 16.67 MB, free: 6.375 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.493/1.493, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.002/1.002, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 55.91 kB / 0.5852 GB, free: 3.785 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4873/0.4888, allocations: 80.91 MB / 0.6642 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00285/0.4917, allocations: 1.747 MB / 0.6659 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005535/0.4972, allocations: 4.201 MB / 0.67 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.4974, allocations: 9.156 kB / 0.67 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.4988, allocations: 363.3 kB / 0.6704 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001607/0.499, allocations: 63.56 kB / 0.6704 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003646/0.5027, allocations: 0.9843 MB / 0.6714 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003238/0.503, allocations: 152.6 kB / 0.6715 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.583e-05/0.5031, allocations: 9.25 kB / 0.6716 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.17e-05/0.5031, allocations: 53.44 kB / 0.6716 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002605/0.5034, allocations: 163.9 kB / 0.6718 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.698e-05/0.5035, allocations: 14.41 kB / 0.6718 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0026/0.5061, allocations: 1.38 MB / 0.6731 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000273/0.5064, allocations: 276.2 kB / 0.6734 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003154/0.5067, allocations: 298.1 kB / 0.6737 GB, free: 396 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003292/0.51, allocations: 1.554 MB / 0.6752 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.5101, allocations: 0 / 0.6752 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.245e-06/0.5101, allocations: 0 / 0.6752 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.625e-05/0.5101, allocations: 5.25 kB / 0.6752 GB, free: 15.46 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.008445/0.5185, allocations: 1.274 MB / 0.6764 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.5186, allocations: 14.03 kB / 0.6765 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.613e-05/0.5187, allocations: 35.92 kB / 0.6765 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004033/0.5191, allocations: 91.12 kB / 0.6766 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007738/0.5199, allocations: 411.5 kB / 0.677 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.5199, allocations: 13.36 kB / 0.677 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.422e-05/0.52, allocations: 5.094 kB / 0.677 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004533/0.5204, allocations: 387 kB / 0.6774 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.5205, allocations: 0 / 0.6774 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.5205, allocations: 5.156 kB / 0.6774 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.5205, allocations: 1 kB / 0.6774 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004794/0.521, allocations: 437.7 kB / 0.6778 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007652/0.5217, allocations: 0.6621 MB / 0.6784 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007633/0.5225, allocations: 0.5617 MB / 0.679 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003493/0.5229, allocations: 340.9 kB / 0.6793 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/0.524, allocations: 1.036 MB / 0.6803 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004416/0.5245, allocations: 403.1 kB / 0.6807 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 2.074e-06/0.5245, allocations: 0 / 0.6807 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001637/0.5261, allocations: 1.291 MB / 0.682 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.5262, allocations: 84 kB / 0.682 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.5278, allocations: 1.272 MB / 0.6833 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.866e-05/0.5279, allocations: 32.58 kB / 0.6833 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/0.5281, allocations: 288.1 kB / 0.6836 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/0.5282, allocations: 28.12 kB / 0.6836 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003478/0.5285, allocations: 348 kB / 0.6839 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.5286, allocations: 320.7 kB / 0.6842 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/0.5302, allocations: 1.359 MB / 0.6856 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/0.5317, allocations: 1.493 MB / 0.687 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007732/0.5394, allocations: 3.548 MB / 0.6905 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.5395, allocations: 0 / 0.6905 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005047/0.5445, allocations: 3.965 MB / 0.6944 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.5446, allocations: 4 kB / 0.6944 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-05/0.5446, allocations: 8.031 kB / 0.6944 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.5447, allocations: 0 / 0.6944 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.5448, allocations: 19.98 kB / 0.6944 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.5449, allocations: 0 / 0.6944 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000701/0.5456, allocations: 232.2 kB / 0.6946 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.34e-05/0.5456, allocations: 23.98 kB / 0.6946 GB, free: 1.781 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.0004877/0.5461, allocations: 253.5 kB / 0.6949 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.813e-05/0.5462, allocations: 70.69 kB / 0.695 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003377/0.5466, allocations: 83.72 kB / 0.695 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.5466, allocations: 4 kB / 0.695 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-06/0.5466, allocations: 0 / 0.695 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.5466, allocations: 11.92 kB / 0.695 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006083/0.5472, allocations: 0.5099 MB / 0.6955 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.5472, allocations: 4 kB / 0.6955 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.651e-05/0.5473, allocations: 11.92 kB / 0.6956 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.5473, allocations: 4.031 kB / 0.6956 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.5474, allocations: 4 kB / 0.6956 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.5474, allocations: 3.938 kB / 0.6956 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5474, allocations: 3.984 kB / 0.6956 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009638/0.5483, allocations: 1.002 MB / 0.6966 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.5485, allocations: 167.7 kB / 0.6967 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.521e-05/0.5486, allocations: 7.984 kB / 0.6967 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.5487, allocations: 4 kB / 0.6967 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.966e-05/0.5488, allocations: 3.984 kB / 0.6967 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.549, allocations: 15.92 kB / 0.6967 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008968/0.5499, allocations: 0.7179 MB / 0.6974 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5499, allocations: 0 / 0.6974 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001511/0.5514, allocations: 399.8 kB / 0.6978 GB, free: 14.41 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.002801/0.5542, allocations: 1.934 MB / 0.6997 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002867/0.5571, allocations: 2.495 MB / 0.7022 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.5572, allocations: 0 / 0.7022 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003604/0.5575, allocations: 347.8 kB / 0.7025 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005571/0.5581, allocations: 52 kB / 0.7025 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01666/0.5748, allocations: 14.99 MB / 0.7172 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008999/0.5757, allocations: 0.9879 MB / 0.7181 GB, free: 9.383 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000195/0.5759, allocations: 45.42 kB / 0.7182 GB, free: 9.34 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003362/0.5763, allocations: 283.3 kB / 0.7184 GB, free: 9.062 MB / 0.545 GB Notification: Performance of SimCode: time 3.397e-06/0.5763, allocations: 0 / 0.7184 GB, free: 9.062 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.051/0.6273, allocations: 19.86 MB / 0.7378 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.959/10.59, allocations: 10.06 kB / 0.7378 GB, free: 5.414 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)