Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.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.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d") translateModel(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001942/0.001942, allocations: 192.8 kB / 16.13 MB, free: 6.703 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.403/1.403, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.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.9673/0.9673, allocations: 143 MB / 433 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 63.91 kB / 0.5135 GB, free: 12.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1896, allocations: 82.04 MB / 0.5936 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.002145/0.1918, allocations: 0.5755 MB / 0.5942 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002506/0.1943, allocations: 1.638 MB / 0.5958 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.611e-05/0.1944, allocations: 4 kB / 0.5958 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.1946, allocations: 15.92 kB / 0.5958 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.499e-05/0.1946, allocations: 7.984 kB / 0.5958 GB, free: 7.816 MB / 0.4981 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‘. Notification: Performance of NFTyping.typeClassSections: time 0.0008293/0.1954, allocations: 203.6 kB / 0.596 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.193e-05/0.1955, allocations: 15.92 kB / 0.596 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.208e-05/0.1956, allocations: 4 kB / 0.596 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.336e-05/0.1956, allocations: 15.92 kB / 0.596 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.683e-05/0.1956, allocations: 19.92 kB / 0.596 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.1957, allocations: 0 / 0.596 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005528/0.1962, allocations: 267.6 kB / 0.5963 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.835e-05/0.1963, allocations: 27.97 kB / 0.5963 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.1963, allocations: 19.81 kB / 0.5963 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004591/0.1968, allocations: 279.3 kB / 0.5966 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1968, allocations: 0 / 0.5966 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1968, allocations: 0 / 0.5966 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.1968, allocations: 0 / 0.5966 GB, free: 6.98 MB / 0.4981 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.0004849/0.1973, allocations: 399.5 kB / 0.597 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.1974, allocations: 8.031 kB / 0.597 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.39e-05/0.1974, allocations: 8.844 kB / 0.597 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.1976, allocations: 188.8 kB / 0.5972 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/0.1976, allocations: 4.375 kB / 0.5972 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.1976, allocations: 384 / 0.5972 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.1977, allocations: 42 kB / 0.5972 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.1977, allocations: 0 / 0.5972 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.1978, allocations: 0 / 0.5972 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1978, allocations: 0 / 0.5972 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.323e-05/0.1978, allocations: 23.92 kB / 0.5972 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/0.198, allocations: 173.6 kB / 0.5974 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.642e-05/0.198, allocations: 26.58 kB / 0.5974 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.268e-05/0.1981, allocations: 16.91 kB / 0.5975 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.955e-05/0.1981, allocations: 7.984 kB / 0.5975 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.1982, allocations: 38.5 kB / 0.5975 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/0.1982, allocations: 0 / 0.5975 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000149/0.1983, allocations: 61.53 kB / 0.5976 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.1984, allocations: 55.34 kB / 0.5976 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.1985, allocations: 172.8 kB / 0.5978 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.1985, allocations: 29.64 kB / 0.5978 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.398e-05/0.1986, allocations: 100.1 kB / 0.5979 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.184e-05/0.1986, allocations: 3.906 kB / 0.5979 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/0.1987, allocations: 21.72 kB / 0.5979 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1988, allocations: 322.8 kB / 0.5982 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.482e-05/0.1989, allocations: 35.98 kB / 0.5983 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.278e-05/0.1989, allocations: 43.92 kB / 0.5983 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.491e-05/0.199, allocations: 68.86 kB / 0.5984 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.199, allocations: 3.938 kB / 0.5984 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001544/0.1992, allocations: 129.6 kB / 0.5985 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1992, allocations: 7.938 kB / 0.5985 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/0.1992, allocations: 4 kB / 0.5985 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1992, allocations: 0 / 0.5985 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.448e-05/0.1993, allocations: 0 / 0.5985 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1993, allocations: 0 / 0.5985 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.324e-05/0.1993, allocations: 7.844 kB / 0.5985 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.1993, allocations: 8 kB / 0.5985 GB, free: 4.789 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (cluster_size[3],cluster_size[2],cluster_size[1],labels[5],labels[4],labels[3],labels[2],labels[1],cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001814/0.1995, allocations: 125.9 kB / 0.5986 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.1995, allocations: 11.83 kB / 0.5987 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.1997, allocations: 61.5 kB / 0.5987 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.1997, allocations: 0 / 0.5987 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1997, allocations: 0 / 0.5987 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1997, allocations: 0 / 0.5987 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.1998, allocations: 173.6 kB / 0.5989 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1998, allocations: 4 kB / 0.5989 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.032e-06/0.1998, allocations: 4.031 kB / 0.5989 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1998, allocations: 3.938 kB / 0.5989 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.1999, allocations: 0 / 0.5989 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1999, allocations: 0 / 0.5989 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1999, allocations: 0 / 0.5989 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.335e-05/0.2, allocations: 77.03 kB / 0.599 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/0.2, allocations: 92.94 kB / 0.5991 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.2, allocations: 3.938 kB / 0.5991 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.209e-05/0.2001, allocations: 4.031 kB / 0.5991 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/0.2001, allocations: 0 / 0.5991 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.2001, allocations: 0 / 0.5991 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001101/0.2002, allocations: 130.9 kB / 0.5992 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2002, allocations: 0 / 0.5992 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003429/0.2005, allocations: 83.98 kB / 0.5993 GB, free: 3.93 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.000535/0.2011, allocations: 229.2 kB / 0.5995 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001558/0.2013, allocations: 97.67 kB / 0.5996 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2013, allocations: 0 / 0.5996 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.88e-05/0.2013, allocations: 15.98 kB / 0.5996 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.2014, allocations: 4 kB / 0.5996 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.2018, allocations: 181.6 kB / 0.5998 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.2021, allocations: 0.6965 MB / 0.6005 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.199e-05/0.2021, allocations: 0 / 0.6005 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.605e-05/0.2021, allocations: 7.438 kB / 0.6005 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.2021, allocations: 0 / 0.6005 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of Templates: time 0.005499/0.2076, allocations: 2.083 MB / 0.6025 GB, free: 0.5781 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1)