Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009854/0.0009854, allocations: 112.3 kB / 16.41 MB, free: 6.492 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.0009643/0.0009642, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.254/1.254, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6656/0.6656, allocations: 115.3 MB / 406.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 67.53 kB / 0.5577 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1133, allocations: 76.18 MB / 0.6321 GB, free: 4.375 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.00146/0.1148, allocations: 0.5499 MB / 0.6327 GB, free: 3.828 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.1159, allocations: 0.9996 MB / 0.6337 GB, free: 2.812 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.642e-05/0.116, allocations: 0 / 0.6337 GB, free: 2.812 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.91e-05/0.116, allocations: 4 kB / 0.6337 GB, free: 2.809 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006319/0.1166, allocations: 99.66 kB / 0.6338 GB, free: 2.711 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.149e-05/0.1167, allocations: 11.94 kB / 0.6338 GB, free: 2.699 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.152e-05/0.1167, allocations: 7.984 kB / 0.6338 GB, free: 2.691 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.853e-05/0.1168, allocations: 0 / 0.6338 GB, free: 2.691 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.618e-05/0.1168, allocations: 4 kB / 0.6338 GB, free: 2.688 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/0.117, allocations: 31.97 kB / 0.6338 GB, free: 2.656 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.117, allocations: 0 / 0.6338 GB, free: 2.656 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.1172, allocations: 83.91 kB / 0.6339 GB, free: 2.574 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.163e-06/0.1172, allocations: 0 / 0.6339 GB, free: 2.574 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.752e-05/0.1172, allocations: 11.92 kB / 0.6339 GB, free: 2.562 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.1174, allocations: 75.86 kB / 0.634 GB, free: 2.488 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1174, allocations: 0 / 0.634 GB, free: 2.488 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1174, allocations: 0 / 0.634 GB, free: 2.488 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1174, allocations: 0 / 0.634 GB, free: 2.488 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002771/0.1177, allocations: 327.6 kB / 0.6343 GB, free: 2.121 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.1177, allocations: 12.03 kB / 0.6343 GB, free: 2.109 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.42e-05/0.1177, allocations: 0.9375 kB / 0.6343 GB, free: 2.109 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.1178, allocations: 168.3 kB / 0.6345 GB, free: 1.906 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.1179, allocations: 8.375 kB / 0.6345 GB, free: 1.898 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-06/0.1179, allocations: 384 / 0.6345 GB, free: 1.898 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.725e-05/0.1179, allocations: 29.83 kB / 0.6345 GB, free: 1.863 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.118, allocations: 3.938 kB / 0.6345 GB, free: 1.859 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.118, allocations: 0 / 0.6345 GB, free: 1.859 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.118, allocations: 3.984 kB / 0.6345 GB, free: 1.855 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.446e-05/0.118, allocations: 4 kB / 0.6345 GB, free: 1.852 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.1184, allocations: 468.5 kB / 0.6349 GB, free: 1.324 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.951e-05/0.1184, allocations: 173.1 kB / 0.6351 GB, free: 1.145 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.511e-05/0.1185, allocations: 80.14 kB / 0.6352 GB, free: 1.062 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.1185, allocations: 79.28 kB / 0.6353 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.1185, allocations: 109.8 kB / 0.6354 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.1185, allocations: 4 kB / 0.6354 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 6.268e-05/0.1186, allocations: 29.7 kB / 0.6354 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.1187, allocations: 130.6 kB / 0.6355 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.579e-05/0.1188, allocations: 101.8 kB / 0.6356 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.1188, allocations: 25.7 kB / 0.6356 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.941e-05/0.1188, allocations: 80.14 kB / 0.6357 GB, free: 476 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.1188, allocations: 0 / 0.6357 GB, free: 476 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.1188, allocations: 13.72 kB / 0.6357 GB, free: 456 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.119, allocations: 322.8 kB / 0.636 GB, free: 124 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.256e-06/0.119, allocations: 0 / 0.636 GB, free: 124 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.531e-06/0.119, allocations: 4 kB / 0.636 GB, free: 120 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.238e-05/0.119, allocations: 8.859 kB / 0.6361 GB, free: 108 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.119, allocations: 3.938 kB / 0.6361 GB, free: 104 kB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.412e-05/0.1191, allocations: 37.64 kB / 0.6361 GB, free: 60 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.1191, allocations: 4 kB / 0.6361 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1191, allocations: 0 / 0.6361 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/0.1191, allocations: 4.094 kB / 0.6361 GB, free: 52 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.555e-05/0.1192, allocations: 4 kB / 0.6361 GB, free: 48 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1192, allocations: 3.984 kB / 0.6361 GB, free: 44 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.191e-05/0.1192, allocations: 0 / 0.6361 GB, free: 44 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.1192, allocations: 3.984 kB / 0.6361 GB, free: 40 kB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 9.554e-05/0.1193, allocations: 188.6 kB / 0.6363 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-05/0.1194, allocations: 105 kB / 0.6364 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.95e-05/0.1194, allocations: 116 kB / 0.6365 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-05/0.1195, allocations: 176.5 kB / 0.6367 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.544e-05/0.1196, allocations: 180.2 kB / 0.6368 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.786e-05/0.1196, allocations: 188.2 kB / 0.637 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.1199, allocations: 405.1 kB / 0.6374 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.901e-05/0.12, allocations: 108.9 kB / 0.6375 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.141e-05/0.1201, allocations: 109 kB / 0.6376 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-05/0.1201, allocations: 180.5 kB / 0.6378 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.878e-05/0.1202, allocations: 180.2 kB / 0.638 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.218e-05/0.1203, allocations: 180.3 kB / 0.6381 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.454e-05/0.1204, allocations: 192.2 kB / 0.6383 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.1206, allocations: 311.6 kB / 0.6386 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.1207, allocations: 178.1 kB / 0.6388 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.1208, allocations: 184.2 kB / 0.639 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.121, allocations: 104.9 kB / 0.6391 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.773e-05/0.121, allocations: 180.3 kB / 0.6392 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-05/0.1211, allocations: 108.9 kB / 0.6393 GB, free: 12.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.666e-05/0.1212, allocations: 79.28 kB / 0.6394 GB, free: 12.44 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1212, allocations: 0 / 0.6394 GB, free: 12.44 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000461/0.1217, allocations: 27.98 kB / 0.6394 GB, free: 12.41 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0004292/0.1221, allocations: 233.2 kB / 0.6397 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.791e-05/0.1222, allocations: 4 kB / 0.6397 GB, free: 12.17 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1222, allocations: 0 / 0.6397 GB, free: 12.17 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.1222, allocations: 0 / 0.6397 GB, free: 12.17 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005253/0.1227, allocations: 457.2 kB / 0.6401 GB, free: 11.72 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004333/0.1232, allocations: 204.3 kB / 0.6403 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.1235, allocations: 0.6729 MB / 0.641 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.186e-05/0.1235, allocations: 3.984 kB / 0.641 GB, free: 10.79 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.582e-05/0.1236, allocations: 11.44 kB / 0.641 GB, free: 10.78 MB / 494.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1236, allocations: 0 / 0.641 GB, free: 10.78 MB / 494.1 MB Notification: Performance of Templates: time 0.003618/0.1272, allocations: 0.6791 MB / 0.6416 GB, free: 10.15 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)