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.001138/0.001138, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.0103/0.0103, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.389/1.389, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.9919/0.9919, allocations: 143.2 MB / 434.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003595, allocations: 8 kB / 0.5164 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1945, allocations: 83.42 MB / 0.5978 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.0006397/0.1951, allocations: 250.2 kB / 0.5981 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00225/0.1974, allocations: 1.614 MB / 0.5996 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.798e-05/0.1975, allocations: 0 / 0.5996 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001691/0.1976, allocations: 63.89 kB / 0.5997 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.579e-05/0.1977, allocations: 27.91 kB / 0.5997 GB, free: 5.766 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.0007653/0.1985, allocations: 198 kB / 0.5999 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.223e-05/0.1985, allocations: 35.95 kB / 0.6 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.083e-05/0.1986, allocations: 0 / 0.6 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.876e-05/0.1986, allocations: 23.86 kB / 0.6 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.904e-05/0.1987, allocations: 43.88 kB / 0.6 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.1987, allocations: 4 kB / 0.6 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004836/0.1992, allocations: 271.6 kB / 0.6003 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.747e-05/0.1993, allocations: 23.92 kB / 0.6003 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.1993, allocations: 49.45 kB / 0.6004 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003711/0.1997, allocations: 287.3 kB / 0.6006 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1997, allocations: 0 / 0.6006 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1997, allocations: 0 / 0.6006 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.1997, allocations: 0 / 0.6006 GB, free: 4.844 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.0004411/0.2002, allocations: 431.3 kB / 0.601 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.2002, allocations: 12.03 kB / 0.601 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.2002, allocations: 8.844 kB / 0.6011 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.2004, allocations: 193.2 kB / 0.6012 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.2004, allocations: 384 / 0.6012 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.2005, allocations: 4.375 kB / 0.6012 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.2006, allocations: 42 kB / 0.6013 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2006, allocations: 3.938 kB / 0.6013 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.2006, allocations: 0 / 0.6013 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2006, allocations: 0 / 0.6013 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.948e-05/0.2007, allocations: 23.92 kB / 0.6013 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002258/0.2009, allocations: 185.6 kB / 0.6015 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.296e-05/0.201, allocations: 34.5 kB / 0.6015 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.842e-05/0.201, allocations: 12.92 kB / 0.6015 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-05/0.2011, allocations: 4 kB / 0.6015 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.2011, allocations: 38.48 kB / 0.6016 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.2011, allocations: 0 / 0.6016 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001811/0.2013, allocations: 77.53 kB / 0.6017 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.2013, allocations: 51.41 kB / 0.6017 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.2015, allocations: 215.9 kB / 0.6019 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.2016, allocations: 25.7 kB / 0.6019 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.194e-05/0.2016, allocations: 108.1 kB / 0.602 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.085e-05/0.2016, allocations: 3.906 kB / 0.602 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.2017, allocations: 21.72 kB / 0.6021 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.2018, allocations: 322.8 kB / 0.6024 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.75e-05/0.2019, allocations: 68.03 kB / 0.6024 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.479e-05/0.202, allocations: 51.98 kB / 0.6025 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.2021, allocations: 87.34 kB / 0.6026 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2021, allocations: 0 / 0.6026 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001835/0.2023, allocations: 161.5 kB / 0.6027 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.2023, allocations: 7.938 kB / 0.6027 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.2023, allocations: 0 / 0.6027 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.2023, allocations: 7.984 kB / 0.6027 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.8e-05/0.2024, allocations: 3.984 kB / 0.6027 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.2024, allocations: 0 / 0.6027 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.312e-05/0.2024, allocations: 11.91 kB / 0.6027 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.2024, allocations: 4 kB / 0.6028 GB, free: 2.445 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.0001448/0.2026, allocations: 129.8 kB / 0.6029 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/0.2026, allocations: 15.75 kB / 0.6029 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.2027, allocations: 66.17 kB / 0.603 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2027, allocations: 0 / 0.603 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2027, allocations: 0 / 0.603 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.2027, allocations: 0 / 0.603 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.2029, allocations: 189.6 kB / 0.6031 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2029, allocations: 4 kB / 0.6031 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.651e-05/0.2029, allocations: 3.984 kB / 0.6031 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.2029, allocations: 3.938 kB / 0.6031 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.203, allocations: 0 / 0.6031 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.203, allocations: 0 / 0.6031 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.203, allocations: 4 kB / 0.6031 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.287e-05/0.2031, allocations: 81.03 kB / 0.6032 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.2031, allocations: 92.86 kB / 0.6033 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.2031, allocations: 0 / 0.6033 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.334e-05/0.2031, allocations: 0 / 0.6033 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.2032, allocations: 7.922 kB / 0.6033 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.2032, allocations: 4 kB / 0.6033 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001229/0.2033, allocations: 143.2 kB / 0.6035 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2033, allocations: 0 / 0.6035 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003655/0.2037, allocations: 87.98 kB / 0.6035 GB, free: 1.527 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.0005162/0.2042, allocations: 229.2 kB / 0.6038 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002031/0.2044, allocations: 125.7 kB / 0.6039 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2044, allocations: 0 / 0.6039 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.478e-05/0.2045, allocations: 8 kB / 0.6039 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.2046, allocations: 14.98 kB / 0.6039 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.205, allocations: 227.7 kB / 0.6041 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.2053, allocations: 0.7004 MB / 0.6048 GB, free: 192 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.177e-05/0.2053, allocations: 11.98 kB / 0.6048 GB, free: 180 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.316e-05/0.2053, allocations: 7.438 kB / 0.6048 GB, free: 172 kB / 0.4981 GB Notification: Performance of SimCode: time 1.864e-06/0.2053, allocations: 0 / 0.6048 GB, free: 172 kB / 0.4981 GB Notification: Performance of Templates: time 0.2871/0.4924, allocations: 2.095 MB / 0.6069 GB, free: 40.44 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)