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.001147/0.001147, allocations: 111.3 kB / 16.41 MB, free: 6.48 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.001154/0.001154, allocations: 193.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.246/1.246, 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.6679/0.6679, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 64.55 kB / 0.5577 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1196, 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.001698/0.1213, allocations: 0.5536 MB / 0.6327 GB, free: 3.824 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.1225, allocations: 1.003 MB / 0.6337 GB, free: 2.805 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.147e-05/0.1226, allocations: 0 / 0.6337 GB, free: 2.805 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.169e-05/0.1226, allocations: 0 / 0.6337 GB, free: 2.805 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006803/0.1233, allocations: 95.77 kB / 0.6337 GB, free: 2.711 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.716e-05/0.1234, allocations: 11.94 kB / 0.6338 GB, free: 2.699 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 3.619e-05/0.1234, allocations: 7.938 kB / 0.6338 GB, free: 2.691 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.954e-05/0.1234, allocations: 7.984 kB / 0.6338 GB, free: 2.684 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.527e-05/0.1235, allocations: 3.984 kB / 0.6338 GB, free: 2.68 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.1237, allocations: 30.36 kB / 0.6338 GB, free: 2.652 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.937e-06/0.1237, allocations: 8 kB / 0.6338 GB, free: 2.645 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.1238, allocations: 75.94 kB / 0.6339 GB, free: 2.57 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.1239, allocations: 7.984 kB / 0.6339 GB, free: 2.562 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.635e-05/0.1239, allocations: 3.938 kB / 0.6339 GB, free: 2.559 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.124, allocations: 75.84 kB / 0.634 GB, free: 2.484 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.124, allocations: 4 kB / 0.634 GB, free: 2.48 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1241, allocations: 0 / 0.634 GB, free: 2.48 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.1241, allocations: 0 / 0.634 GB, free: 2.48 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.0002904/0.1244, allocations: 323.6 kB / 0.6343 GB, free: 2.117 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.1244, allocations: 8.031 kB / 0.6343 GB, free: 2.109 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.376e-05/0.1244, allocations: 4.938 kB / 0.6343 GB, free: 2.105 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.1245, allocations: 172.3 kB / 0.6345 GB, free: 1.898 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-06/0.1246, allocations: 4.375 kB / 0.6345 GB, free: 1.895 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.1246, allocations: 384 / 0.6345 GB, free: 1.895 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.485e-05/0.1247, allocations: 33.83 kB / 0.6345 GB, free: 1.855 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1247, allocations: 0 / 0.6345 GB, free: 1.855 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.1247, allocations: 0 / 0.6345 GB, free: 1.855 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.1247, allocations: 3.938 kB / 0.6345 GB, free: 1.852 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.402e-05/0.1247, allocations: 0 / 0.6345 GB, free: 1.852 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/0.1251, allocations: 476.5 kB / 0.635 GB, free: 1.316 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.378e-05/0.1251, allocations: 169.1 kB / 0.6351 GB, free: 1.141 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.423e-05/0.1252, allocations: 80.14 kB / 0.6352 GB, free: 1.059 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.1252, allocations: 79.22 kB / 0.6353 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.1252, allocations: 117.8 kB / 0.6354 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.1253, allocations: 0 / 0.6354 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 6.908e-05/0.1253, allocations: 25.7 kB / 0.6354 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.1254, allocations: 130.6 kB / 0.6355 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.679e-05/0.1255, allocations: 109.8 kB / 0.6356 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.1255, allocations: 25.7 kB / 0.6357 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.786e-05/0.1255, allocations: 80.14 kB / 0.6357 GB, free: 464 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.1255, allocations: 4 kB / 0.6357 GB, free: 460 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.522e-05/0.1256, allocations: 9.719 kB / 0.6357 GB, free: 444 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.076e-05/0.1257, allocations: 318.8 kB / 0.636 GB, free: 116 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.815e-06/0.1257, allocations: 0 / 0.636 GB, free: 116 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-06/0.1257, allocations: 0 / 0.636 GB, free: 116 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.24e-05/0.1257, allocations: 16.84 kB / 0.6361 GB, free: 96 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1257, allocations: 0 / 0.6361 GB, free: 96 kB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.942e-05/0.1258, allocations: 33.64 kB / 0.6361 GB, free: 56 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.1258, allocations: 12.09 kB / 0.6361 GB, free: 44 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.1258, allocations: 0 / 0.6361 GB, free: 44 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.1259, allocations: 0 / 0.6361 GB, free: 44 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.628e-05/0.1259, allocations: 4 kB / 0.6361 GB, free: 40 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.1259, allocations: 0 / 0.6361 GB, free: 40 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.238e-05/0.1259, allocations: 0 / 0.6361 GB, free: 40 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.1259, allocations: 0 / 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.469e-05/0.126, allocations: 196.5 kB / 0.6363 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.313e-05/0.1261, allocations: 105 kB / 0.6364 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.942e-05/0.1261, allocations: 112 kB / 0.6365 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-05/0.1262, allocations: 180.3 kB / 0.6367 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.037e-05/0.1262, allocations: 176.3 kB / 0.6368 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-05/0.1263, allocations: 184.2 kB / 0.637 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.1265, allocations: 409.2 kB / 0.6374 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-05/0.1266, allocations: 104.9 kB / 0.6375 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.667e-05/0.1266, allocations: 108.9 kB / 0.6376 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.187e-05/0.1267, allocations: 180.5 kB / 0.6378 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.717e-05/0.1267, allocations: 184.2 kB / 0.638 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.653e-05/0.1268, allocations: 180.3 kB / 0.6381 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.506e-05/0.1268, allocations: 184.2 kB / 0.6383 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.127, allocations: 315.6 kB / 0.6386 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.01e-05/0.127, allocations: 178.1 kB / 0.6388 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.537e-05/0.1271, allocations: 180.3 kB / 0.639 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.871e-05/0.1272, allocations: 112.9 kB / 0.6391 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.1272, allocations: 180.3 kB / 0.6392 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.1273, allocations: 104.9 kB / 0.6393 GB, free: 12.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.649e-05/0.1273, allocations: 83.22 kB / 0.6394 GB, free: 12.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1273, allocations: 0 / 0.6394 GB, free: 12.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.1276, allocations: 23.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.0003078/0.1279, allocations: 225.8 kB / 0.6397 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.336e-05/0.128, allocations: 4 kB / 0.6397 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.128, allocations: 0 / 0.6397 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.226e-06/0.128, allocations: 3.984 kB / 0.6397 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.1283, allocations: 464.3 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.0002989/0.1286, allocations: 200.2 kB / 0.6403 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.1288, allocations: 0.669 MB / 0.6409 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.269e-05/0.1289, allocations: 4.328 kB / 0.6409 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.261e-05/0.1289, allocations: 7.438 kB / 0.641 GB, free: 10.79 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1289, allocations: 0 / 0.641 GB, free: 10.79 MB / 494.1 MB Notification: Performance of Templates: time 0.002486/0.1314, allocations: 0.691 MB / 0.6416 GB, free: 10.14 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)