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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001473, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.136/1.136, allocations: 133.6 MB / 141.6 MB, free: 2.906 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.752/1.752, allocations: 221.5 MB / 395.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008324/0.0008324, allocations: 101.2 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.069e-05/2.063e-05, allocations: 4 kB / 0.5536 GB, free: 8.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.4366, allocations: 82.3 MB / 0.634 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1605/0.5972, allocations: 130.1 MB / 0.761 GB, free: 8.551 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003489/0.5976, allocations: 115.9 kB / 0.7611 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.1057/0.7033, allocations: 29.9 MB / 0.7903 GB, free: 10.46 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.933e-06/0.7034, allocations: 0 / 0.7903 GB, free: 10.46 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.647e-05/0.7034, allocations: 16 kB / 0.7903 GB, free: 10.45 MB / 0.573 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.002175/0.7056, allocations: 1.052 MB / 0.7913 GB, free: 9.348 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.7056, allocations: 8.031 kB / 0.7913 GB, free: 9.34 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003535/0.706, allocations: 102.6 kB / 0.7914 GB, free: 9.238 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006593/0.7067, allocations: 472.7 kB / 0.7919 GB, free: 8.727 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.7067, allocations: 0 / 0.7919 GB, free: 8.727 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.018e-05/0.7068, allocations: 20 kB / 0.7919 GB, free: 8.707 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003676/0.7071, allocations: 427.8 kB / 0.7923 GB, free: 8.289 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003668/0.7075, allocations: 383.2 kB / 0.7927 GB, free: 7.902 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.7075, allocations: 0 / 0.7927 GB, free: 7.902 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.7076, allocations: 0 / 0.7927 GB, free: 7.902 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.7076, allocations: 7.891 kB / 0.7927 GB, free: 7.895 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007199/0.7083, allocations: 0.7265 MB / 0.7934 GB, free: 7.129 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004361/0.7087, allocations: 0.5556 MB / 0.7939 GB, free: 6.555 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.709, allocations: 329.6 kB / 0.7943 GB, free: 6.227 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009135/0.7099, allocations: 1.032 MB / 0.7953 GB, free: 4.973 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003254/0.7103, allocations: 396.9 kB / 0.7957 GB, free: 4.566 MB / 0.573 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.7103, allocations: 0 / 0.7957 GB, free: 4.566 MB / 0.573 GB Notification: Performance of matching and sorting (n=8): time 0.0008836/0.7112, allocations: 0.9686 MB / 0.7966 GB, free: 3.59 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.7112, allocations: 85.05 kB / 0.7967 GB, free: 3.488 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.7123, allocations: 1.068 MB / 0.7977 GB, free: 2.41 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.314e-05/0.7123, allocations: 25.7 kB / 0.7977 GB, free: 2.379 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/0.7126, allocations: 282.1 kB / 0.798 GB, free: 2.098 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.7126, allocations: 23.83 kB / 0.798 GB, free: 2.074 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.7126, allocations: 0 / 0.798 GB, free: 2.074 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.7128, allocations: 427.8 kB / 0.7984 GB, free: 1.648 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/0.714, allocations: 1.186 MB / 0.7996 GB, free: 472 kB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3805/1.094, allocations: 1.323 MB / 0.8009 GB, free: 144.6 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/1.097, allocations: 1.584 MB / 0.8024 GB, free: 144.2 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/1.097, allocations: 0.7188 kB / 0.8024 GB, free: 144.2 MB / 0.573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005034/1.102, allocations: 3.386 MB / 0.8057 GB, free: 143.5 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/1.102, allocations: 6.406 kB / 0.8058 GB, free: 143.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/1.102, allocations: 2.922 kB / 0.8058 GB, free: 143.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/1.102, allocations: 2.906 kB / 0.8058 GB, free: 143.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007787/1.103, allocations: 147.6 kB / 0.8059 GB, free: 143.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/1.103, allocations: 2.844 kB / 0.8059 GB, free: 143.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006656/1.103, allocations: 226.7 kB / 0.8061 GB, free: 143.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/1.103, allocations: 56.38 kB / 0.8062 GB, free: 143.4 MB / 0.573 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000144/1.104, allocations: 121 kB / 0.8063 GB, free: 143.3 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001746/1.105, allocations: 0.9693 MB / 0.8072 GB, free: 143.2 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.431e-05/1.105, allocations: 75.52 kB / 0.8073 GB, free: 143.2 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/1.107, allocations: 0.927 MB / 0.8082 GB, free: 143.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/1.107, allocations: 2.031 kB / 0.8082 GB, free: 143.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/1.107, allocations: 3.047 kB / 0.8082 GB, free: 143.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/1.107, allocations: 1.125 kB / 0.8082 GB, free: 143.1 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006263/1.107, allocations: 0.4896 MB / 0.8087 GB, free: 143 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/1.107, allocations: 0 / 0.8087 GB, free: 143 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.846e-05/1.107, allocations: 7.484 kB / 0.8087 GB, free: 143 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/1.108, allocations: 1.516 kB / 0.8087 GB, free: 143 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/1.108, allocations: 9.234 kB / 0.8087 GB, free: 143 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/1.108, allocations: 1.766 kB / 0.8087 GB, free: 143 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/1.108, allocations: 3.547 kB / 0.8087 GB, free: 143 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/1.109, allocations: 1.009 MB / 0.8097 GB, free: 142.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/1.109, allocations: 160 kB / 0.8099 GB, free: 142.7 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.321e-05/1.109, allocations: 2.344 kB / 0.8099 GB, free: 142.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/1.109, allocations: 5.344 kB / 0.8099 GB, free: 142.7 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/1.109, allocations: 6.922 kB / 0.8099 GB, free: 142.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.818e-05/1.109, allocations: 16.22 kB / 0.8099 GB, free: 142.7 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0007543/1.11, allocations: 0.6427 MB / 0.8105 GB, free: 142.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.11e-07/1.11, allocations: 0 / 0.8105 GB, free: 142.6 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001775/1.112, allocations: 492.3 kB / 0.811 GB, free: 142.6 MB / 0.573 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002629/1.114, allocations: 2.173 MB / 0.8131 GB, free: 141.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001964/1.116, allocations: 2.333 MB / 0.8154 GB, free: 141.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.116, allocations: 3.219 kB / 0.8154 GB, free: 141.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/1.117, allocations: 334.6 kB / 0.8157 GB, free: 141.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/1.117, allocations: 47.62 kB / 0.8158 GB, free: 141 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/1.119, allocations: 1.845 MB / 0.8176 GB, free: 140.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/1.12, allocations: 1.005 MB / 0.8185 GB, free: 139.9 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002067/1.12, allocations: 64.44 kB / 0.8186 GB, free: 139.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/1.12, allocations: 296 kB / 0.8189 GB, free: 139.6 MB / 0.573 GB Notification: Performance of SimCode: time 1.493e-06/1.12, allocations: 3.828 kB / 0.8189 GB, free: 139.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04083/1.161, allocations: 17.94 MB / 0.8364 GB, free: 132.2 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/1.161, allocations: 231.5 kB / 0.8366 GB, free: 131.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.891/4.052, allocations: 0 / 0.8366 GB, free: 131.9 MB / 0.573 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/linux/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)