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.001076/0.001076, 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.001234/0.001234, allocations: 190.1 kB / 16.13 MB, free: 6.656 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.359/1.359, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.039/1.039, allocations: 143 MB / 433 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001583, allocations: 59.91 kB / 0.5135 GB, free: 12.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1772, allocations: 82.02 MB / 0.5936 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.00195/0.1792, allocations: 0.5832 MB / 0.5942 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002632/0.1818, allocations: 1.638 MB / 0.5958 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.711e-05/0.1819, allocations: 0 / 0.5958 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.1821, allocations: 63.86 kB / 0.5958 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.586e-05/0.1822, allocations: 27.95 kB / 0.5958 GB, free: 7.777 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.0008276/0.183, allocations: 195.5 kB / 0.596 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.884e-05/0.1831, allocations: 35.91 kB / 0.5961 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.655e-05/0.1831, allocations: 3.984 kB / 0.5961 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.732e-05/0.1832, allocations: 27.91 kB / 0.5961 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.476e-05/0.1832, allocations: 35.91 kB / 0.5961 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.1833, allocations: 0 / 0.5961 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005416/0.1838, allocations: 279.5 kB / 0.5964 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.601e-05/0.1839, allocations: 27.89 kB / 0.5964 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.767e-05/0.1839, allocations: 27.75 kB / 0.5964 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004387/0.1844, allocations: 279.3 kB / 0.5967 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1844, allocations: 0 / 0.5967 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1844, allocations: 0 / 0.5967 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.1844, allocations: 4 kB / 0.5967 GB, free: 6.879 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.0005419/0.185, allocations: 435.2 kB / 0.5971 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.185, allocations: 8.031 kB / 0.5971 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.1851, allocations: 12.84 kB / 0.5972 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.1853, allocations: 201.1 kB / 0.5973 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.1853, allocations: 384 / 0.5973 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.1853, allocations: 384 / 0.5973 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.1854, allocations: 41.95 kB / 0.5974 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1854, allocations: 3.984 kB / 0.5974 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1855, allocations: 8 kB / 0.5974 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1855, allocations: 0 / 0.5974 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.333e-05/0.1855, allocations: 16 kB / 0.5974 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002518/0.1858, allocations: 181.7 kB / 0.5976 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.525e-05/0.1858, allocations: 26.52 kB / 0.5976 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.87e-05/0.1859, allocations: 16.91 kB / 0.5976 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.444e-05/0.1859, allocations: 11.91 kB / 0.5976 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.186, allocations: 42.5 kB / 0.5977 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.186, allocations: 0 / 0.5977 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001625/0.1861, allocations: 65.58 kB / 0.5977 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.1862, allocations: 51.41 kB / 0.5978 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.1864, allocations: 215.9 kB / 0.598 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.1864, allocations: 29.64 kB / 0.598 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.351e-05/0.1865, allocations: 100.1 kB / 0.5981 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.234e-05/0.1865, allocations: 3.906 kB / 0.5981 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.865e-05/0.1866, allocations: 37.83 kB / 0.5982 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1867, allocations: 326.8 kB / 0.5985 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.802e-05/0.1868, allocations: 55.97 kB / 0.5985 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.16e-05/0.1868, allocations: 58.03 kB / 0.5986 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.1869, allocations: 92.81 kB / 0.5987 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.187, allocations: 0 / 0.5987 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001922/0.1871, allocations: 152 kB / 0.5988 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.1872, allocations: 11.94 kB / 0.5988 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.1872, allocations: 4.062 kB / 0.5988 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1872, allocations: 0 / 0.5988 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.606e-05/0.1872, allocations: 7.938 kB / 0.5988 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1872, allocations: 0 / 0.5988 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.979e-05/0.1873, allocations: 15.84 kB / 0.5989 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.1873, allocations: 0 / 0.5989 GB, free: 4.473 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.0001877/0.1875, allocations: 133.8 kB / 0.599 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.1e-05/0.1875, allocations: 15.75 kB / 0.599 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.1876, allocations: 70.22 kB / 0.5991 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1877, allocations: 0 / 0.5991 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1877, allocations: 0 / 0.5991 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1877, allocations: 7.938 kB / 0.5991 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.1878, allocations: 173.7 kB / 0.5992 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1878, allocations: 0 / 0.5992 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.059e-06/0.1878, allocations: 4 kB / 0.5992 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1878, allocations: 3.938 kB / 0.5992 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.1879, allocations: 0 / 0.5992 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1879, allocations: 7.922 kB / 0.5993 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1879, allocations: 32 / 0.5993 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.405e-05/0.188, allocations: 85.03 kB / 0.5993 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.612e-05/0.188, allocations: 92.86 kB / 0.5994 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.1881, allocations: 0 / 0.5994 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.305e-05/0.1881, allocations: 0 / 0.5994 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.258e-05/0.1881, allocations: 0 / 0.5994 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.1881, allocations: 0 / 0.5994 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001118/0.1882, allocations: 151.2 kB / 0.5996 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1882, allocations: 4 kB / 0.5996 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003588/0.1886, allocations: 83.98 kB / 0.5996 GB, free: 3.555 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.0005819/0.1892, allocations: 225.4 kB / 0.5999 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000195/0.1894, allocations: 137.6 kB / 0.6 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1894, allocations: 0 / 0.6 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.985e-05/0.1894, allocations: 12 kB / 0.6 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.1896, allocations: 15.86 kB / 0.6 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003863/0.19, allocations: 227.9 kB / 0.6002 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.1903, allocations: 0.7004 MB / 0.6009 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.996e-05/0.1903, allocations: 0 / 0.6009 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.753e-05/0.1903, allocations: 11.44 kB / 0.6009 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of SimCode: time 3.9e-07/0.1903, allocations: 0 / 0.6009 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of Templates: time 0.005399/0.1957, allocations: 2.114 MB / 0.603 GB, free: 76 kB / 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)