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.6953/0.6953, allocations: 127.3 MB / 139.8 MB, free: 15.47 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 192.7 kB / 169.7 MB, free: 1.738 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.531/1.531, allocations: 205.1 MB / 404.5 MB, free: 1.672 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.0008865/0.0008864, allocations: 91.61 kB / 481.8 MB, free: 4.316 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.874e-05/3.879e-05, allocations: 4 kB / 0.5533 GB, free: 54.71 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1483, allocations: 76.77 MB / 0.6283 GB, free: 9.891 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5614/0.7097, allocations: 123.3 MB / 0.7487 GB, free: 6.312 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003685/0.7101, allocations: 122.2 kB / 0.7488 GB, free: 6.238 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.1101/0.8203, allocations: 31.05 MB / 0.7791 GB, free: 9.703 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8203, allocations: 4 kB / 0.7791 GB, free: 9.699 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.241e-05/0.8204, allocations: 12 kB / 0.7791 GB, free: 9.688 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.00252/0.8229, allocations: 1.045 MB / 0.7801 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.8229, allocations: 8.031 kB / 0.7802 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.173e-05/0.823, allocations: 42.55 kB / 0.7802 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005189/0.8235, allocations: 98.66 kB / 0.7803 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.8246, allocations: 472.7 kB / 0.7807 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.943e-05/0.8246, allocations: 31.88 kB / 0.7808 GB, free: 7.898 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-05/0.8247, allocations: 36 kB / 0.7808 GB, free: 7.863 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004337/0.8252, allocations: 379.2 kB / 0.7812 GB, free: 7.48 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.8252, allocations: 3.953 kB / 0.7812 GB, free: 7.477 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.8252, allocations: 0 / 0.7812 GB, free: 7.477 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.8252, allocations: 4 kB / 0.7812 GB, free: 7.473 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003931/0.8256, allocations: 419.8 kB / 0.7816 GB, free: 7.062 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009393/0.8266, allocations: 0.7744 MB / 0.7823 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005121/0.8271, allocations: 0.5555 MB / 0.7829 GB, free: 5.664 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003128/0.8274, allocations: 337.7 kB / 0.7832 GB, free: 5.328 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00106/0.8285, allocations: 1.032 MB / 0.7842 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003978/0.8289, allocations: 404.8 kB / 0.7846 GB, free: 3.66 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.8289, allocations: 0 / 0.7846 GB, free: 3.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.001086/0.83, allocations: 0.9802 MB / 0.7855 GB, free: 2.672 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.104e-05/0.8301, allocations: 85.09 kB / 0.7856 GB, free: 2.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.8316, allocations: 1.12 MB / 0.7867 GB, free: 1.438 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.775e-05/0.8316, allocations: 41.7 kB / 0.7868 GB, free: 1.391 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/0.8319, allocations: 294 kB / 0.787 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.353e-05/0.832, allocations: 19.8 kB / 0.7871 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.832, allocations: 16 kB / 0.7871 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002382/0.8323, allocations: 419.8 kB / 0.7875 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/0.8337, allocations: 1.206 MB / 0.7887 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001549/0.8353, allocations: 1.341 MB / 0.79 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00185/0.8371, allocations: 1.6 MB / 0.7915 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.8372, allocations: 4 kB / 0.7915 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004715/0.8419, allocations: 3.438 MB / 0.7949 GB, free: 8.988 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.8419, allocations: 8 kB / 0.7949 GB, free: 8.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/0.842, allocations: 0 / 0.7949 GB, free: 8.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/0.842, allocations: 4 kB / 0.7949 GB, free: 8.977 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006953/0.8427, allocations: 143.8 kB / 0.795 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/0.8427, allocations: 4 kB / 0.795 GB, free: 8.832 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007061/0.8434, allocations: 252.3 kB / 0.7953 GB, free: 8.582 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.8435, allocations: 51.98 kB / 0.7953 GB, free: 8.531 MB / 0.5417 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.0001797/0.8437, allocations: 140.7 kB / 0.7955 GB, free: 8.387 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.8439, allocations: 74.67 kB / 0.7955 GB, free: 8.312 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.8449, allocations: 0.9368 MB / 0.7964 GB, free: 7.367 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.8449, allocations: 0 / 0.7964 GB, free: 7.367 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.845, allocations: 7.922 kB / 0.7965 GB, free: 7.359 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.845, allocations: 4 kB / 0.7965 GB, free: 7.355 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005402/0.8455, allocations: 0.5139 MB / 0.797 GB, free: 6.797 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.8455, allocations: 0 / 0.797 GB, free: 6.797 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.941e-05/0.8456, allocations: 4 kB / 0.797 GB, free: 6.793 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.8456, allocations: 4 kB / 0.797 GB, free: 6.789 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.8456, allocations: 3.984 kB / 0.797 GB, free: 6.785 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.8456, allocations: 0 / 0.797 GB, free: 6.785 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.8456, allocations: 4 kB / 0.797 GB, free: 6.781 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009286/0.8466, allocations: 1.013 MB / 0.798 GB, free: 5.742 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.8468, allocations: 159.8 kB / 0.7981 GB, free: 5.566 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.154e-05/0.8468, allocations: 0 / 0.7981 GB, free: 5.566 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.847, allocations: 7.984 kB / 0.7981 GB, free: 5.559 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.8471, allocations: 7.953 kB / 0.7981 GB, free: 5.551 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.23e-05/0.8471, allocations: 15.97 kB / 0.7981 GB, free: 5.535 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008271/0.8479, allocations: 0.7 MB / 0.7988 GB, free: 4.828 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3e-07/0.8479, allocations: 0 / 0.7988 GB, free: 4.828 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001712/0.8497, allocations: 0.4954 MB / 0.7993 GB, free: 4.332 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.003992/0.8537, allocations: 2.18 MB / 0.8014 GB, free: 2.117 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002512/0.8562, allocations: 2.347 MB / 0.8037 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.8562, allocations: 0 / 0.8037 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003052/0.8565, allocations: 339.8 kB / 0.8041 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.8568, allocations: 52.8 kB / 0.8041 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003209/0.8601, allocations: 1.862 MB / 0.8059 GB, free: 13.47 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006417/0.8607, allocations: 1.013 MB / 0.8069 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002211/0.861, allocations: 58.91 kB / 0.807 GB, free: 12.37 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003481/0.8613, allocations: 295.3 kB / 0.8073 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of SimCode: time 7.71e-07/0.8613, allocations: 0 / 0.8073 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04398/0.9053, allocations: 19.83 MB / 0.8266 GB, free: 8.395 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002379/0.9056, allocations: 245.9 kB / 0.8269 GB, free: 8.059 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.87/3.775, allocations: 8.062 kB / 0.8269 GB, free: 8.051 MB / 0.573 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)