Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.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_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d") translateModel(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008277/0.0008278, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.000884/0.0008839, allocations: 172.7 kB / 15.95 MB, free: 208 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.195/1.195, allocations: 223.3 MB / 240 MB, free: 5.203 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.87/0.87, allocations: 143.2 MB / 434.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002734/0.0002735, allocations: 8 kB / 0.5158 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.133, allocations: 83.41 MB / 0.5972 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.0005708/0.1336, allocations: 246.2 kB / 0.5975 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00188/0.1355, allocations: 1.541 MB / 0.599 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.201e-05/0.1355, allocations: 3.938 kB / 0.599 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.1356, allocations: 19.97 kB / 0.599 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.327e-05/0.1357, allocations: 11.92 kB / 0.599 GB, free: 6.258 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.0007261/0.1364, allocations: 183.6 kB / 0.5992 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.872e-05/0.1365, allocations: 27.91 kB / 0.5992 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.1365, allocations: 3.984 kB / 0.5992 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.525e-05/0.1365, allocations: 8 kB / 0.5992 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.748e-05/0.1366, allocations: 15.92 kB / 0.5992 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.949e-06/0.1366, allocations: 0 / 0.5992 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004417/0.137, allocations: 259.6 kB / 0.5995 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.466e-05/0.1371, allocations: 15.92 kB / 0.5995 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.446e-05/0.1371, allocations: 33.64 kB / 0.5995 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.1374, allocations: 199.6 kB / 0.5997 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1374, allocations: 0 / 0.5997 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1374, allocations: 0 / 0.5997 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.1374, allocations: 0 / 0.5997 GB, free: 5.52 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.0003816/0.1378, allocations: 395.4 kB / 0.6001 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.1379, allocations: 12.03 kB / 0.6001 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.1379, allocations: 7.906 kB / 0.6001 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.138, allocations: 188.2 kB / 0.6003 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.1381, allocations: 0 / 0.6003 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.1381, allocations: 0 / 0.6003 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.48e-05/0.1382, allocations: 41.69 kB / 0.6003 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1382, allocations: 3.984 kB / 0.6003 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-06/0.1382, allocations: 0 / 0.6003 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1382, allocations: 4 kB / 0.6003 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.799e-05/0.1382, allocations: 19.92 kB / 0.6004 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.1384, allocations: 169.7 kB / 0.6005 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.687e-05/0.1384, allocations: 30.56 kB / 0.6006 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.83e-05/0.1385, allocations: 16.92 kB / 0.6006 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.1385, allocations: 7.984 kB / 0.6006 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.1385, allocations: 30.56 kB / 0.6006 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1385, allocations: 0 / 0.6006 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001327/0.1387, allocations: 61.53 kB / 0.6007 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.1387, allocations: 51.41 kB / 0.6007 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.1388, allocations: 176.5 kB / 0.6009 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.1389, allocations: 29.83 kB / 0.6009 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.1389, allocations: 100.1 kB / 0.601 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.468e-06/0.1389, allocations: 7.844 kB / 0.601 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.1389, allocations: 0 / 0.601 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.993e-05/0.139, allocations: 322.8 kB / 0.6013 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.547e-05/0.1391, allocations: 39.98 kB / 0.6014 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.727e-05/0.1391, allocations: 39.97 kB / 0.6014 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.808e-05/0.1392, allocations: 43.98 kB / 0.6014 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1392, allocations: 0 / 0.6014 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001351/0.1393, allocations: 125.5 kB / 0.6016 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1394, allocations: 8 kB / 0.6016 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.1394, allocations: 7.984 kB / 0.6016 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.1394, allocations: 3.938 kB / 0.6016 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.228e-05/0.1394, allocations: 0 / 0.6016 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1394, allocations: 0 / 0.6016 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.261e-05/0.1394, allocations: 7.906 kB / 0.6016 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.1395, allocations: 0 / 0.6016 GB, free: 3.395 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: 9 (cmp,labels[1],labels[2],labels[3],labels[4],labels[5],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.000118/0.1396, allocations: 129.8 kB / 0.6017 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.1396, allocations: 11.94 kB / 0.6017 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.301e-05/0.1397, allocations: 53.55 kB / 0.6018 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1397, allocations: 0 / 0.6018 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1397, allocations: 4 kB / 0.6018 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.1397, allocations: 0 / 0.6018 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.1398, allocations: 177.5 kB / 0.6019 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1398, allocations: 0 / 0.6019 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.563e-06/0.1398, allocations: 3.984 kB / 0.6019 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1399, allocations: 0 / 0.6019 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.1399, allocations: 0 / 0.6019 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.1399, allocations: 8.031 kB / 0.602 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1399, allocations: 0 / 0.602 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.092e-05/0.1399, allocations: 77.03 kB / 0.602 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.184e-05/0.14, allocations: 84.97 kB / 0.6021 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.14, allocations: 3.938 kB / 0.6021 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.067e-05/0.14, allocations: 0 / 0.6021 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.355e-05/0.14, allocations: 4 kB / 0.6021 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-06/0.14, allocations: 4.031 kB / 0.6021 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.698e-05/0.1401, allocations: 127.7 kB / 0.6022 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1401, allocations: 0 / 0.6022 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002919/0.1404, allocations: 79.98 kB / 0.6023 GB, free: 2.539 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.0004333/0.1409, allocations: 237.4 kB / 0.6025 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001395/0.141, allocations: 101.7 kB / 0.6026 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.141, allocations: 0 / 0.6026 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.369e-05/0.141, allocations: 8 kB / 0.6027 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.1412, allocations: 4 kB / 0.6027 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000252/0.1414, allocations: 167.3 kB / 0.6028 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.1417, allocations: 0.6926 MB / 0.6035 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.848e-05/0.1417, allocations: 4 kB / 0.6035 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.139e-05/0.1417, allocations: 11.42 kB / 0.6035 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1417, allocations: 0 / 0.6035 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of Templates: time 0.2237/0.3654, allocations: 2.064 MB / 0.6055 GB, free: 40.68 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1)