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.001496/0.001496, allocations: 117.3 kB / 17.09 MB, free: 6.012 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.001307/0.001306, allocations: 195 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.394/1.394, 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.7848/0.7848, allocations: 115.3 MB / 407.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 70.27 kB / 0.5584 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1757, allocations: 76.18 MB / 0.6328 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001731/0.1775, allocations: 0.5517 MB / 0.6333 GB, free: 3.848 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.1789, allocations: 0.9996 MB / 0.6343 GB, free: 2.832 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.297e-05/0.1789, allocations: 0 / 0.6343 GB, free: 2.832 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.873e-05/0.1789, allocations: 7.875 kB / 0.6343 GB, free: 2.824 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006943/0.1796, allocations: 91.78 kB / 0.6344 GB, free: 2.734 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.108e-05/0.1797, allocations: 7.984 kB / 0.6344 GB, free: 2.727 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.608e-05/0.1797, allocations: 15.98 kB / 0.6344 GB, free: 2.711 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.309e-05/0.1798, allocations: 0 / 0.6344 GB, free: 2.711 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.996e-05/0.1798, allocations: 4 kB / 0.6344 GB, free: 2.707 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000236/0.1801, allocations: 31.91 kB / 0.6345 GB, free: 2.676 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.557e-06/0.1801, allocations: 0 / 0.6345 GB, free: 2.676 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.1802, allocations: 87.91 kB / 0.6345 GB, free: 2.59 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.238e-06/0.1803, allocations: 0 / 0.6345 GB, free: 2.59 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.088e-05/0.1803, allocations: 7.938 kB / 0.6345 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.1804, allocations: 67.86 kB / 0.6346 GB, free: 2.516 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1805, allocations: 0 / 0.6346 GB, free: 2.516 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1805, allocations: 0 / 0.6346 GB, free: 2.516 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.1805, allocations: 7.984 kB / 0.6346 GB, free: 2.508 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.0003472/0.1808, allocations: 331.6 kB / 0.6349 GB, free: 2.137 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.1809, allocations: 8.031 kB / 0.6349 GB, free: 2.129 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.1809, allocations: 4.938 kB / 0.6349 GB, free: 2.125 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.181, allocations: 164.4 kB / 0.6351 GB, free: 1.926 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.181, allocations: 384 / 0.6351 GB, free: 1.926 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.597e-06/0.1811, allocations: 384 / 0.6351 GB, free: 1.926 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.111e-05/0.1811, allocations: 37.7 kB / 0.6351 GB, free: 1.883 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.1812, allocations: 4 kB / 0.6351 GB, free: 1.879 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.1812, allocations: 11.97 kB / 0.6352 GB, free: 1.867 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.1812, allocations: 0 / 0.6352 GB, free: 1.867 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.771e-05/0.1812, allocations: 0 / 0.6352 GB, free: 1.867 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.1816, allocations: 472.5 kB / 0.6356 GB, free: 1.336 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.721e-05/0.1817, allocations: 169.1 kB / 0.6358 GB, free: 1.16 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.463e-05/0.1818, allocations: 84.14 kB / 0.6358 GB, free: 1.074 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.1818, allocations: 75.28 kB / 0.6359 GB, free: 1 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.1818, allocations: 105.8 kB / 0.636 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.1818, allocations: 3.938 kB / 0.636 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 7.061e-05/0.1819, allocations: 29.7 kB / 0.6361 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.182, allocations: 130.7 kB / 0.6362 GB, free: 0.707 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.027e-05/0.1821, allocations: 101.9 kB / 0.6363 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.1821, allocations: 25.7 kB / 0.6363 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.032e-05/0.1821, allocations: 80.14 kB / 0.6364 GB, free: 496 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.025e-06/0.1821, allocations: 4 kB / 0.6364 GB, free: 492 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.1822, allocations: 13.72 kB / 0.6364 GB, free: 472 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1823, allocations: 322.7 kB / 0.6367 GB, free: 140 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.166e-05/0.1823, allocations: 4 kB / 0.6367 GB, free: 136 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-06/0.1823, allocations: 0 / 0.6367 GB, free: 136 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.407e-05/0.1823, allocations: 8.922 kB / 0.6367 GB, free: 124 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1824, allocations: 4 kB / 0.6367 GB, free: 120 kB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.773e-05/0.1825, allocations: 29.7 kB / 0.6367 GB, free: 84 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.1825, allocations: 4 kB / 0.6368 GB, free: 80 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1825, allocations: 0 / 0.6368 GB, free: 80 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1825, allocations: 4 kB / 0.6368 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.644e-05/0.1825, allocations: 0 / 0.6368 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1825, allocations: 3.984 kB / 0.6368 GB, free: 72 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.428e-05/0.1826, allocations: 7.938 kB / 0.6368 GB, free: 64 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.1826, allocations: 4.031 kB / 0.6368 GB, free: 60 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.0001047/0.1827, allocations: 188.6 kB / 0.6369 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.1827, allocations: 105 kB / 0.637 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.031e-05/0.1828, allocations: 104.1 kB / 0.6371 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.003e-05/0.1828, allocations: 180.2 kB / 0.6373 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-05/0.1829, allocations: 188.2 kB / 0.6375 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-05/0.183, allocations: 188.1 kB / 0.6377 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.1832, allocations: 401.2 kB / 0.6381 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.826e-05/0.1832, allocations: 105 kB / 0.6382 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.426e-05/0.1833, allocations: 104.9 kB / 0.6383 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.956e-05/0.1833, allocations: 184.5 kB / 0.6384 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-05/0.1834, allocations: 184.2 kB / 0.6386 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.413e-05/0.1835, allocations: 184.3 kB / 0.6388 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.989e-05/0.1836, allocations: 184.2 kB / 0.639 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.1837, allocations: 311.6 kB / 0.6393 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.899e-05/0.1838, allocations: 186 kB / 0.6394 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.913e-05/0.1838, allocations: 180.2 kB / 0.6396 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.523e-05/0.1839, allocations: 105 kB / 0.6397 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/0.184, allocations: 180.2 kB / 0.6399 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.755e-05/0.184, allocations: 105 kB / 0.64 GB, free: 12.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.624e-05/0.1841, allocations: 79.28 kB / 0.6401 GB, free: 12.46 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1841, allocations: 4 kB / 0.6401 GB, free: 12.46 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.1844, allocations: 27.92 kB / 0.6401 GB, free: 12.43 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.0003855/0.1847, allocations: 233.2 kB / 0.6403 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.277e-05/0.1848, allocations: 11.94 kB / 0.6403 GB, free: 12.19 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1848, allocations: 64 / 0.6403 GB, free: 12.19 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.1848, allocations: 4 kB / 0.6403 GB, free: 12.19 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.1852, allocations: 455.6 kB / 0.6408 GB, free: 11.74 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003838/0.1856, allocations: 230 kB / 0.641 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.1858, allocations: 0.6729 MB / 0.6416 GB, free: 10.78 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.795e-05/0.1859, allocations: 11.44 kB / 0.6416 GB, free: 10.77 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1859, allocations: 0 / 0.6416 GB, free: 10.77 MB / 494.1 MB Notification: Performance of Templates: time 0.002404/0.1883, allocations: 0.8644 MB / 0.6425 GB, free: 9.91 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)