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/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.599/2.599, allocations: 387.1 MB / 399.7 MB, free: 9.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 172.1 kB / 492.3 MB, free: 0.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.69/1.69, allocations: 221.3 MB / 0.7871 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 95.94 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.049e-05/4.051e-05, allocations: 8 kB / 1.074 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3095, allocations: 142.4 MB / 1.213 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.142/1.452, allocations: 164.2 MB / 1.373 GB, free: 18.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/1.452, allocations: 112.4 kB / 1.373 GB, free: 18.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1012/1.553, allocations: 25.34 MB / 1.398 GB, free: 25.28 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.655e-06/1.553, allocations: 0 / 1.398 GB, free: 25.28 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001082/1.553, allocations: 26.69 kB / 1.398 GB, free: 25.26 MB / 0.8386 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.002943/1.556, allocations: 1.344 MB / 1.399 GB, free: 23.94 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/1.556, allocations: 8.031 kB / 1.399 GB, free: 23.93 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.313e-05/1.556, allocations: 37.61 kB / 1.399 GB, free: 23.89 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004942/1.557, allocations: 158 kB / 1.399 GB, free: 23.73 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/1.558, allocations: 0.6487 MB / 1.4 GB, free: 23.06 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/1.558, allocations: 26.48 kB / 1.4 GB, free: 23.04 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/1.558, allocations: 40.25 kB / 1.4 GB, free: 23.02 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000324/1.559, allocations: 377.6 kB / 1.4 GB, free: 22.64 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/1.559, allocations: 0 / 1.4 GB, free: 22.64 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/1.559, allocations: 7.234 kB / 1.4 GB, free: 22.64 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/1.559, allocations: 3.953 kB / 1.4 GB, free: 22.63 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002903/1.559, allocations: 430.5 kB / 1.401 GB, free: 22.21 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009743/1.56, allocations: 0.9844 MB / 1.402 GB, free: 21.36 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003726/1.56, allocations: 0.5544 MB / 1.402 GB, free: 20.79 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/1.561, allocations: 337 kB / 1.403 GB, free: 20.46 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007828/1.561, allocations: 1.033 MB / 1.404 GB, free: 19.21 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002838/1.562, allocations: 399.3 kB / 1.404 GB, free: 18.82 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/1.562, allocations: 0 / 1.404 GB, free: 18.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.000863/1.563, allocations: 1.03 MB / 1.405 GB, free: 17.79 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/1.563, allocations: 88.41 kB / 1.405 GB, free: 17.69 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/1.564, allocations: 1.619 MB / 1.407 GB, free: 16.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.919e-05/1.564, allocations: 40.77 kB / 1.407 GB, free: 16.28 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003151/1.564, allocations: 0.4902 MB / 1.407 GB, free: 16.02 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/1.564, allocations: 18.98 kB / 1.407 GB, free: 16 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.505e-05/1.565, allocations: 13.25 kB / 1.407 GB, free: 16 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001539/1.565, allocations: 406.7 kB / 1.408 GB, free: 15.63 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001567/1.566, allocations: 1.465 MB / 1.409 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/1.568, allocations: 1.614 MB / 1.411 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001829/1.57, allocations: 1.853 MB / 1.412 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.57, allocations: 0 / 1.412 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004694/1.574, allocations: 4.016 MB / 1.416 GB, free: 8.797 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/1.575, allocations: 4 kB / 1.416 GB, free: 8.793 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.119e-05/1.575, allocations: 24 kB / 1.416 GB, free: 8.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/1.575, allocations: 0 / 1.416 GB, free: 8.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006531/1.575, allocations: 147.5 kB / 1.416 GB, free: 8.629 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/1.575, allocations: 4 kB / 1.416 GB, free: 8.625 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009163/1.576, allocations: 258 kB / 1.417 GB, free: 8.383 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/1.576, allocations: 90.73 kB / 1.417 GB, free: 8.309 MB / 0.8386 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 () * 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.0001399/1.576, allocations: 130.9 kB / 1.417 GB, free: 8.188 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/1.577, allocations: 118 kB / 1.417 GB, free: 8.07 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/1.578, allocations: 1.003 MB / 1.418 GB, free: 7.09 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/1.578, allocations: 4 kB / 1.418 GB, free: 7.086 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/1.578, allocations: 4.031 kB / 1.418 GB, free: 7.082 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.578, allocations: 0 / 1.418 GB, free: 7.082 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006764/1.578, allocations: 0.683 MB / 1.419 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/1.579, allocations: 0 / 1.419 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.103e-05/1.579, allocations: 11.92 kB / 1.419 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/1.579, allocations: 4 kB / 1.419 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/1.579, allocations: 0 / 1.419 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/1.579, allocations: 0 / 1.419 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.579, allocations: 0 / 1.419 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009068/1.58, allocations: 1.074 MB / 1.42 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002078/1.58, allocations: 211.1 kB / 1.42 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.044e-05/1.58, allocations: 0 / 1.42 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003326/1.58, allocations: 4 kB / 1.42 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/1.58, allocations: 10.55 kB / 1.42 GB, free: 5.129 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.093e-05/1.58, allocations: 11.98 kB / 1.42 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001198/1.582, allocations: 1.108 MB / 1.421 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.582, allocations: 0 / 1.421 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001706/1.583, allocations: 0.5198 MB / 1.422 GB, free: 3.676 MB / 0.8386 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) * 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.002642/1.586, allocations: 2.146 MB / 1.424 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002087/1.588, allocations: 2.497 MB / 1.426 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.588, allocations: 0 / 1.426 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002628/1.588, allocations: 330.4 kB / 1.426 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/1.589, allocations: 66.8 kB / 1.427 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003386/1.592, allocations: 2.553 MB / 1.429 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006725/1.593, allocations: 1.179 MB / 1.43 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000389/1.593, allocations: 122.4 kB / 1.43 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004182/1.593, allocations: 478.2 kB / 1.431 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of SimCode: time 5.42e-07/1.593, allocations: 4 kB / 1.431 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04344/1.637, allocations: 23.86 MB / 1.454 GB, free: 3.855 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/1.637, allocations: 230.9 kB / 1.454 GB, free: 3.59 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.031/4.668, allocations: 0 / 1.454 GB, free: 3.59 MB / 0.8698 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/linux/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)