Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004599/0.004599, allocations: 101.5 kB / 15.73 MB, free: 6.039 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.001064/0.001064, allocations: 194.2 kB / 16.68 MB, free: 5.957 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.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8603/0.8603, allocations: 143 MB / 433.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 64.97 kB / 0.5956 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1389, allocations: 82.04 MB / 0.6757 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003319/0.1422, allocations: 1.754 MB / 0.6774 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007523/0.1498, allocations: 5.406 MB / 0.6827 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.1499, allocations: 3.938 kB / 0.6827 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.1511, allocations: 370.4 kB / 0.6831 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.1512, allocations: 55.67 kB / 0.6831 GB, free: 2.691 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/IBPSA/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.003644/0.1549, allocations: 1.492 MB / 0.6846 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002962/0.1552, allocations: 163.3 kB / 0.6847 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.121e-05/0.1552, allocations: 17.5 kB / 0.6847 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.631e-05/0.1553, allocations: 55.77 kB / 0.6848 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.1555, allocations: 167.5 kB / 0.685 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.421e-05/0.1556, allocations: 16 kB / 0.685 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003538/0.1591, allocations: 2.204 MB / 0.6871 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002517/0.1594, allocations: 283.8 kB / 0.6874 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003153/0.1597, allocations: 306.1 kB / 0.6877 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003762/0.1635, allocations: 2.19 MB / 0.6898 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.1635, allocations: 0 / 0.6898 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.365e-06/0.1635, allocations: 0 / 0.6898 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.777e-05/0.1636, allocations: 0 / 0.6898 GB, free: 11.81 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.008365/0.1719, allocations: 1.37 MB / 0.6912 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.172, allocations: 12.03 kB / 0.6912 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004033/0.1724, allocations: 95.59 kB / 0.6913 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000555/0.173, allocations: 410.2 kB / 0.6917 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.173, allocations: 4.375 kB / 0.6917 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.938e-05/0.173, allocations: 4.375 kB / 0.6917 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004607/0.1735, allocations: 391.5 kB / 0.692 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.1735, allocations: 4 kB / 0.692 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.87e-05/0.1736, allocations: 8 kB / 0.692 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1736, allocations: 0 / 0.692 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004406/0.174, allocations: 435.7 kB / 0.6925 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006705/0.1747, allocations: 0.6692 MB / 0.6931 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004955/0.1752, allocations: 0.5633 MB / 0.6937 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003461/0.1756, allocations: 333.7 kB / 0.694 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009659/0.1766, allocations: 1.028 MB / 0.695 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003993/0.177, allocations: 412.8 kB / 0.6954 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.177, allocations: 0 / 0.6954 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001349/0.1783, allocations: 1.293 MB / 0.6966 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.1784, allocations: 89.22 kB / 0.6967 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.1797, allocations: 1.282 MB / 0.698 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.318e-05/0.1797, allocations: 33.7 kB / 0.698 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.1799, allocations: 289.2 kB / 0.6983 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.18, allocations: 23.73 kB / 0.6983 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003265/0.1803, allocations: 355.6 kB / 0.6987 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1804, allocations: 322 kB / 0.699 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/0.1817, allocations: 1.373 MB / 0.7003 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.1831, allocations: 1.505 MB / 0.7018 GB, free: 15.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007299/0.1904, allocations: 3.56 MB / 0.7052 GB, free: 11.42 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.1904, allocations: 0 / 0.7052 GB, free: 11.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004314/0.1947, allocations: 4.018 MB / 0.7092 GB, free: 7.367 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1947, allocations: 10.8 kB / 0.7092 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.1948, allocations: 4 kB / 0.7092 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1948, allocations: 0 / 0.7092 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.1949, allocations: 12 kB / 0.7092 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.1949, allocations: 3.984 kB / 0.7092 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005103/0.1955, allocations: 228.3 kB / 0.7094 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.823e-05/0.1955, allocations: 28.02 kB / 0.7094 GB, free: 7.086 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (cluSiz[1],labels[1],gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0003015/0.1958, allocations: 249.6 kB / 0.7097 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/0.1959, allocations: 74.62 kB / 0.7098 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002663/0.1962, allocations: 79.81 kB / 0.7098 GB, free: 6.664 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1962, allocations: 0 / 0.7098 GB, free: 6.664 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1962, allocations: 0 / 0.7098 GB, free: 6.664 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.1962, allocations: 16 kB / 0.7098 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004385/0.1967, allocations: 0.514 MB / 0.7103 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1967, allocations: 0 / 0.7103 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.34e-05/0.1967, allocations: 15.88 kB / 0.7104 GB, free: 6.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.1968, allocations: 0 / 0.7104 GB, free: 6.074 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.1968, allocations: 7.984 kB / 0.7104 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1968, allocations: 0 / 0.7104 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1968, allocations: 0 / 0.7104 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.1978, allocations: 1.002 MB / 0.7113 GB, free: 5.043 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.1979, allocations: 163.7 kB / 0.7115 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.1981, allocations: 7.938 kB / 0.7115 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.1982, allocations: 4 kB / 0.7115 GB, free: 4.852 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.1983, allocations: 7.984 kB / 0.7115 GB, free: 4.844 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-05/0.1983, allocations: 15.92 kB / 0.7115 GB, free: 4.828 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000771/0.1991, allocations: 0.73 MB / 0.7123 GB, free: 4.094 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1991, allocations: 0 / 0.7123 GB, free: 4.094 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001371/0.2005, allocations: 0.5779 MB / 0.7128 GB, free: 3.516 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001841/0.2023, allocations: 0.6866 MB / 0.7135 GB, free: 2.836 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002218/0.2045, allocations: 2.562 MB / 0.716 GB, free: 268 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.2046, allocations: 0 / 0.716 GB, free: 268 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00032/0.2049, allocations: 339.8 kB / 0.7163 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.2052, allocations: 57.94 kB / 0.7164 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.2073, allocations: 1.869 MB / 0.7182 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005124/0.2079, allocations: 0.9879 MB / 0.7192 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001303/0.208, allocations: 45.36 kB / 0.7192 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.906e-05/0.2081, allocations: 23.42 kB / 0.7192 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.2081, allocations: 0 / 0.7192 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of Templates: time 0.02319/0.2313, allocations: 14.32 MB / 0.7332 GB, free: 14.63 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)