Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_SmallScaleValidation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_SmallScaleValidation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7178/0.7178, allocations: 127.4 MB / 134.9 MB, free: 3.734 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009755/0.0009758, allocations: 180.9 kB / 164.7 MB, free: 6.531 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.2 MB / 399.5 MB, free: 5.859 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009403/0.0009404, allocations: 94.36 kB / 476.7 MB, free: 8.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.745e-05/1.748e-05, allocations: 4 kB / 0.5467 GB, free: 60.33 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1546, allocations: 76.75 MB / 0.6217 GB, free: 15.51 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5544/0.709, allocations: 122.7 MB / 0.7415 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003535/0.7094, allocations: 115.9 kB / 0.7416 GB, free: 8.98 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/Examples/GFunction_SmallScaleValidation.mo:23:38-23:49:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/Examples/GFunction_SmallScaleValidation.mo:24:39-24:50:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/Examples/GFunction_SmallScaleValidation.mo:25:56-25:67:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/Examples/GFunction_SmallScaleValidation.mo:26:41-26:52:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.1089/0.8184, allocations: 30.83 MB / 0.7718 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8184, allocations: 0 / 0.7718 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.089e-05/0.8184, allocations: 16 kB / 0.7718 GB, free: 14.84 MB / 0.5261 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.002289/0.8207, allocations: 1.047 MB / 0.7728 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.194e-05/0.8208, allocations: 11.98 kB / 0.7728 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003786/0.8212, allocations: 106.5 kB / 0.7729 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006817/0.8219, allocations: 466.2 kB / 0.7733 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.8219, allocations: 0 / 0.7733 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.21e-05/0.822, allocations: 24 kB / 0.7734 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004012/0.8224, allocations: 426.7 kB / 0.7738 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003781/0.8228, allocations: 382 kB / 0.7741 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.8228, allocations: 0 / 0.7741 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.8228, allocations: 11.61 kB / 0.7742 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.8228, allocations: 0 / 0.7742 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007437/0.8236, allocations: 0.7165 MB / 0.7749 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005202/0.8241, allocations: 0.5469 MB / 0.7754 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003636/0.8245, allocations: 337.4 kB / 0.7757 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/0.8255, allocations: 1.036 MB / 0.7767 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003871/0.8259, allocations: 395.9 kB / 0.7771 GB, free: 9.191 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.826, allocations: 0 / 0.7771 GB, free: 9.191 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.001056/0.827, allocations: 0.978 MB / 0.7781 GB, free: 8.219 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.032e-05/0.8271, allocations: 88.88 kB / 0.7781 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.8282, allocations: 1.056 MB / 0.7792 GB, free: 7.277 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.297e-05/0.8283, allocations: 25.7 kB / 0.7792 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002641/0.8285, allocations: 286.7 kB / 0.7795 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.8286, allocations: 15.31 kB / 0.7795 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.8286, allocations: 0 / 0.7795 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002151/0.8288, allocations: 424.5 kB / 0.7799 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.83, allocations: 1.197 MB / 0.7811 GB, free: 5.875 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/0.8313, allocations: 1.323 MB / 0.7823 GB, free: 5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/0.8329, allocations: 1.586 MB / 0.7839 GB, free: 3.824 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.8329, allocations: 0 / 0.7839 GB, free: 3.824 MB / 0.5261 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00404/0.8369, allocations: 3.393 MB / 0.7872 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.837, allocations: 7.938 kB / 0.7872 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/0.837, allocations: 4 kB / 0.7872 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.837, allocations: 0 / 0.7872 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007014/0.8377, allocations: 147.8 kB / 0.7874 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.8378, allocations: 4 kB / 0.7874 GB, free: 1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006636/0.8384, allocations: 232.2 kB / 0.7876 GB, free: 0.7695 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.223e-05/0.8385, allocations: 55.98 kB / 0.7876 GB, free: 0.7148 MB / 0.5261 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.0001554/0.8387, allocations: 128.7 kB / 0.7878 GB, free: 0.582 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009094/0.8396, allocations: 0.9532 MB / 0.7887 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.612e-05/0.8397, allocations: 70.69 kB / 0.7888 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.8407, allocations: 0.9368 MB / 0.7897 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.8407, allocations: 4 kB / 0.7897 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.8407, allocations: 3.781 kB / 0.7897 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.8407, allocations: 3.984 kB / 0.7897 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004995/0.8412, allocations: 497.2 kB / 0.7902 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.8413, allocations: 0 / 0.7902 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.382e-05/0.8413, allocations: 8 kB / 0.7902 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.8413, allocations: 0 / 0.7902 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.8414, allocations: 7.984 kB / 0.7902 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.8414, allocations: 4.031 kB / 0.7902 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.8414, allocations: 3.938 kB / 0.7902 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009034/0.8423, allocations: 1.001 MB / 0.7912 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.8424, allocations: 159.8 kB / 0.7913 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.715e-05/0.8425, allocations: 4 kB / 0.7913 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.8427, allocations: 8 kB / 0.7913 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.8427, allocations: 11.94 kB / 0.7913 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.444e-05/0.8428, allocations: 11.98 kB / 0.7913 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008241/0.8436, allocations: 0.64 MB / 0.792 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8436, allocations: 0 / 0.792 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001985/0.8456, allocations: 495.3 kB / 0.7924 GB, free: 11.68 MB / 0.5417 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.003244/0.8489, allocations: 2.179 MB / 0.7946 GB, free: 9.473 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002489/0.8514, allocations: 2.322 MB / 0.7968 GB, free: 7.145 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.8514, allocations: 0 / 0.7968 GB, free: 7.145 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002793/0.8517, allocations: 335.8 kB / 0.7972 GB, free: 6.816 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/0.8521, allocations: 57.2 kB / 0.7972 GB, free: 6.758 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003276/0.8554, allocations: 1.849 MB / 0.799 GB, free: 4.859 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000622/0.856, allocations: 1.001 MB / 0.8 GB, free: 3.828 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002684/0.8563, allocations: 67.2 kB / 0.8001 GB, free: 3.762 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003464/0.8567, allocations: 295.3 kB / 0.8003 GB, free: 3.473 MB / 0.5417 GB Notification: Performance of SimCode: time 7.92e-07/0.8567, allocations: 3.938 kB / 0.8003 GB, free: 3.469 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05935/0.916, allocations: 18.08 MB / 0.818 GB, free: 1.441 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004393/0.9166, allocations: 241.6 kB / 0.8182 GB, free: 1.156 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.692/3.609, allocations: 0 / 0.8182 GB, free: 1.156 MB / 0.5573 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_SmallScaleValidation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_SmallScaleValidation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_GFunction_SmallScaleValidation.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_SmallScaleValidation.pipe 2>&1)