Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.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_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d") translateModel(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007723/0.0007723, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008952/0.0008955, allocations: 173.4 kB / 16.92 MB, free: 6.629 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.391/1.391, allocations: 223.3 MB / 241 MB, free: 5.359 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 1.037/1.037, allocations: 143.2 MB / 435.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000324/0.0003241, allocations: 8 kB / 0.517 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1702, allocations: 83.41 MB / 0.5985 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.0006569/0.1709, allocations: 254.2 kB / 0.5987 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002165/0.1731, allocations: 1.607 MB / 0.6003 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.956e-05/0.1731, allocations: 3.938 kB / 0.6003 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.1733, allocations: 59.91 kB / 0.6004 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.431e-05/0.1733, allocations: 27.95 kB / 0.6004 GB, free: 5.797 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.000746/0.1741, allocations: 204.5 kB / 0.6006 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.683e-05/0.1742, allocations: 23.97 kB / 0.6006 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.97e-05/0.1742, allocations: 8 kB / 0.6006 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.293e-05/0.1743, allocations: 23.89 kB / 0.6006 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.062e-05/0.1743, allocations: 39.91 kB / 0.6007 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.1743, allocations: 0 / 0.6007 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004894/0.1748, allocations: 275.5 kB / 0.6009 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.727e-05/0.1749, allocations: 31.91 kB / 0.601 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.175, allocations: 57.39 kB / 0.601 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.1752, allocations: 199.6 kB / 0.6012 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1753, allocations: 0 / 0.6012 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.774e-06/0.1753, allocations: 0 / 0.6012 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.1753, allocations: 0 / 0.6012 GB, free: 4.945 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.000412/0.1757, allocations: 419.3 kB / 0.6016 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1757, allocations: 12.03 kB / 0.6016 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.1758, allocations: 8.844 kB / 0.6016 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.1759, allocations: 197.2 kB / 0.6018 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.176, allocations: 4.375 kB / 0.6018 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.176, allocations: 4.375 kB / 0.6018 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.1761, allocations: 46 kB / 0.6019 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1761, allocations: 7.922 kB / 0.6019 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1761, allocations: 0 / 0.6019 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.1761, allocations: 3.938 kB / 0.6019 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.574e-05/0.1762, allocations: 19.98 kB / 0.6019 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.1764, allocations: 181.6 kB / 0.6021 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.217e-05/0.1764, allocations: 30.56 kB / 0.6021 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.267e-05/0.1764, allocations: 12.92 kB / 0.6021 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.1765, allocations: 8 kB / 0.6021 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.1765, allocations: 34.5 kB / 0.6022 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.392e-06/0.1765, allocations: 0 / 0.6022 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001484/0.1767, allocations: 73.52 kB / 0.6022 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.1767, allocations: 51.41 kB / 0.6023 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.1769, allocations: 224 kB / 0.6025 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.1769, allocations: 25.7 kB / 0.6025 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.352e-05/0.177, allocations: 100.1 kB / 0.6026 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.069e-05/0.177, allocations: 3.906 kB / 0.6026 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.177, allocations: 21.72 kB / 0.6026 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1771, allocations: 322.8 kB / 0.6029 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.925e-05/0.1772, allocations: 55.97 kB / 0.603 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.099e-05/0.1773, allocations: 55.98 kB / 0.6031 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.676e-05/0.1774, allocations: 96.69 kB / 0.6031 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1774, allocations: 4.031 kB / 0.6031 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001637/0.1775, allocations: 160.1 kB / 0.6033 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1776, allocations: 7.938 kB / 0.6033 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.1776, allocations: 0 / 0.6033 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1776, allocations: 0 / 0.6033 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.346e-05/0.1776, allocations: 0 / 0.6033 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.1776, allocations: 7.984 kB / 0.6033 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.467e-05/0.1777, allocations: 7.844 kB / 0.6033 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1777, allocations: 0 / 0.6033 GB, free: 2.562 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: 10 (cluster_size[3],cluster_size[2],cluster_size[1],labels[6],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.0001353/0.1778, allocations: 137.8 kB / 0.6035 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.1778, allocations: 19.75 kB / 0.6035 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.178, allocations: 62.17 kB / 0.6035 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.178, allocations: 0 / 0.6035 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.178, allocations: 4 kB / 0.6035 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.178, allocations: 0 / 0.6035 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.1781, allocations: 185.6 kB / 0.6037 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1781, allocations: 0 / 0.6037 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.32e-06/0.1781, allocations: 7.922 kB / 0.6037 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1781, allocations: 7.969 kB / 0.6037 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.1781, allocations: 0 / 0.6037 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.1781, allocations: 0 / 0.6037 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1782, allocations: 0 / 0.6037 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.388e-05/0.1782, allocations: 84.97 kB / 0.6038 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.1783, allocations: 92.86 kB / 0.6039 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.1783, allocations: 0 / 0.6039 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.407e-05/0.1783, allocations: 4 kB / 0.6039 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.454e-05/0.1783, allocations: 8.016 kB / 0.6039 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.1784, allocations: 0 / 0.6039 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001067/0.1785, allocations: 143.2 kB / 0.604 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1785, allocations: 0 / 0.604 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003103/0.1788, allocations: 87.98 kB / 0.6041 GB, free: 1.633 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.0004722/0.1793, allocations: 227.7 kB / 0.6043 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000174/0.1795, allocations: 125.7 kB / 0.6045 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1795, allocations: 0 / 0.6045 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.786e-05/0.1795, allocations: 12 kB / 0.6045 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.1796, allocations: 7.938 kB / 0.6045 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003405/0.18, allocations: 257.5 kB / 0.6047 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.1802, allocations: 0.7043 MB / 0.6054 GB, free: 264 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.531e-05/0.1803, allocations: 11.44 kB / 0.6054 GB, free: 252 kB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1803, allocations: 0 / 0.6054 GB, free: 252 kB / 0.4981 GB Notification: Performance of Templates: time 0.2898/0.4701, allocations: 2.363 MB / 0.6077 GB, free: 40.32 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1)