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.001511/0.001511, allocations: 115 kB / 16.42 MB, free: 6.469 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.001695/0.001695, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.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.8476/0.8476, allocations: 143.1 MB / 434.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 71.22 kB / 0.5962 GB, free: 12.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1327, allocations: 82.04 MB / 0.6763 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.001578/0.1343, allocations: 0.5156 MB / 0.6768 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002083/0.1364, allocations: 1.606 MB / 0.6784 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.981e-05/0.1365, allocations: 7.875 kB / 0.6784 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.1366, allocations: 59.91 kB / 0.6784 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.576e-05/0.1367, allocations: 31.89 kB / 0.6785 GB, free: 8.16 MB / 0.5137 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/IBPSA/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0008046/0.1375, allocations: 251.3 kB / 0.6787 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.784e-05/0.1376, allocations: 27.97 kB / 0.6787 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.689e-05/0.1376, allocations: 7.984 kB / 0.6787 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.055e-05/0.1377, allocations: 19.97 kB / 0.6787 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.75e-05/0.1377, allocations: 35.91 kB / 0.6788 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.1377, allocations: 0 / 0.6788 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004875/0.1382, allocations: 343.4 kB / 0.6791 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.432e-05/0.1383, allocations: 23.92 kB / 0.6791 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.1383, allocations: 23.69 kB / 0.6792 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003523/0.1387, allocations: 299.3 kB / 0.6794 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1387, allocations: 4 kB / 0.6794 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1387, allocations: 0 / 0.6794 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.1387, allocations: 0 / 0.6794 GB, free: 7.145 MB / 0.5137 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.000399/0.1391, allocations: 434.9 kB / 0.6799 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.1392, allocations: 8.031 kB / 0.6799 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.1392, allocations: 12.75 kB / 0.6799 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.1393, allocations: 200 kB / 0.6801 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.1394, allocations: 4.375 kB / 0.6801 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.1394, allocations: 384 / 0.6801 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.972e-05/0.1395, allocations: 46 kB / 0.6801 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.66e-06/0.1395, allocations: 0 / 0.6801 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.1395, allocations: 0 / 0.6801 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.1395, allocations: 0 / 0.6801 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.787e-05/0.1395, allocations: 19.98 kB / 0.6801 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001573/0.1397, allocations: 189.6 kB / 0.6803 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.239e-05/0.1397, allocations: 30.5 kB / 0.6803 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.983e-05/0.1398, allocations: 12.92 kB / 0.6804 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.1398, allocations: 8 kB / 0.6804 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.1398, allocations: 34.5 kB / 0.6804 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1398, allocations: 4 kB / 0.6804 GB, free: 6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001392/0.14, allocations: 73.48 kB / 0.6805 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.14, allocations: 55.34 kB / 0.6805 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.1402, allocations: 207.5 kB / 0.6807 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.1402, allocations: 25.7 kB / 0.6807 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/0.1403, allocations: 108.2 kB / 0.6808 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.13e-05/0.1403, allocations: 3.984 kB / 0.6809 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.1404, allocations: 25.72 kB / 0.6809 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1405, allocations: 326.8 kB / 0.6812 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.258e-05/0.1405, allocations: 55.97 kB / 0.6812 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.887e-05/0.1406, allocations: 55.97 kB / 0.6813 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.15e-05/0.1407, allocations: 85.91 kB / 0.6814 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1407, allocations: 0 / 0.6814 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001777/0.1409, allocations: 172.8 kB / 0.6815 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1409, allocations: 11.88 kB / 0.6816 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.1409, allocations: 4 kB / 0.6816 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.141, allocations: 0 / 0.6816 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-05/0.141, allocations: 3.984 kB / 0.6816 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.141, allocations: 0 / 0.6816 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.79e-05/0.141, allocations: 11.84 kB / 0.6816 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.141, allocations: 0 / 0.6816 GB, free: 4.742 MB / 0.5137 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.0001259/0.1412, allocations: 133.8 kB / 0.6817 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.1412, allocations: 15.88 kB / 0.6817 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.1413, allocations: 70.22 kB / 0.6818 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1413, allocations: 0 / 0.6818 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1413, allocations: 0 / 0.6818 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.112e-05/0.1414, allocations: 88.92 kB / 0.6819 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.1414, allocations: 0 / 0.6819 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.36e-05/0.1414, allocations: 0 / 0.6819 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.1414, allocations: 7.922 kB / 0.6819 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.586e-05/0.1415, allocations: 129 kB / 0.682 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001303/0.1416, allocations: 230.7 kB / 0.6822 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.333e-05/0.1417, allocations: 11.98 kB / 0.6822 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001075/0.1418, allocations: 143.2 kB / 0.6824 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of Backend: time 2.4e-07/0.1418, allocations: 0 / 0.6824 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007675/0.1426, allocations: 331.9 kB / 0.6827 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0004413/0.143, allocations: 0.6547 MB / 0.6833 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of Templates: time 0.005326/0.1484, allocations: 2.204 MB / 0.6855 GB, free: 0.6484 MB / 0.5137 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)