Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.8088/0.8088, allocations: 143.3 MB / 158.3 MB, free: 5.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 182.8 kB / 191.5 MB, free: 5.66 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 223.2 MB / 447.7 MB, free: 4.844 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.0008712/0.0008712, allocations: 95.7 kB / 0.5187 GB, free: 1.215 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001875/0.001875, allocations: 267.2 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004587/0.0004587, allocations: 13.72 kB / 0.693 GB, free: 59.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.172, allocations: 82.8 MB / 0.7738 GB, free: 13.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5693/0.7413, allocations: 128.1 MB / 0.899 GB, free: 21.86 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004054/0.7418, allocations: 120.7 kB / 0.8991 GB, free: 21.86 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.09223/0.834, allocations: 30.17 MB / 0.9285 GB, free: 17.17 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.625e-06/0.8341, allocations: 3.875 kB / 0.9285 GB, free: 17.17 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.754e-05/0.8341, allocations: 11.47 kB / 0.9285 GB, free: 17.17 MB / 0.5417 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.002258/0.8364, allocations: 1.214 MB / 0.9297 GB, free: 16.24 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.8364, allocations: 7.719 kB / 0.9297 GB, free: 16.24 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.273e-05/0.8365, allocations: 34.55 kB / 0.9298 GB, free: 16.2 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003481/0.8368, allocations: 109.2 kB / 0.9299 GB, free: 16.13 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006651/0.8375, allocations: 473.1 kB / 0.9303 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.8376, allocations: 23.62 kB / 0.9304 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.448e-05/0.8376, allocations: 36.52 kB / 0.9304 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003618/0.838, allocations: 384.1 kB / 0.9308 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.838, allocations: 0 / 0.9308 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.838, allocations: 12.31 kB / 0.9308 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.838, allocations: 0 / 0.9308 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003213/0.8384, allocations: 433.7 kB / 0.9312 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005773/0.839, allocations: 0.7697 MB / 0.9319 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003696/0.8393, allocations: 0.5717 MB / 0.9325 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000717/0.8401, allocations: 1.029 MB / 0.9335 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002959/0.8404, allocations: 405.1 kB / 0.9339 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.8404, allocations: 7.812 kB / 0.9339 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.001025/0.8414, allocations: 1.294 MB / 0.9352 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.8415, allocations: 88.91 kB / 0.9352 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000932/0.8424, allocations: 1.125 MB / 0.9363 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.274e-05/0.8425, allocations: 49.23 kB / 0.9364 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.8426, allocations: 299.7 kB / 0.9367 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.8427, allocations: 19.36 kB / 0.9367 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.8427, allocations: 14.59 kB / 0.9367 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.8429, allocations: 423.7 kB / 0.9371 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.8442, allocations: 1.22 MB / 0.9383 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.8452, allocations: 1.366 MB / 0.9396 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.8465, allocations: 1.606 MB / 0.9412 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.8465, allocations: 0 / 0.9412 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003337/0.8499, allocations: 3.455 MB / 0.9446 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.8499, allocations: 3.875 kB / 0.9446 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/0.8499, allocations: 3.844 kB / 0.9446 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/0.85, allocations: 4.031 kB / 0.9446 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005769/0.8505, allocations: 143.2 kB / 0.9447 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.8506, allocations: 3.969 kB / 0.9447 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00053/0.8511, allocations: 242.1 kB / 0.945 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.926e-05/0.8512, allocations: 61.33 kB / 0.945 GB, free: 10.3 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 () * Number of clocked 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.000295/0.8515, allocations: 264.1 kB / 0.9453 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.211e-05/0.8515, allocations: 70.19 kB / 0.9453 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007435/0.8523, allocations: 0.9599 MB / 0.9463 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.8523, allocations: 0 / 0.9463 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.8523, allocations: 3.875 kB / 0.9463 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.8523, allocations: 0 / 0.9463 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003582/0.8527, allocations: 0.5195 MB / 0.9468 GB, free: 9.586 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.8527, allocations: 0 / 0.9468 GB, free: 9.586 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.881e-05/0.8528, allocations: 7.844 kB / 0.9468 GB, free: 9.582 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.8528, allocations: 7.844 kB / 0.9468 GB, free: 9.578 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.8528, allocations: 7.984 kB / 0.9468 GB, free: 9.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.8528, allocations: 0 / 0.9468 GB, free: 9.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.8528, allocations: 3.875 kB / 0.9468 GB, free: 9.57 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006426/0.8535, allocations: 1.015 MB / 0.9478 GB, free: 9.297 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.633e-05/0.8536, allocations: 166.5 kB / 0.948 GB, free: 9.141 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.668e-05/0.8536, allocations: 3.875 kB / 0.948 GB, free: 9.141 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.8538, allocations: 0 / 0.948 GB, free: 9.141 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.8538, allocations: 7.859 kB / 0.948 GB, free: 9.137 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.302e-05/0.8539, allocations: 15.67 kB / 0.948 GB, free: 9.129 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005861/0.8545, allocations: 0.7149 MB / 0.9487 GB, free: 8.875 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8545, allocations: 0 / 0.9487 GB, free: 8.875 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001707/0.8562, allocations: 0.4953 MB / 0.9492 GB, free: 8.75 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) * 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 (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.002485/0.8587, allocations: 2.176 MB / 0.9513 GB, free: 7.676 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00173/0.8604, allocations: 2.367 MB / 0.9536 GB, free: 7.395 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.8604, allocations: 0 / 0.9536 GB, free: 7.395 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002325/0.8607, allocations: 341.8 kB / 0.9539 GB, free: 7.344 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.861, allocations: 65.25 kB / 0.954 GB, free: 7.32 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002837/0.8638, allocations: 2.84 MB / 0.9568 GB, free: 5.777 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005942/0.8644, allocations: 1.002 MB / 0.9577 GB, free: 20.94 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001995/0.8646, allocations: 57.72 kB / 0.9578 GB, free: 20.91 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002662/0.8649, allocations: 296.9 kB / 0.9581 GB, free: 20.88 MB / 0.5573 GB Notification: Performance of SimCode: time 5.81e-07/0.8649, allocations: 0 / 0.9581 GB, free: 20.88 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03416/0.8991, allocations: 19.34 MB / 0.977 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/0.8993, allocations: 282.2 kB / 0.9772 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.846/3.746, allocations: 3.938 kB / 0.9772 GB, free: 11.32 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)