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.0008757/0.0008757, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009088/0.0009088, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.173/1.173, allocations: 223.3 MB / 240 MB, free: 5.406 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.8633/0.8633, allocations: 143.2 MB / 434.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002637/0.0002637, allocations: 12 kB / 0.5158 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1262, allocations: 83.42 MB / 0.5972 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.000509/0.1268, allocations: 250.2 kB / 0.5975 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001745/0.1285, allocations: 1.537 MB / 0.599 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.36e-05/0.1286, allocations: 0 / 0.599 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.1287, allocations: 63.84 kB / 0.599 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.769e-05/0.1288, allocations: 31.94 kB / 0.5991 GB, free: 6.227 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.0006053/0.1294, allocations: 187.6 kB / 0.5992 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.326e-05/0.1294, allocations: 31.91 kB / 0.5993 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 2.988e-05/0.1295, allocations: 0 / 0.5993 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.228e-05/0.1295, allocations: 27.89 kB / 0.5993 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.85e-05/0.1296, allocations: 31.91 kB / 0.5993 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.157e-06/0.1296, allocations: 0 / 0.5993 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003666/0.13, allocations: 251.6 kB / 0.5996 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.672e-05/0.13, allocations: 27.91 kB / 0.5996 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.379e-05/0.13, allocations: 41.58 kB / 0.5996 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.1303, allocations: 203.6 kB / 0.5998 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1303, allocations: 0 / 0.5998 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.21e-07/0.1303, allocations: 0 / 0.5998 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.387e-06/0.1303, allocations: 0 / 0.5998 GB, free: 5.434 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.0003365/0.1306, allocations: 423.1 kB / 0.6002 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.716e-05/0.1307, allocations: 12.03 kB / 0.6002 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.789e-05/0.1307, allocations: 7.906 kB / 0.6003 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.1308, allocations: 191.9 kB / 0.6004 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.1309, allocations: 0 / 0.6004 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.298e-06/0.1309, allocations: 7.984 kB / 0.6004 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.618e-05/0.131, allocations: 45.69 kB / 0.6005 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.131, allocations: 0 / 0.6005 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.131, allocations: 0 / 0.6005 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.016e-06/0.131, allocations: 3.938 kB / 0.6005 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.807e-05/0.131, allocations: 23.92 kB / 0.6005 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.1312, allocations: 185.5 kB / 0.6007 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.128e-05/0.1312, allocations: 30.56 kB / 0.6007 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.814e-05/0.1312, allocations: 16.92 kB / 0.6007 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.1313, allocations: 4 kB / 0.6007 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.1313, allocations: 34.55 kB / 0.6008 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1313, allocations: 0 / 0.6008 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001195/0.1314, allocations: 65.53 kB / 0.6008 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.1315, allocations: 59.41 kB / 0.6009 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.1316, allocations: 215.9 kB / 0.6011 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.1316, allocations: 25.83 kB / 0.6011 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.696e-05/0.1317, allocations: 108 kB / 0.6012 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.773e-06/0.1317, allocations: 0 / 0.6012 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-06/0.1317, allocations: 0 / 0.6012 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.626e-05/0.1318, allocations: 330.8 kB / 0.6015 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.322e-05/0.1319, allocations: 47.98 kB / 0.6016 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.655e-05/0.1319, allocations: 59.97 kB / 0.6016 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.436e-05/0.132, allocations: 62.88 kB / 0.6017 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.132, allocations: 0 / 0.6017 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001479/0.1321, allocations: 165.5 kB / 0.6019 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.1321, allocations: 8.062 kB / 0.6019 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.1322, allocations: 0 / 0.6019 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.457e-06/0.1322, allocations: 0 / 0.6019 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.119e-05/0.1322, allocations: 4 kB / 0.6019 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.1322, allocations: 0 / 0.6019 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.315e-05/0.1322, allocations: 11.75 kB / 0.6019 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.1322, allocations: 4 kB / 0.6019 GB, free: 3.109 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 (cmp,labels[1],labels[2],labels[3],labels[4],labels[5],labels[6],cluster_size[1],cluster_size[2],cluster_size[3]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.1323, allocations: 137.7 kB / 0.602 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/0.1324, allocations: 11.91 kB / 0.602 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.74e-05/0.1325, allocations: 62.23 kB / 0.6021 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1325, allocations: 8 kB / 0.6021 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1325, allocations: 0 / 0.6021 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-06/0.1325, allocations: 3.938 kB / 0.6021 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.1326, allocations: 185.6 kB / 0.6023 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1326, allocations: 0 / 0.6023 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-06/0.1326, allocations: 3.938 kB / 0.6023 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1326, allocations: 0 / 0.6023 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.1326, allocations: 0 / 0.6023 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1326, allocations: 4.031 kB / 0.6023 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.1326, allocations: 0 / 0.6023 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.957e-05/0.1327, allocations: 84.92 kB / 0.6024 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.643e-05/0.1328, allocations: 88.97 kB / 0.6025 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.1328, allocations: 0 / 0.6025 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.402e-05/0.1328, allocations: 4 kB / 0.6025 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.294e-06/0.1328, allocations: 0 / 0.6025 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.1328, allocations: 4.031 kB / 0.6025 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.569e-05/0.1329, allocations: 147.2 kB / 0.6026 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1329, allocations: 0 / 0.6026 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002627/0.1332, allocations: 83.98 kB / 0.6027 GB, free: 2.195 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003898/0.1336, allocations: 233.8 kB / 0.6029 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001478/0.1337, allocations: 125.7 kB / 0.603 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1337, allocations: 0 / 0.603 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.417e-05/0.1338, allocations: 11.98 kB / 0.603 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.1339, allocations: 8.188 kB / 0.603 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002567/0.1342, allocations: 215.9 kB / 0.6032 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.1344, allocations: 0.7004 MB / 0.6039 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.733e-05/0.1344, allocations: 7.984 kB / 0.6039 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.053e-05/0.1344, allocations: 7.438 kB / 0.6039 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1344, allocations: 0 / 0.6039 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of Templates: time 0.2016/0.336, allocations: 2.082 MB / 0.606 GB, free: 40.57 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)