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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 195.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.505/1.505, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.653/1.653, allocations: 292.3 MB / 0.5486 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 72.55 kB / 0.6711 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2232, allocations: 114.5 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003132/0.2264, allocations: 1.813 MB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005826/0.2322, allocations: 4.231 MB / 0.7889 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.2323, allocations: 3.938 kB / 0.7889 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.2335, allocations: 354.7 kB / 0.7893 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.2336, allocations: 47.73 kB / 0.7893 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002279/0.2359, allocations: 0.8851 MB / 0.7902 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.2361, allocations: 155.3 kB / 0.7903 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.016e-05/0.2362, allocations: 9.562 kB / 0.7903 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.086e-05/0.2363, allocations: 55.77 kB / 0.7904 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.2365, allocations: 172.8 kB / 0.7905 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.762e-05/0.2366, allocations: 16 kB / 0.7906 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.2383, allocations: 1.412 MB / 0.7919 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002043/0.2385, allocations: 279.8 kB / 0.7922 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002362/0.2387, allocations: 302.2 kB / 0.7925 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001573/0.2403, allocations: 1.562 MB / 0.794 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2403, allocations: 0 / 0.794 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2403, allocations: 0 / 0.794 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.2403, allocations: 0 / 0.794 GB, free: 2.469 MB / 0.6075 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.009129/0.2495, allocations: 1.275 MB / 0.7953 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.2495, allocations: 12.03 kB / 0.7953 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.627e-05/0.2496, allocations: 34.69 kB / 0.7953 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003913/0.25, allocations: 103.6 kB / 0.7954 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004704/0.2505, allocations: 398.1 kB / 0.7958 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.2505, allocations: 8.312 kB / 0.7958 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.356e-05/0.2505, allocations: 4.375 kB / 0.7958 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004619/0.251, allocations: 395.3 kB / 0.7962 GB, free: 144 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/0.251, allocations: 3.938 kB / 0.7962 GB, free: 140 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.2511, allocations: 0 / 0.7962 GB, free: 140 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.2511, allocations: 4 kB / 0.7962 GB, free: 136 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004597/0.2515, allocations: 439.7 kB / 0.7966 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006579/0.2522, allocations: 0.6575 MB / 0.7972 GB, free: 15 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000518/0.2527, allocations: 0.5673 MB / 0.7978 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003003/0.253, allocations: 337.6 kB / 0.7981 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/0.2541, allocations: 1.017 MB / 0.7991 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003825/0.2545, allocations: 408.8 kB / 0.7995 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.2545, allocations: 0 / 0.7995 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001257/0.2558, allocations: 1.296 MB / 0.8008 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.2558, allocations: 81.11 kB / 0.8008 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.2571, allocations: 1.289 MB / 0.8021 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.494e-05/0.2571, allocations: 37.62 kB / 0.8021 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.2573, allocations: 277.4 kB / 0.8024 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.2574, allocations: 23.73 kB / 0.8024 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003252/0.2577, allocations: 343.6 kB / 0.8027 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.2578, allocations: 322 kB / 0.8031 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.259, allocations: 1.361 MB / 0.8044 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/0.2603, allocations: 1.497 MB / 0.8058 GB, free: 5.844 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006764/0.2671, allocations: 3.534 MB / 0.8093 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.2671, allocations: 4 kB / 0.8093 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003968/0.2711, allocations: 3.98 MB / 0.8132 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.2711, allocations: 4 kB / 0.8132 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.2711, allocations: 4 kB / 0.8132 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.2712, allocations: 3.984 kB / 0.8132 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.2713, allocations: 15.98 kB / 0.8132 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2713, allocations: 3.938 kB / 0.8132 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004717/0.2718, allocations: 228.4 kB / 0.8134 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.509e-05/0.2719, allocations: 23.98 kB / 0.8135 GB, free: 13.91 MB / 0.6387 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 (gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002955/0.2722, allocations: 249.6 kB / 0.8137 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.658e-05/0.2722, allocations: 78.53 kB / 0.8138 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.2725, allocations: 83.66 kB / 0.8139 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.2725, allocations: 8 kB / 0.8139 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.2726, allocations: 0 / 0.8139 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2726, allocations: 0 / 0.8139 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004321/0.273, allocations: 0.5138 MB / 0.8144 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.273, allocations: 11.94 kB / 0.8144 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.118e-05/0.2731, allocations: 7.984 kB / 0.8144 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2731, allocations: 0 / 0.8144 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.2731, allocations: 4 kB / 0.8144 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2731, allocations: 3.938 kB / 0.8144 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2731, allocations: 0 / 0.8144 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008314/0.274, allocations: 1.014 MB / 0.8154 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.2741, allocations: 163.7 kB / 0.8155 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.775e-05/0.2742, allocations: 4 kB / 0.8155 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.2743, allocations: 7.984 kB / 0.8155 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.2744, allocations: 0 / 0.8155 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.952e-05/0.2744, allocations: 19.97 kB / 0.8156 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007172/0.2751, allocations: 0.7179 MB / 0.8163 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2752, allocations: 0 / 0.8163 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001019/0.2762, allocations: 407.9 kB / 0.8167 GB, free: 10.54 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002391/0.2786, allocations: 1.927 MB / 0.8185 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002411/0.281, allocations: 2.499 MB / 0.821 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.281, allocations: 0 / 0.821 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000364/0.2814, allocations: 339.9 kB / 0.8213 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005016/0.2819, allocations: 53.48 kB / 0.8214 GB, free: 5.68 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01504/0.2969, allocations: 15.03 MB / 0.836 GB, free: 6.488 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005248/0.2975, allocations: 0.9879 MB / 0.837 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001988/0.2977, allocations: 41.42 kB / 0.837 GB, free: 5.43 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003412/0.2981, allocations: 279.3 kB / 0.8373 GB, free: 5.156 MB / 0.6544 GB Notification: Performance of SimCode: time 8.02e-07/0.2981, allocations: 0 / 0.8373 GB, free: 5.156 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03707/0.3351, allocations: 19.58 MB / 0.8564 GB, free: 1.82 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003821/0.3356, allocations: 295.6 kB / 0.8567 GB, free: 1.445 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/2.869, allocations: 0 / 0.8567 GB, free: 1.445 MB / 0.67 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/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)