Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 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_9_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_9_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.001024/0.001024, allocations: 96.94 kB / 15.36 MB, free: 0.7344 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.008264/0.008264, allocations: 168.8 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.359/2.359, allocations: 390.9 MB / 0.6664 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003666, allocations: 12 kB / 0.8161 GB, free: 13.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6291/0.6295, allocations: 142.4 MB / 0.9552 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001624/0.6312, allocations: 1.442 MB / 0.9566 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004826/0.636, allocations: 4.316 MB / 0.9608 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.186e-05/0.6361, allocations: 5.312 kB / 0.9608 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.6372, allocations: 349.4 kB / 0.9612 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.6373, allocations: 57.41 kB / 0.9612 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001845/0.6391, allocations: 0.7678 MB / 0.962 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.6394, allocations: 186.1 kB / 0.9622 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.266e-05/0.6394, allocations: 25.42 kB / 0.9622 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.367e-05/0.6395, allocations: 44.55 kB / 0.9622 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.6397, allocations: 180 kB / 0.9624 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.6398, allocations: 14.28 kB / 0.9624 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001813/0.6416, allocations: 1.393 MB / 0.9638 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.6418, allocations: 281.4 kB / 0.964 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.642, allocations: 327.5 kB / 0.9643 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001641/0.6436, allocations: 1.545 MB / 0.9659 GB, free: 36 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.6437, allocations: 4 kB / 0.9659 GB, free: 32 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6437, allocations: 1 kB / 0.9659 GB, free: 32 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.557e-06/0.6437, allocations: 3.938 kB / 0.9659 GB, free: 28 kB / 0.7169 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.01074/0.6544, allocations: 1.21 MB / 0.967 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.6545, allocations: 10.5 kB / 0.9671 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.844e-05/0.6545, allocations: 35.53 kB / 0.9671 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003536/0.6549, allocations: 98.77 kB / 0.9672 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004411/0.6553, allocations: 398.3 kB / 0.9676 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.6554, allocations: 11.36 kB / 0.9676 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.567e-05/0.6554, allocations: 4.469 kB / 0.9676 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004646/0.6559, allocations: 386.7 kB / 0.9679 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.6559, allocations: 1.062 kB / 0.9679 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.6559, allocations: 1 kB / 0.968 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.6559, allocations: 5.312 kB / 0.968 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005177/0.6565, allocations: 437.8 kB / 0.9684 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006495/0.6571, allocations: 0.658 MB / 0.969 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005568/0.6577, allocations: 0.5651 MB / 0.9696 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003301/0.658, allocations: 337.9 kB / 0.9699 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009643/0.659, allocations: 1.041 MB / 0.9709 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004492/0.6595, allocations: 411.2 kB / 0.9713 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.6595, allocations: 0 / 0.9713 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001402/0.6609, allocations: 1.295 MB / 0.9726 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.6609, allocations: 83.73 kB / 0.9726 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.6622, allocations: 1.28 MB / 0.9739 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.6623, allocations: 32.39 kB / 0.9739 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.6625, allocations: 288.4 kB / 0.9742 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.6625, allocations: 26.56 kB / 0.9742 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/0.6628, allocations: 284.9 kB / 0.9745 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.531e-05/0.6629, allocations: 317.3 kB / 0.9748 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.6641, allocations: 1.37 MB / 0.9761 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/0.6653, allocations: 1.489 MB / 0.9776 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006655/0.672, allocations: 3.537 MB / 0.981 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.672, allocations: 4 kB / 0.981 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00395/0.676, allocations: 3.975 MB / 0.9849 GB, free: 252 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.676, allocations: 5.25 kB / 0.9849 GB, free: 248 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.676, allocations: 4 kB / 0.9849 GB, free: 244 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.676, allocations: 0 / 0.9849 GB, free: 244 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.6762, allocations: 19.98 kB / 0.985 GB, free: 224 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.6762, allocations: 3.938 kB / 0.985 GB, free: 220 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007094/0.6769, allocations: 228.3 kB / 0.9852 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.783e-05/0.677, allocations: 23.94 kB / 0.9852 GB, free: 15.96 MB / 0.7481 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.0003212/0.6773, allocations: 249.7 kB / 0.9854 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.6774, allocations: 74.62 kB / 0.9855 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.6777, allocations: 87.59 kB / 0.9856 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.6777, allocations: 4 kB / 0.9856 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.6777, allocations: 0 / 0.9856 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.6777, allocations: 4.031 kB / 0.9856 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004573/0.6782, allocations: 0.51 MB / 0.9861 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.6782, allocations: 7.938 kB / 0.9861 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.409e-05/0.6782, allocations: 4 kB / 0.9861 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.6783, allocations: 0 / 0.9861 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.6783, allocations: 7.984 kB / 0.9861 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.6783, allocations: 4 kB / 0.9861 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.6783, allocations: 0 / 0.9861 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008454/0.6791, allocations: 1.006 MB / 0.9871 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.6793, allocations: 171.6 kB / 0.9873 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.106e-05/0.6793, allocations: 7.938 kB / 0.9873 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.6795, allocations: 7.984 kB / 0.9873 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.6795, allocations: 7.984 kB / 0.9873 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.6796, allocations: 11.98 kB / 0.9873 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007268/0.6803, allocations: 0.7218 MB / 0.988 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6803, allocations: 0 / 0.988 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001207/0.6815, allocations: 403.9 kB / 0.9884 GB, free: 12.58 MB / 0.7481 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.002231/0.6838, allocations: 1.93 MB / 0.9903 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002098/0.6859, allocations: 2.492 MB / 0.9927 GB, free: 8.121 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.6859, allocations: 4.062 kB / 0.9927 GB, free: 8.117 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002995/0.6862, allocations: 339.8 kB / 0.993 GB, free: 7.785 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.6866, allocations: 58.34 kB / 0.9931 GB, free: 7.73 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01414/0.7008, allocations: 15.03 MB / 1.008 GB, free: 8.527 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/0.7013, allocations: 0.9878 MB / 1.009 GB, free: 7.512 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002013/0.7015, allocations: 49.28 kB / 1.009 GB, free: 7.465 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002992/0.7018, allocations: 279.3 kB / 1.009 GB, free: 7.191 MB / 0.7637 GB Notification: Performance of SimCode: time 4.01e-07/0.7018, allocations: 4 kB / 1.009 GB, free: 7.188 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03263/0.7345, allocations: 19.1 MB / 1.028 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002848/0.7348, allocations: 305.2 kB / 1.028 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.375/3.11, allocations: 3.938 kB / 1.028 GB, free: 3.949 MB / 0.7794 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)