Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.576/4.576, allocations: 0.5623 GB / 0.577 GB, free: 3.363 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002388/0.002388, allocations: 356.4 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.795/3.795, allocations: 410.7 MB / 1.112 GB, free: 5.98 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001805/0.001805, allocations: 186.3 kB / 1.225 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004751/0.0004752, allocations: 20 kB / 1.348 GB, free: 8.25 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5596/0.5601, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001615/0.5618, allocations: 1.422 MB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00512/0.5669, allocations: 3.904 MB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.095e-05/0.5671, allocations: 3.938 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000962/0.568, allocations: 311.5 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.5682, allocations: 61.47 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00202/0.5702, allocations: 0.7451 MB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.5704, allocations: 160.1 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.967e-05/0.5705, allocations: 15.66 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 6.622e-05/0.5706, allocations: 47.78 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.5708, allocations: 183.6 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.633e-05/0.5709, allocations: 16.67 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001902/0.5728, allocations: 1.3 MB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001722/0.573, allocations: 272.1 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.813e-05/0.5731, allocations: 121.2 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.5743, allocations: 1.027 MB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.5743, allocations: 0 / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.172e-06/0.5743, allocations: 0 / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.286e-05/0.5743, allocations: 0 / 1.47 GB, free: 274.8 MB / 0.8542 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.008765/0.5831, allocations: 1.228 MB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.5832, allocations: 11.62 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003733/0.5836, allocations: 91.88 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004613/0.584, allocations: 412.7 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.5841, allocations: 6.203 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.024e-05/0.5841, allocations: 4 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000414/0.5846, allocations: 388.9 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.763e-06/0.5846, allocations: 0 / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.5846, allocations: 5.25 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.643e-06/0.5846, allocations: 0 / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004266/0.5851, allocations: 436.8 kB / 1.473 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005601/0.5856, allocations: 0.6619 MB / 1.473 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004947/0.5861, allocations: 0.5581 MB / 1.474 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003127/0.5865, allocations: 337.7 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008188/0.5873, allocations: 1.04 MB / 1.475 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003929/0.5877, allocations: 406.7 kB / 1.476 GB, free: 268.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 2.514e-06/0.5877, allocations: 0.8125 kB / 1.476 GB, free: 268.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.001298/0.589, allocations: 1.292 MB / 1.477 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.5891, allocations: 85.09 kB / 1.477 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.5904, allocations: 1.269 MB / 1.478 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.063e-05/0.5905, allocations: 33.7 kB / 1.478 GB, free: 266.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.5907, allocations: 277.9 kB / 1.478 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/0.5907, allocations: 28.28 kB / 1.478 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.5908, allocations: 8 kB / 1.478 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.5909, allocations: 428.8 kB / 1.479 GB, free: 265.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/0.5922, allocations: 1.355 MB / 1.48 GB, free: 264 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/0.5935, allocations: 1.502 MB / 1.482 GB, free: 262.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/0.595, allocations: 1.892 MB / 1.483 GB, free: 260.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.289e-06/0.5951, allocations: 4.969 kB / 1.483 GB, free: 260.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004353/0.5994, allocations: 3.948 MB / 1.487 GB, free: 256.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.5995, allocations: 4 kB / 1.487 GB, free: 256.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.5995, allocations: 4 kB / 1.487 GB, free: 256.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.5995, allocations: 0 / 1.487 GB, free: 256.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.5997, allocations: 19.92 kB / 1.487 GB, free: 256.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.814e-06/0.5997, allocations: 0.9688 kB / 1.487 GB, free: 256.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005131/0.6002, allocations: 228.3 kB / 1.488 GB, free: 256.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.757e-05/0.6003, allocations: 32.52 kB / 1.488 GB, free: 256.3 MB / 0.8542 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 (16): * Single equations (assignments): 13 * Array equations: 2 * 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.0003166/0.6006, allocations: 246.4 kB / 1.488 GB, free: 256.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.913e-05/0.6007, allocations: 72.56 kB / 1.488 GB, free: 256 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003165/0.601, allocations: 82.31 kB / 1.488 GB, free: 255.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.053e-06/0.601, allocations: 4 kB / 1.488 GB, free: 255.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.409e-06/0.6011, allocations: 0.5625 kB / 1.488 GB, free: 255.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.546e-06/0.6011, allocations: 0 / 1.488 GB, free: 255.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004294/0.6015, allocations: 0.5138 MB / 1.489 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.492e-06/0.6015, allocations: 4 kB / 1.489 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.55e-05/0.6016, allocations: 11.98 kB / 1.489 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.755e-06/0.6016, allocations: 1 kB / 1.489 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.6017, allocations: 4 kB / 1.489 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.803e-06/0.6017, allocations: 0 / 1.489 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.058e-06/0.6017, allocations: 0.5 kB / 1.489 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009272/0.6026, allocations: 1.018 MB / 1.49 GB, free: 254.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.6028, allocations: 155.8 kB / 1.49 GB, free: 254.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.654e-05/0.6029, allocations: 7.984 kB / 1.49 GB, free: 254.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.6031, allocations: 5.594 kB / 1.49 GB, free: 254.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.6032, allocations: 7.984 kB / 1.49 GB, free: 254.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.6032, allocations: 12.52 kB / 1.49 GB, free: 254.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0008368/0.6041, allocations: 0.7073 MB / 1.49 GB, free: 253.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.46e-07/0.6041, allocations: 0 / 1.49 GB, free: 253.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001051/0.6051, allocations: 403.8 kB / 1.491 GB, free: 253 MB / 0.8542 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.001346/0.6065, allocations: 489.5 kB / 1.491 GB, free: 252.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002181/0.6087, allocations: 2.489 MB / 1.494 GB, free: 250.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.6087, allocations: 0 / 1.494 GB, free: 250.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003304/0.6091, allocations: 340.3 kB / 1.494 GB, free: 249.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.6095, allocations: 57.39 kB / 1.494 GB, free: 249.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.6117, allocations: 1.975 MB / 1.496 GB, free: 247.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.6122, allocations: 1.005 MB / 1.497 GB, free: 246.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002314/0.6124, allocations: 38.33 kB / 1.497 GB, free: 246.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.6126, allocations: 23.42 kB / 1.497 GB, free: 246.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.352e-06/0.6126, allocations: 1.562 kB / 1.497 GB, free: 246.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.02043/0.633, allocations: 9.551 MB / 1.506 GB, free: 237.4 MB / 0.8542 GB