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_100boreholes.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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_100boreholes,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",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.007562/0.007569, allocations: 104.6 kB / 15.74 MB, free: 5.984 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.001921/0.001922, allocations: 197.5 kB / 16.67 MB, free: 5.91 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.11/2.11, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001463, allocations: 67.89 kB / 0.9505 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7971/0.7986, allocations: 140.4 MB / 1.088 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002148/0.8008, allocations: 1.416 MB / 1.089 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003769/0.8045, allocations: 3.026 MB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.165e-05/0.8046, allocations: 4.906 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.769e-05/0.8047, allocations: 7.438 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.805, allocations: 32.41 kB / 1.092 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00253/0.8075, allocations: 0.9927 MB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.8076, allocations: 86.91 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.695e-05/0.8077, allocations: 4.609 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.684e-05/0.8078, allocations: 42.69 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.808, allocations: 158.3 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.795e-05/0.808, allocations: 13.06 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002242/0.8103, allocations: 1.392 MB / 1.095 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0007757/0.8111, allocations: 0.6824 MB / 1.095 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000341/0.8114, allocations: 440.8 kB / 1.096 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002409/0.8138, allocations: 1.794 MB / 1.097 GB, free: 300 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.8139, allocations: 5.188 kB / 1.097 GB, free: 296 kB / 0.8575 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8139, allocations: 3.938 kB / 1.097 GB, free: 292 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.353e-05/0.8139, allocations: 0.7969 kB / 1.097 GB, free: 292 kB / 0.8575 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.01176/0.8257, allocations: 1.688 MB / 1.099 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.146e-05/0.8257, allocations: 8.844 kB / 1.099 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.466e-05/0.8258, allocations: 33.8 kB / 1.099 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005296/0.8263, allocations: 137.5 kB / 1.099 GB, free: 15 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006743/0.827, allocations: 0.5283 MB / 1.1 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.827, allocations: 3.719 kB / 1.1 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.299e-05/0.8271, allocations: 9.641 kB / 1.1 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005519/0.8277, allocations: 396.9 kB / 1.1 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.8277, allocations: 0.5 kB / 1.1 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.8277, allocations: 1.156 kB / 1.1 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.8277, allocations: 5.016 kB / 1.1 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006105/0.8283, allocations: 437 kB / 1.101 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.8293, allocations: 0.8051 MB / 1.101 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006226/0.83, allocations: 0.5593 MB / 1.102 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003871/0.8304, allocations: 341.1 kB / 1.102 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/0.8315, allocations: 1.023 MB / 1.103 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004278/0.8319, allocations: 411.8 kB / 1.104 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.713e-06/0.8319, allocations: 0 / 1.104 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.00153/0.8334, allocations: 1.344 MB / 1.105 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.8335, allocations: 81.05 kB / 1.105 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002441/0.836, allocations: 1.842 MB / 1.107 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.086e-05/0.836, allocations: 36.86 kB / 1.107 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/0.8364, allocations: 472.7 kB / 1.107 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.8365, allocations: 25.64 kB / 1.107 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003624/0.8368, allocations: 355 kB / 1.108 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.323e-05/0.8369, allocations: 303.2 kB / 1.108 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.8384, allocations: 1.512 MB / 1.109 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001506/0.8399, allocations: 1.645 MB / 1.111 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007272/0.8472, allocations: 3.691 MB / 1.115 GB, free: 8.207 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.8472, allocations: 1.188 kB / 1.115 GB, free: 8.207 MB / 0.8731 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.0052/0.8524, allocations: 4.316 MB / 1.119 GB, free: 6.223 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.8524, allocations: 9.328 kB / 1.119 GB, free: 6.219 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.8525, allocations: 1.531 kB / 1.119 GB, free: 6.219 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.8525, allocations: 2.938 kB / 1.119 GB, free: 6.219 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.8526, allocations: 17.75 kB / 1.119 GB, free: 6.215 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.8526, allocations: 5.125 kB / 1.119 GB, free: 6.211 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008368/0.8535, allocations: 232.2 kB / 1.119 GB, free: 6.023 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-05/0.8536, allocations: 26.52 kB / 1.119 GB, free: 6.02 MB / 0.8731 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.000659/0.8542, allocations: 366.3 kB / 1.119 GB, free: 5.898 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.8544, allocations: 121.6 kB / 1.12 GB, free: 5.816 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003757/0.8547, allocations: 145.2 kB / 1.12 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.8548, allocations: 3.422 kB / 1.12 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.8548, allocations: 0 / 1.12 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.8548, allocations: 0.8438 kB / 1.12 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009217/0.8557, allocations: 0.6801 MB / 1.12 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/0.8557, allocations: 4.688 kB / 1.12 GB, free: 5.387 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.168e-05/0.8558, allocations: 11.48 kB / 1.12 GB, free: 5.383 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.8558, allocations: 2.047 kB / 1.12 GB, free: 5.383 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.8558, allocations: 3.578 kB / 1.12 GB, free: 5.383 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.8558, allocations: 1.219 kB / 1.12 GB, free: 5.383 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.8558, allocations: 0 / 1.12 GB, free: 5.383 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.8569, allocations: 1.06 MB / 1.121 GB, free: 5.191 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/0.8571, allocations: 202.5 kB / 1.122 GB, free: 5.008 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.162e-05/0.8572, allocations: 2.703 kB / 1.122 GB, free: 5.008 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.8574, allocations: 9.797 kB / 1.122 GB, free: 5.004 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.8575, allocations: 4.328 kB / 1.122 GB, free: 5.004 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.255e-05/0.8575, allocations: 13.17 kB / 1.122 GB, free: 5.004 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001479/0.859, allocations: 1.102 MB / 1.123 GB, free: 4.672 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.693e-06/0.859, allocations: 0 / 1.123 GB, free: 4.672 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001876/0.8609, allocations: 443.2 kB / 1.123 GB, free: 4.598 MB / 0.8731 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.003086/0.864, allocations: 1.981 MB / 1.125 GB, free: 3.781 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002814/0.8668, allocations: 2.646 MB / 1.128 GB, free: 2.789 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.8668, allocations: 4.062 kB / 1.128 GB, free: 2.785 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003447/0.8672, allocations: 343.6 kB / 1.128 GB, free: 2.773 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005974/0.8678, allocations: 46.27 kB / 1.128 GB, free: 2.73 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3287/1.196, allocations: 36.38 MB / 1.164 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007939/1.197, allocations: 1.15 MB / 1.165 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002246/1.198, allocations: 38.66 kB / 1.165 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004583/1.198, allocations: 429.4 kB / 1.165 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of SimCode: time 7.61e-07/1.198, allocations: 4 kB / 1.165 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08365/1.282, allocations: 60.29 MB / 1.224 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/12.53, allocations: 9.812 kB / 1.224 GB, free: 1.582 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)