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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001544/0.001544, 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 0.7399/0.7399, allocations: 133.6 MB / 141.6 MB, free: 2.891 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.383/1.383, allocations: 221.5 MB / 395.5 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.0009488/0.0009486, allocations: 97.66 kB / 478.2 MB, free: 1.289 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.534e-05/3.559e-05, allocations: 11.92 kB / 0.5536 GB, free: 8.891 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.443/0.4431, allocations: 82.29 MB / 0.634 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1621/0.6052, allocations: 130.1 MB / 0.761 GB, free: 8.555 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/0.6056, allocations: 123.8 kB / 0.7611 GB, free: 8.434 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.1075/0.713, allocations: 29.89 MB / 0.7903 GB, free: 10.46 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7131, allocations: 0 / 0.7903 GB, free: 10.46 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.502e-05/0.7131, allocations: 16 kB / 0.7903 GB, free: 10.44 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.002325/0.7155, allocations: 1.052 MB / 0.7913 GB, free: 9.344 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.7155, allocations: 15.97 kB / 0.7914 GB, free: 9.328 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003841/0.7159, allocations: 102.6 kB / 0.7915 GB, free: 9.227 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006983/0.7166, allocations: 464.8 kB / 0.7919 GB, free: 8.723 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.7167, allocations: 0 / 0.7919 GB, free: 8.723 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.131e-05/0.7168, allocations: 23.98 kB / 0.7919 GB, free: 8.699 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003969/0.7172, allocations: 419.8 kB / 0.7923 GB, free: 8.289 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.7176, allocations: 387.1 kB / 0.7927 GB, free: 7.898 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.7176, allocations: 0 / 0.7927 GB, free: 7.898 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.7176, allocations: 3.984 kB / 0.7927 GB, free: 7.895 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.7176, allocations: 3.953 kB / 0.7927 GB, free: 7.891 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008172/0.7184, allocations: 0.7187 MB / 0.7934 GB, free: 7.133 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005762/0.719, allocations: 0.5555 MB / 0.7939 GB, free: 6.559 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/0.7193, allocations: 325.7 kB / 0.7943 GB, free: 6.234 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001154/0.7205, allocations: 1.036 MB / 0.7953 GB, free: 4.977 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004111/0.7209, allocations: 400.9 kB / 0.7956 GB, free: 4.566 MB / 0.573 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.7209, allocations: 0 / 0.7956 GB, free: 4.566 MB / 0.573 GB Notification: Performance of matching and sorting (n=8): time 0.001123/0.7221, allocations: 0.9686 MB / 0.7966 GB, free: 3.59 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.373e-05/0.7222, allocations: 81.11 kB / 0.7967 GB, free: 3.492 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.7234, allocations: 1.064 MB / 0.7977 GB, free: 2.418 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.68e-05/0.7235, allocations: 25.7 kB / 0.7977 GB, free: 2.387 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002665/0.7237, allocations: 286 kB / 0.798 GB, free: 2.102 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.7238, allocations: 19.84 kB / 0.798 GB, free: 2.082 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.7238, allocations: 0 / 0.798 GB, free: 2.082 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002348/0.7241, allocations: 427.8 kB / 0.7984 GB, free: 1.656 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.7253, allocations: 1.19 MB / 0.7996 GB, free: 476 kB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4178/1.143, allocations: 1.322 MB / 0.8009 GB, free: 144.6 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00219/1.145, allocations: 1.583 MB / 0.8024 GB, free: 144.3 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/1.145, allocations: 0 / 0.8024 GB, free: 144.3 MB / 0.573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005735/1.151, allocations: 3.389 MB / 0.8057 GB, free: 143.5 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/1.151, allocations: 4.906 kB / 0.8057 GB, free: 143.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/1.151, allocations: 2.172 kB / 0.8057 GB, free: 143.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.339e-05/1.151, allocations: 5.469 kB / 0.8058 GB, free: 143.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007823/1.152, allocations: 147.1 kB / 0.8059 GB, free: 143.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/1.152, allocations: 3.594 kB / 0.8059 GB, free: 143.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007217/1.153, allocations: 224.7 kB / 0.8061 GB, free: 143.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/1.153, allocations: 55.67 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.0001414/1.153, allocations: 119.5 kB / 0.8063 GB, free: 143.3 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002306/1.155, allocations: 0.9694 MB / 0.8072 GB, free: 143.2 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.993e-05/1.156, allocations: 76 kB / 0.8073 GB, free: 143.2 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/1.157, allocations: 0.9299 MB / 0.8082 GB, free: 143.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/1.157, allocations: 1.578 kB / 0.8082 GB, free: 143.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/1.157, allocations: 0.875 kB / 0.8082 GB, free: 143.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/1.157, allocations: 2.062 kB / 0.8082 GB, free: 143.1 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008578/1.158, allocations: 0.4953 MB / 0.8087 GB, free: 143 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/1.158, allocations: 1.797 kB / 0.8087 GB, free: 143 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.763e-05/1.158, allocations: 9.203 kB / 0.8087 GB, free: 143 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/1.158, allocations: 1.625 kB / 0.8087 GB, free: 143 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/1.158, allocations: 3.625 kB / 0.8087 GB, free: 143 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/1.158, allocations: 1.125 kB / 0.8087 GB, free: 143 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.158, allocations: 1.734 kB / 0.8087 GB, free: 143 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/1.16, allocations: 1.011 MB / 0.8097 GB, free: 142.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/1.16, allocations: 159.9 kB / 0.8099 GB, free: 142.7 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.602e-05/1.16, allocations: 8.984 kB / 0.8099 GB, free: 142.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/1.16, allocations: 5.609 kB / 0.8099 GB, free: 142.7 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/1.16, allocations: 6.672 kB / 0.8099 GB, free: 142.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.383e-05/1.16, allocations: 12.5 kB / 0.8099 GB, free: 142.7 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0009302/1.161, allocations: 0.647 MB / 0.8105 GB, free: 142.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.41e-07/1.161, allocations: 0 / 0.8105 GB, free: 142.6 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001967/1.163, allocations: 485.1 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.002569/1.166, allocations: 2.178 MB / 0.8131 GB, free: 141.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002018/1.168, allocations: 2.332 MB / 0.8154 GB, free: 141.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/1.168, allocations: 0 / 0.8154 GB, free: 141.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.000233/1.168, allocations: 337.9 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.0003285/1.169, allocations: 49.84 kB / 0.8158 GB, free: 141 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/1.171, allocations: 1.854 MB / 0.8176 GB, free: 140.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/1.172, allocations: 1.002 MB / 0.8185 GB, free: 139.9 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002117/1.172, allocations: 63.33 kB / 0.8186 GB, free: 139.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/1.172, allocations: 293.2 kB / 0.8189 GB, free: 139.6 MB / 0.573 GB Notification: Performance of SimCode: time 9.02e-07/1.172, allocations: 0 / 0.8189 GB, free: 139.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04312/1.215, allocations: 17.92 MB / 0.8364 GB, free: 132.3 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/1.215, allocations: 236.4 kB / 0.8366 GB, free: 132 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.928/4.143, allocations: 2.641 kB / 0.8366 GB, free: 132 MB / 0.573 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/linux/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)