Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.005345/0.005345, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001144/0.001144, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002043/0.002043, allocations: 286.1 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.914/0.914, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 95.83 kB / 0.6815 GB, free: 15.43 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.142, allocations: 86.97 MB / 0.7664 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.00159/0.1436, allocations: 0.5754 MB / 0.767 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.1448, allocations: 0.9953 MB / 0.768 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.734e-05/0.1448, allocations: 0 / 0.768 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.1449, allocations: 3.938 kB / 0.768 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006784/0.1456, allocations: 99.78 kB / 0.7681 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.407e-05/0.1456, allocations: 4 kB / 0.7681 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.416e-05/0.1457, allocations: 11.97 kB / 0.7681 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.83e-05/0.1457, allocations: 0 / 0.7681 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.232e-05/0.1457, allocations: 8 kB / 0.7681 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.1459, allocations: 36.55 kB / 0.7681 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.428e-06/0.1459, allocations: 0 / 0.7681 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.1461, allocations: 83.91 kB / 0.7682 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.626e-06/0.1461, allocations: 3.938 kB / 0.7682 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.1462, allocations: 8 kB / 0.7682 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.1463, allocations: 67.92 kB / 0.7683 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.1463, allocations: 0 / 0.7683 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1463, allocations: 0 / 0.7683 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.1463, allocations: 3.984 kB / 0.7683 GB, free: 6.469 MB / 0.5606 GB 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.0002879/0.1466, allocations: 341.8 kB / 0.7686 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.1467, allocations: 8.031 kB / 0.7686 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.724e-05/0.1467, allocations: 0.9375 kB / 0.7686 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.1468, allocations: 164.4 kB / 0.7688 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.198e-06/0.1468, allocations: 384 / 0.7688 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.131e-06/0.1469, allocations: 4.375 kB / 0.7688 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.06e-05/0.1469, allocations: 33.77 kB / 0.7688 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.1469, allocations: 0 / 0.7688 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.147, allocations: 7.984 kB / 0.7688 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.147, allocations: 0 / 0.7688 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.521e-05/0.147, allocations: 3.938 kB / 0.7688 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.1474, allocations: 464.6 kB / 0.7693 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.487e-05/0.1474, allocations: 177.1 kB / 0.7694 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.334e-05/0.1475, allocations: 80.14 kB / 0.7695 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.1475, allocations: 79.27 kB / 0.7696 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/0.1476, allocations: 105.8 kB / 0.7697 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.493e-06/0.1476, allocations: 0 / 0.7697 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.518e-05/0.1476, allocations: 33.7 kB / 0.7697 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.1477, allocations: 130.7 kB / 0.7698 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.779e-05/0.1478, allocations: 97.86 kB / 0.7699 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.1478, allocations: 25.7 kB / 0.77 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.188e-05/0.1478, allocations: 80.14 kB / 0.77 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.1478, allocations: 4.516 kB / 0.77 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.1479, allocations: 9.719 kB / 0.77 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.148, allocations: 330.7 kB / 0.7704 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.044e-05/0.148, allocations: 4 kB / 0.7704 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.77e-06/0.148, allocations: 0 / 0.7704 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.347e-05/0.148, allocations: 4.859 kB / 0.7704 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.148, allocations: 4 kB / 0.7704 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.979e-05/0.1481, allocations: 37.61 kB / 0.7704 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1482, allocations: 6.344 kB / 0.7704 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.1482, allocations: 0 / 0.7704 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1482, allocations: 4 kB / 0.7704 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.537e-05/0.1482, allocations: 4.094 kB / 0.7704 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1482, allocations: 3.984 kB / 0.7704 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.483e-05/0.1482, allocations: 3.938 kB / 0.7704 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.1483, allocations: 3.938 kB / 0.7704 GB, free: 4.016 MB / 0.5606 GB 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 8.388e-05/0.1483, allocations: 189.7 kB / 0.7706 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.184e-05/0.1484, allocations: 105 kB / 0.7707 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.28e-05/0.1484, allocations: 104.1 kB / 0.7708 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.619e-05/0.1485, allocations: 188.2 kB / 0.771 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.116e-05/0.1486, allocations: 184.3 kB / 0.7712 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.702e-05/0.1486, allocations: 184.2 kB / 0.7713 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.1488, allocations: 405.2 kB / 0.7717 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.882e-05/0.1489, allocations: 105 kB / 0.7718 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.754e-05/0.1489, allocations: 108.9 kB / 0.7719 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.503e-05/0.149, allocations: 176.3 kB / 0.7721 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.146e-05/0.149, allocations: 184.2 kB / 0.7723 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-05/0.1491, allocations: 180.3 kB / 0.7725 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.712e-05/0.1492, allocations: 180.2 kB / 0.7726 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.1493, allocations: 311.7 kB / 0.7729 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.1493, allocations: 182 kB / 0.7731 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.446e-05/0.1494, allocations: 184.2 kB / 0.7733 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.725e-05/0.1495, allocations: 105 kB / 0.7734 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.1496, allocations: 180.2 kB / 0.7735 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-05/0.1496, allocations: 109 kB / 0.7736 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.797e-05/0.1496, allocations: 83.28 kB / 0.7737 GB, free: 432 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1496, allocations: 0 / 0.7737 GB, free: 432 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002509/0.1499, allocations: 27.92 kB / 0.7738 GB, free: 404 kB / 0.5606 GB 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.0003258/0.1502, allocations: 226.2 kB / 0.774 GB, free: 172 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 5.655e-05/0.1503, allocations: 7.938 kB / 0.774 GB, free: 164 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1503, allocations: 0 / 0.774 GB, free: 164 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.1503, allocations: 0 / 0.774 GB, free: 164 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2712/0.4215, allocations: 464.7 kB / 0.7744 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003733/0.4219, allocations: 193.9 kB / 0.7746 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.721e-05/0.422, allocations: 0.6735 MB / 0.7753 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.714e-05/0.4221, allocations: 6.188 kB / 0.7753 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.4221, allocations: 12.17 kB / 0.7753 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of SimCode: time 6.92e-07/0.4221, allocations: 0.875 kB / 0.7753 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of Templates: time 0.002733/0.4248, allocations: 0.6765 MB / 0.7759 GB, free: 14.52 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)