Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000963/0.0009631, allocations: 98.03 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.006454/0.006454, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.4/1.4, allocations: 205.4 MB / 222.5 MB, free: 5.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.515/1.515, allocations: 252 MB / 0.5105 GB, free: 4.68 MB / 414.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.000517/0.000517, allocations: 20.33 kB / 0.6249 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4369/0.4375, allocations: 106.3 MB / 0.7288 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002342/0.4399, allocations: 1.461 MB / 0.7302 GB, free: 9.883 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006405/0.4463, allocations: 4.357 MB / 0.7344 GB, free: 5.512 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.4465, allocations: 0 / 0.7344 GB, free: 5.512 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.4477, allocations: 354.6 kB / 0.7348 GB, free: 5.164 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.4479, allocations: 55.75 kB / 0.7348 GB, free: 5.109 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002308/0.4502, allocations: 0.7673 MB / 0.7356 GB, free: 4.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003407/0.4505, allocations: 191.3 kB / 0.7358 GB, free: 4.152 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.859e-05/0.4506, allocations: 5.562 kB / 0.7358 GB, free: 4.145 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.188e-05/0.4507, allocations: 55.78 kB / 0.7358 GB, free: 4.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.451, allocations: 180.8 kB / 0.736 GB, free: 3.914 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.774e-05/0.451, allocations: 12 kB / 0.736 GB, free: 3.902 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002214/0.4533, allocations: 1.396 MB / 0.7374 GB, free: 2.504 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000228/0.4535, allocations: 275.8 kB / 0.7376 GB, free: 2.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002742/0.4538, allocations: 331.8 kB / 0.738 GB, free: 1.898 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002056/0.4559, allocations: 1.539 MB / 0.7395 GB, free: 364 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4559, allocations: 0 / 0.7395 GB, free: 364 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4559, allocations: 3.938 kB / 0.7395 GB, free: 360 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.37e-05/0.4559, allocations: 0 / 0.7395 GB, free: 360 kB / 0.545 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.01069/0.4666, allocations: 1.207 MB / 0.7406 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.4667, allocations: 8.031 kB / 0.7406 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003759/0.467, allocations: 99.58 kB / 0.7407 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000476/0.4675, allocations: 402 kB / 0.7411 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.4676, allocations: 8.375 kB / 0.7411 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.62e-05/0.4676, allocations: 8.359 kB / 0.7411 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004212/0.468, allocations: 395.4 kB / 0.7415 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.4681, allocations: 0 / 0.7415 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.4681, allocations: 0 / 0.7415 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.4681, allocations: 0 / 0.7415 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004818/0.4686, allocations: 443.7 kB / 0.7419 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006445/0.4692, allocations: 0.6535 MB / 0.7426 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005232/0.4698, allocations: 0.5633 MB / 0.7431 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.4701, allocations: 341.7 kB / 0.7435 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/0.4712, allocations: 1.032 MB / 0.7445 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004384/0.4716, allocations: 412.8 kB / 0.7449 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.4717, allocations: 0 / 0.7449 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001672/0.4733, allocations: 1.296 MB / 0.7461 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.4735, allocations: 93.16 kB / 0.7462 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/0.4753, allocations: 1.285 MB / 0.7475 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.717e-05/0.4754, allocations: 33.64 kB / 0.7475 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.4756, allocations: 281.4 kB / 0.7478 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.767e-05/0.4757, allocations: 19.75 kB / 0.7478 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002771/0.476, allocations: 287.6 kB / 0.7481 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.4761, allocations: 318 kB / 0.7484 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.4774, allocations: 1.361 MB / 0.7497 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.4787, allocations: 1.493 MB / 0.7512 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006951/0.4857, allocations: 3.541 MB / 0.7546 GB, free: 248 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.4857, allocations: 0 / 0.7546 GB, free: 248 kB / 0.5606 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004306/0.49, allocations: 3.977 MB / 0.7585 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.49, allocations: 4 kB / 0.7585 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.4901, allocations: 0 / 0.7585 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.4901, allocations: 4 kB / 0.7585 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.4902, allocations: 19.98 kB / 0.7585 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.4902, allocations: 0 / 0.7585 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005273/0.4908, allocations: 228.3 kB / 0.7587 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.722e-05/0.4908, allocations: 19.98 kB / 0.7588 GB, free: 11.95 MB / 0.5762 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.0003322/0.4912, allocations: 253.6 kB / 0.759 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.793e-05/0.4913, allocations: 78.62 kB / 0.7591 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003063/0.4916, allocations: 79.72 kB / 0.7592 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.4916, allocations: 0 / 0.7592 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.4916, allocations: 0 / 0.7592 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.4916, allocations: 4 kB / 0.7592 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004841/0.4921, allocations: 0.5215 MB / 0.7597 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4921, allocations: 0 / 0.7597 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.175e-05/0.4922, allocations: 11.94 kB / 0.7597 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.4922, allocations: 0 / 0.7597 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.4922, allocations: 3.984 kB / 0.7597 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.4922, allocations: 4 kB / 0.7597 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4922, allocations: 3.938 kB / 0.7597 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009453/0.4932, allocations: 0.9978 MB / 0.7607 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.4933, allocations: 167.7 kB / 0.7608 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.054e-05/0.4934, allocations: 4 kB / 0.7608 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.4936, allocations: 0 / 0.7608 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.4936, allocations: 7.984 kB / 0.7608 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.126e-05/0.4937, allocations: 15.92 kB / 0.7608 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007864/0.4944, allocations: 0.7257 MB / 0.7616 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4945, allocations: 0 / 0.7616 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001003/0.4955, allocations: 395.9 kB / 0.7619 GB, free: 8.594 MB / 0.5762 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.0014/0.4969, allocations: 494.7 kB / 0.7624 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002152/0.499, allocations: 2.495 MB / 0.7648 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4991, allocations: 0 / 0.7648 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000326/0.4994, allocations: 339.8 kB / 0.7652 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004911/0.4999, allocations: 57.19 kB / 0.7652 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/0.5025, allocations: 2.082 MB / 0.7673 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006275/0.5031, allocations: 0.9801 MB / 0.7682 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000223/0.5033, allocations: 45.42 kB / 0.7683 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.5035, allocations: 27.42 kB / 0.7683 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of SimCode: time 7.42e-07/0.5035, allocations: 0 / 0.7683 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of Templates: time 0.01751/0.521, allocations: 9.771 MB / 0.7778 GB, free: 8.309 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) Environment - environmentSimulation: