Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_8_Buildings_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.853/1.853, allocations: 292.6 MB / 307.5 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001166/0.001166, allocations: 184.2 kB / 377.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.838/1.838, allocations: 205.4 MB / 0.6366 GB, free: 8.551 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009387/0.0009382, allocations: 94.39 kB / 0.7509 GB, free: 63.06 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003547, allocations: 8 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2982, allocations: 116.3 MB / 0.9885 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.873/1.171, allocations: 158.4 MB / 1.143 GB, free: 22.12 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003459/1.172, allocations: 116 kB / 1.143 GB, free: 22.03 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.09291/1.265, allocations: 29.75 MB / 1.172 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.124e-06/1.265, allocations: 0 / 1.172 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.345e-05/1.265, allocations: 12 kB / 1.172 GB, free: 10.26 MB / 0.7448 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.002725/1.267, allocations: 1.216 MB / 1.174 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.95e-05/1.268, allocations: 12.02 kB / 1.174 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.384e-05/1.268, allocations: 31.22 kB / 1.174 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004065/1.268, allocations: 106.7 kB / 1.174 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000801/1.269, allocations: 476.1 kB / 1.174 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/1.269, allocations: 20 kB / 1.174 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-05/1.269, allocations: 36 kB / 1.174 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004192/1.269, allocations: 388 kB / 1.175 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/1.269, allocations: 3.984 kB / 1.175 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/1.269, allocations: 0.5625 kB / 1.175 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/1.269, allocations: 4 kB / 1.175 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004725/1.27, allocations: 431.8 kB / 1.175 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007752/1.271, allocations: 0.7715 MB / 1.176 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005371/1.271, allocations: 0.5618 MB / 1.176 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/1.272, allocations: 1.032 MB / 1.177 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004103/1.273, allocations: 410.5 kB / 1.178 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 2.215e-06/1.273, allocations: 0 / 1.178 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.001394/1.274, allocations: 1.304 MB / 1.179 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/1.274, allocations: 81.11 kB / 1.179 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/1.275, allocations: 1.13 MB / 1.18 GB, free: 1.832 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.568e-05/1.275, allocations: 45.69 kB / 1.18 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/1.276, allocations: 298.1 kB / 1.18 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/1.276, allocations: 15.81 kB / 1.18 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/1.276, allocations: 16 kB / 1.181 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002141/1.276, allocations: 428.3 kB / 1.181 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/1.277, allocations: 1.222 MB / 1.182 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/1.279, allocations: 1.358 MB / 1.183 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001915/1.281, allocations: 1.611 MB / 1.185 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/1.281, allocations: 0 / 1.185 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004265/1.285, allocations: 3.453 MB / 1.188 GB, free: 9.324 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/1.285, allocations: 4.844 kB / 1.188 GB, free: 9.32 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/1.285, allocations: 7.984 kB / 1.188 GB, free: 9.312 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/1.285, allocations: 0 / 1.188 GB, free: 9.312 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006307/1.286, allocations: 151.8 kB / 1.189 GB, free: 9.164 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/1.286, allocations: 4.625 kB / 1.189 GB, free: 9.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006966/1.286, allocations: 240.3 kB / 1.189 GB, free: 8.922 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/1.287, allocations: 59.97 kB / 1.189 GB, free: 8.863 MB / 0.7605 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.0003918/1.287, allocations: 269.4 kB / 1.189 GB, free: 8.59 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.669e-05/1.287, allocations: 74.69 kB / 1.189 GB, free: 8.516 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/1.288, allocations: 0.9421 MB / 1.19 GB, free: 7.566 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/1.288, allocations: 3.938 kB / 1.19 GB, free: 7.562 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/1.288, allocations: 4 kB / 1.19 GB, free: 7.559 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/1.288, allocations: 0 / 1.19 GB, free: 7.559 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005129/1.289, allocations: 0.5176 MB / 1.191 GB, free: 6.996 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.289, allocations: 1.031 kB / 1.191 GB, free: 6.996 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.442e-05/1.289, allocations: 11.98 kB / 1.191 GB, free: 6.984 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/1.289, allocations: 0 / 1.191 GB, free: 6.984 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/1.289, allocations: 14.09 kB / 1.191 GB, free: 6.973 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/1.289, allocations: 0 / 1.191 GB, free: 6.973 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.289, allocations: 0 / 1.191 GB, free: 6.973 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009459/1.29, allocations: 1.017 MB / 1.192 GB, free: 5.93 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/1.29, allocations: 155.8 kB / 1.192 GB, free: 5.758 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.573e-05/1.29, allocations: 12 kB / 1.192 GB, free: 5.746 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/1.29, allocations: 7.984 kB / 1.192 GB, free: 5.738 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/1.29, allocations: 3.938 kB / 1.192 GB, free: 5.734 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.274e-05/1.29, allocations: 17 kB / 1.192 GB, free: 5.719 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0007904/1.291, allocations: 0.714 MB / 1.192 GB, free: 5 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.6e-07/1.291, allocations: 0 / 1.192 GB, free: 5 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001869/1.293, allocations: 0.4916 MB / 1.193 GB, free: 4.508 MB / 0.7605 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.003058/1.296, allocations: 2.184 MB / 1.195 GB, free: 2.297 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002443/1.298, allocations: 2.363 MB / 1.197 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.298, allocations: 0 / 1.197 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003164/1.299, allocations: 345.1 kB / 1.198 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/1.299, allocations: 49.47 kB / 1.198 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003625/1.303, allocations: 2.836 MB / 1.201 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006183/1.303, allocations: 1.005 MB / 1.202 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002196/1.304, allocations: 63.97 kB / 1.202 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003451/1.304, allocations: 295.3 kB / 1.202 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of SimCode: time 1.022e-06/1.304, allocations: 4 kB / 1.202 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04/1.344, allocations: 19.34 MB / 1.221 GB, free: 8.207 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/1.344, allocations: 267.1 kB / 1.221 GB, free: 7.852 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.18/4.524, allocations: 7.797 kB / 1.221 GB, free: 7.844 MB / 0.7917 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)