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.001268/0.001268, allocations: 118.4 kB / 17.1 MB, free: 6.008 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.001349/0.001349, allocations: 189.6 kB / 18.02 MB, free: 5.094 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.291/1.291, allocations: 222.9 MB / 241.7 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.7093/0.7093, allocations: 115.3 MB / 407.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 66.8 kB / 0.5584 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1349, allocations: 76.18 MB / 0.6328 GB, free: 4.375 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001725/0.1366, allocations: 0.5478 MB / 0.6333 GB, free: 3.828 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.1379, allocations: 0.9996 MB / 0.6343 GB, free: 2.812 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.01e-05/0.138, allocations: 0 / 0.6343 GB, free: 2.812 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.349e-05/0.138, allocations: 0 / 0.6343 GB, free: 2.812 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000661/0.1387, allocations: 91.78 kB / 0.6344 GB, free: 2.723 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.368e-05/0.1387, allocations: 15.94 kB / 0.6344 GB, free: 2.707 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.359e-05/0.1388, allocations: 15.91 kB / 0.6344 GB, free: 2.691 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.052e-05/0.1388, allocations: 0 / 0.6344 GB, free: 2.691 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.619e-05/0.1388, allocations: 4 kB / 0.6344 GB, free: 2.688 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.139, allocations: 31.97 kB / 0.6345 GB, free: 2.656 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.398e-06/0.1391, allocations: 0 / 0.6345 GB, free: 2.656 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.1392, allocations: 87.91 kB / 0.6346 GB, free: 2.57 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.103e-06/0.1392, allocations: 0 / 0.6346 GB, free: 2.57 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.739e-05/0.1393, allocations: 3.938 kB / 0.6346 GB, free: 2.566 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.1394, allocations: 75.84 kB / 0.6346 GB, free: 2.492 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1394, allocations: 4 kB / 0.6346 GB, free: 2.488 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1394, allocations: 0 / 0.6346 GB, free: 2.488 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1394, allocations: 0 / 0.6346 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.0002973/0.1397, allocations: 327.6 kB / 0.6349 GB, free: 2.121 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1398, allocations: 12.03 kB / 0.635 GB, free: 2.109 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.1398, allocations: 0.9375 kB / 0.635 GB, free: 2.109 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.764e-05/0.1399, allocations: 164.3 kB / 0.6351 GB, free: 1.91 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.689e-06/0.14, allocations: 4.312 kB / 0.6351 GB, free: 1.906 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.392e-06/0.14, allocations: 384 / 0.6351 GB, free: 1.906 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.349e-05/0.14, allocations: 49.8 kB / 0.6352 GB, free: 1.852 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.1401, allocations: 0 / 0.6352 GB, free: 1.852 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.1401, allocations: 0 / 0.6352 GB, free: 1.852 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1401, allocations: 3.938 kB / 0.6352 GB, free: 1.848 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.665e-05/0.1401, allocations: 4 kB / 0.6352 GB, free: 1.844 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.1405, allocations: 464.5 kB / 0.6356 GB, free: 1.32 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.842e-05/0.1406, allocations: 177.1 kB / 0.6358 GB, free: 1.137 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.822e-05/0.1406, allocations: 80.14 kB / 0.6359 GB, free: 1.055 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.1406, allocations: 75.28 kB / 0.6359 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/0.1407, allocations: 105.8 kB / 0.636 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.1407, allocations: 0 / 0.636 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 7.121e-05/0.1408, allocations: 33.64 kB / 0.6361 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.1408, allocations: 59.39 kB / 0.6361 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.491e-05/0.1409, allocations: 97.86 kB / 0.6362 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.988e-06/0.1409, allocations: 25.7 kB / 0.6362 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.573e-05/0.141, allocations: 84.14 kB / 0.6363 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.141, allocations: 0 / 0.6363 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.533e-05/0.141, allocations: 13.72 kB / 0.6363 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1411, allocations: 314.8 kB / 0.6366 GB, free: 204 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.168e-06/0.1411, allocations: 0 / 0.6366 GB, free: 204 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.139e-06/0.1411, allocations: 4 kB / 0.6366 GB, free: 200 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.777e-05/0.1412, allocations: 12.8 kB / 0.6367 GB, free: 184 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1412, allocations: 0 / 0.6367 GB, free: 184 kB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.776e-05/0.1413, allocations: 41.64 kB / 0.6367 GB, free: 136 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1413, allocations: 4 kB / 0.6367 GB, free: 132 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1413, allocations: 0 / 0.6367 GB, free: 132 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.1413, allocations: 0 / 0.6367 GB, free: 132 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.57e-05/0.1414, allocations: 3.984 kB / 0.6367 GB, free: 128 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1414, allocations: 0 / 0.6367 GB, free: 128 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.355e-05/0.1414, allocations: 4.094 kB / 0.6367 GB, free: 124 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.1414, allocations: 4 kB / 0.6367 GB, free: 120 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 0.0001008/0.1415, allocations: 188.6 kB / 0.6369 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.457e-05/0.1416, allocations: 101 kB / 0.637 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.021e-05/0.1416, allocations: 112 kB / 0.6371 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.386e-05/0.1417, allocations: 180.2 kB / 0.6373 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.02e-05/0.1417, allocations: 109 kB / 0.6374 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.1418, allocations: 182 kB / 0.6375 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.697e-05/0.1419, allocations: 180.3 kB / 0.6377 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.724e-05/0.142, allocations: 104.9 kB / 0.6378 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/0.1421, allocations: 188.1 kB / 0.638 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.865e-05/0.1422, allocations: 263.6 kB / 0.6382 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001468/0.1423, allocations: 387 kB / 0.6386 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.505e-05/0.1423, allocations: 108.9 kB / 0.6387 GB, free: 13.94 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.827e-05/0.1424, allocations: 87.27 kB / 0.6388 GB, free: 13.85 MB / 494.1 MB Notification: Performance of Backend: time 2.91e-07/0.1424, allocations: 0 / 0.6388 GB, free: 13.85 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000524/0.1429, allocations: 142.9 kB / 0.6389 GB, free: 13.71 MB / 494.1 MB Notification: Performance of SimCode: time 0.0004225/0.1434, allocations: 0.8311 MB / 0.6397 GB, free: 12.83 MB / 494.1 MB Notification: Performance of Templates: time 0.002728/0.1461, allocations: 0.7093 MB / 0.6404 GB, free: 12.16 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)