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.00153/0.00153, allocations: 107.5 kB / 16.41 MB, free: 6.387 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.001643/0.001643, allocations: 187.3 kB / 17.34 MB, free: 5.84 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.17 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.8443/0.8443, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.72 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1357, allocations: 82.02 MB / 0.6763 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.001445/0.1371, allocations: 0.5351 MB / 0.6768 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001904/0.1391, allocations: 1.603 MB / 0.6784 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.6e-05/0.1391, allocations: 4 kB / 0.6784 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.1392, allocations: 23.91 kB / 0.6784 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.203e-05/0.1393, allocations: 7.984 kB / 0.6784 GB, free: 8.156 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.0007468/0.14, allocations: 252.4 kB / 0.6786 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.367e-05/0.1401, allocations: 23.91 kB / 0.6787 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 2.986e-05/0.1401, allocations: 0 / 0.6787 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.802e-05/0.1402, allocations: 19.98 kB / 0.6787 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.599e-05/0.1402, allocations: 15.92 kB / 0.6787 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.1402, allocations: 3.938 kB / 0.6787 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005095/0.1407, allocations: 331.5 kB / 0.679 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.508e-05/0.1408, allocations: 19.92 kB / 0.679 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.462e-05/0.1408, allocations: 15.81 kB / 0.679 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003665/0.1412, allocations: 283.2 kB / 0.6793 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1412, allocations: 0 / 0.6793 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1412, allocations: 0 / 0.6793 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.1412, allocations: 0 / 0.6793 GB, free: 7.215 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.0003942/0.1416, allocations: 414.7 kB / 0.6797 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.1417, allocations: 8.031 kB / 0.6797 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.1417, allocations: 8.891 kB / 0.6797 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.1418, allocations: 185.1 kB / 0.6799 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.775e-06/0.1419, allocations: 384 / 0.6799 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.1419, allocations: 384 / 0.6799 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.539e-05/0.142, allocations: 45.94 kB / 0.6799 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.142, allocations: 0 / 0.6799 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.022e-06/0.142, allocations: 4 kB / 0.6799 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.142, allocations: 0 / 0.6799 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.104e-05/0.142, allocations: 19.98 kB / 0.68 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.1422, allocations: 173.6 kB / 0.6801 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.14e-05/0.1422, allocations: 26.56 kB / 0.6802 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.739e-05/0.1423, allocations: 12.92 kB / 0.6802 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.1423, allocations: 7.984 kB / 0.6802 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.1423, allocations: 42.44 kB / 0.6802 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1423, allocations: 0 / 0.6802 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001287/0.1425, allocations: 57.64 kB / 0.6803 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.1425, allocations: 55.41 kB / 0.6803 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.1426, allocations: 175.8 kB / 0.6805 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.1427, allocations: 25.7 kB / 0.6805 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.901e-05/0.1427, allocations: 88.14 kB / 0.6806 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.298e-05/0.1427, allocations: 11.92 kB / 0.6806 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.1428, allocations: 25.84 kB / 0.6806 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.1429, allocations: 322.8 kB / 0.6809 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.83e-05/0.1429, allocations: 35.98 kB / 0.681 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.824e-05/0.143, allocations: 35.98 kB / 0.681 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.33e-05/0.1431, allocations: 76.7 kB / 0.6811 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1431, allocations: 0 / 0.6811 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001383/0.1432, allocations: 133.6 kB / 0.6812 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1432, allocations: 7.938 kB / 0.6812 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.1433, allocations: 4 kB / 0.6812 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.1433, allocations: 4.062 kB / 0.6812 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.126e-05/0.1433, allocations: 0 / 0.6812 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.1433, allocations: 3.938 kB / 0.6812 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.948e-05/0.1433, allocations: 7.891 kB / 0.6812 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.1433, allocations: 4 kB / 0.6812 GB, free: 5.012 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: 9 (cluster_size[3],cluster_size[2],cluster_size[1],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 9.888e-05/0.1435, allocations: 126.5 kB / 0.6814 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.1435, allocations: 7.891 kB / 0.6814 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.998e-05/0.1436, allocations: 69.48 kB / 0.6814 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1436, allocations: 3.984 kB / 0.6814 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.1436, allocations: 4 kB / 0.6814 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-05/0.1436, allocations: 85.06 kB / 0.6815 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.1437, allocations: 0 / 0.6815 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.214e-05/0.1437, allocations: 0 / 0.6815 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.287e-05/0.1437, allocations: 0 / 0.6815 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.847e-05/0.1438, allocations: 128.9 kB / 0.6817 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001206/0.1439, allocations: 230.8 kB / 0.6819 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.783e-05/0.1439, allocations: 8 kB / 0.6819 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.379e-05/0.144, allocations: 125.9 kB / 0.682 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of Backend: time 2.6e-07/0.144, allocations: 0 / 0.682 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007115/0.1447, allocations: 303.9 kB / 0.6823 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0003933/0.1451, allocations: 0.6076 MB / 0.6829 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of Templates: time 0.004579/0.1497, allocations: 2.169 MB / 0.685 GB, free: 1.07 MB / 0.5137 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)