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.00442/0.004419, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001026/0.001026, allocations: 197.1 kB / 16.79 MB, free: 6.254 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.322/1.322, allocations: 222.9 MB / 240.5 MB, free: 4.582 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.9913/0.9913, allocations: 143 MB / 433.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 67.89 kB / 0.5141 GB, free: 12.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1776, allocations: 82.03 MB / 0.5943 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.001799/0.1794, allocations: 0.5793 MB / 0.5948 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002399/0.1818, allocations: 1.634 MB / 0.5964 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.367e-05/0.1819, allocations: 0 / 0.5964 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.182, allocations: 15.92 kB / 0.5964 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.491e-05/0.1821, allocations: 11.98 kB / 0.5964 GB, free: 7.844 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.0008096/0.1829, allocations: 203.6 kB / 0.5966 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.613e-05/0.183, allocations: 23.86 kB / 0.5967 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.034e-05/0.183, allocations: 0 / 0.5967 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.821e-05/0.1831, allocations: 15.92 kB / 0.5967 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.619e-05/0.1831, allocations: 19.92 kB / 0.5967 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.1831, allocations: 4 kB / 0.5967 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005349/0.1837, allocations: 271.6 kB / 0.597 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.575e-05/0.1837, allocations: 19.92 kB / 0.597 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.877e-05/0.1838, allocations: 19.88 kB / 0.597 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002844/0.1841, allocations: 195.6 kB / 0.5972 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1841, allocations: 0 / 0.5972 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1841, allocations: 0 / 0.5972 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.1841, allocations: 0 / 0.5972 GB, free: 7.086 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.0005103/0.1846, allocations: 403.5 kB / 0.5976 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1847, allocations: 12.03 kB / 0.5976 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/0.1847, allocations: 8.844 kB / 0.5976 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.1849, allocations: 188.7 kB / 0.5978 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.1849, allocations: 8.375 kB / 0.5978 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.1849, allocations: 384 / 0.5978 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.1851, allocations: 38.02 kB / 0.5978 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1851, allocations: 3.984 kB / 0.5978 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.1851, allocations: 0 / 0.5978 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.1851, allocations: 0 / 0.5978 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.975e-05/0.1852, allocations: 12 kB / 0.5978 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.1854, allocations: 177.6 kB / 0.598 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.367e-05/0.1854, allocations: 30.5 kB / 0.598 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.151e-05/0.1855, allocations: 16.91 kB / 0.598 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.562e-05/0.1855, allocations: 4 kB / 0.598 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.1855, allocations: 42.5 kB / 0.5981 GB, free: 6 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.1855, allocations: 0 / 0.5981 GB, free: 6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001799/0.1857, allocations: 65.58 kB / 0.5981 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.1858, allocations: 51.41 kB / 0.5982 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.186, allocations: 172.5 kB / 0.5984 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.186, allocations: 25.7 kB / 0.5984 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.261e-05/0.186, allocations: 92.14 kB / 0.5985 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.432e-05/0.1861, allocations: 3.906 kB / 0.5985 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.1861, allocations: 29.7 kB / 0.5985 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.1863, allocations: 323 kB / 0.5988 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.426e-05/0.1863, allocations: 39.98 kB / 0.5988 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.61e-05/0.1864, allocations: 43.92 kB / 0.5989 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.896e-05/0.1865, allocations: 64.83 kB / 0.599 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1865, allocations: 0 / 0.599 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001556/0.1866, allocations: 125.6 kB / 0.5991 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1867, allocations: 15.81 kB / 0.5991 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.1867, allocations: 3.984 kB / 0.5991 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1867, allocations: 3.938 kB / 0.5991 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.504e-05/0.1867, allocations: 0 / 0.5991 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1867, allocations: 4.062 kB / 0.5991 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.26e-05/0.1868, allocations: 7.906 kB / 0.5991 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1868, allocations: 0 / 0.5991 GB, free: 4.891 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.0001627/0.1869, allocations: 124.1 kB / 0.5992 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.187, allocations: 11.84 kB / 0.5992 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.1871, allocations: 61.55 kB / 0.5993 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1871, allocations: 4 kB / 0.5993 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1871, allocations: 0 / 0.5993 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1871, allocations: 4.031 kB / 0.5993 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.1872, allocations: 169.6 kB / 0.5995 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1872, allocations: 0 / 0.5995 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.851e-06/0.1873, allocations: 3.984 kB / 0.5995 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.1873, allocations: 7.938 kB / 0.5995 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.1873, allocations: 3.938 kB / 0.5995 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1873, allocations: 0 / 0.5995 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.1873, allocations: 0 / 0.5995 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.213e-05/0.1874, allocations: 84.97 kB / 0.5996 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.1875, allocations: 84.95 kB / 0.5996 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.1875, allocations: 0 / 0.5996 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.167e-05/0.1875, allocations: 4 kB / 0.5996 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.066e-05/0.1876, allocations: 0 / 0.5996 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.1876, allocations: 3.984 kB / 0.5996 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.191e-05/0.1876, allocations: 126.2 kB / 0.5998 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1877, allocations: 0 / 0.5998 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003242/0.188, allocations: 87.98 kB / 0.5999 GB, free: 4.027 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.0004729/0.1885, allocations: 218.7 kB / 0.6001 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001643/0.1886, allocations: 105.6 kB / 0.6002 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1886, allocations: 0 / 0.6002 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-05/0.1887, allocations: 16.06 kB / 0.6002 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.1888, allocations: 0 / 0.6002 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002992/0.1891, allocations: 204.7 kB / 0.6004 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.1894, allocations: 0.6965 MB / 0.6011 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.301e-05/0.1894, allocations: 7.438 kB / 0.6011 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1894, allocations: 4.062 kB / 0.6011 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of Templates: time 0.004435/0.1938, allocations: 2.257 MB / 0.6033 GB, free: 488 kB / 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)