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.0007379/0.0007383, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007859/0.000786, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.353/1.353, allocations: 223.3 MB / 241 MB, free: 5.238 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 1.1/1.1, allocations: 143.2 MB / 435.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003307, allocations: 19.98 kB / 0.517 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1703, allocations: 83.4 MB / 0.5985 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.0008203/0.1711, allocations: 246.3 kB / 0.5987 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002635/0.1738, allocations: 1.622 MB / 0.6003 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.368e-05/0.1738, allocations: 3.938 kB / 0.6003 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.174, allocations: 11.98 kB / 0.6003 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.474e-05/0.1741, allocations: 7.984 kB / 0.6003 GB, free: 5.754 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.0007792/0.1748, allocations: 199.5 kB / 0.6005 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.89e-05/0.1749, allocations: 23.98 kB / 0.6005 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.864e-05/0.175, allocations: 3.984 kB / 0.6006 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.201e-05/0.175, allocations: 15.92 kB / 0.6006 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.187e-05/0.1751, allocations: 15.92 kB / 0.6006 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.1751, allocations: 0 / 0.6006 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004556/0.1755, allocations: 275.5 kB / 0.6008 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.37e-05/0.1756, allocations: 15.98 kB / 0.6009 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.195e-05/0.1757, allocations: 49.5 kB / 0.6009 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.1759, allocations: 191.6 kB / 0.6011 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1759, allocations: 0 / 0.6011 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.176, allocations: 4 kB / 0.6011 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.176, allocations: 4 kB / 0.6011 GB, free: 4.965 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.0004125/0.1764, allocations: 395.5 kB / 0.6015 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.1764, allocations: 12.03 kB / 0.6015 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.1765, allocations: 4.844 kB / 0.6015 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.1766, allocations: 185.5 kB / 0.6017 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1767, allocations: 384 / 0.6017 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.1767, allocations: 4.312 kB / 0.6017 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.1768, allocations: 42.02 kB / 0.6017 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.1768, allocations: 3.938 kB / 0.6017 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.1768, allocations: 4 kB / 0.6017 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1768, allocations: 0 / 0.6017 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.159e-05/0.1769, allocations: 23.92 kB / 0.6017 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.177, allocations: 169.7 kB / 0.6019 GB, free: 4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.58e-05/0.1771, allocations: 22.58 kB / 0.6019 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.767e-05/0.1771, allocations: 16.91 kB / 0.6019 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.789e-05/0.1772, allocations: 8 kB / 0.6019 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.1772, allocations: 34.5 kB / 0.602 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1772, allocations: 0 / 0.602 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001523/0.1774, allocations: 65.53 kB / 0.602 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.1774, allocations: 59.39 kB / 0.6021 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.1776, allocations: 160.7 kB / 0.6023 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.1776, allocations: 25.7 kB / 0.6023 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.1776, allocations: 108.1 kB / 0.6024 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.718e-06/0.1777, allocations: 0 / 0.6024 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/0.1777, allocations: 21.7 kB / 0.6024 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1778, allocations: 314.8 kB / 0.6027 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.453e-05/0.1779, allocations: 47.92 kB / 0.6027 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.479e-05/0.1779, allocations: 39.97 kB / 0.6028 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.357e-05/0.178, allocations: 72.83 kB / 0.6029 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.178, allocations: 0 / 0.6029 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001383/0.1782, allocations: 121.6 kB / 0.603 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1782, allocations: 16 kB / 0.603 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.1782, allocations: 0 / 0.603 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1782, allocations: 0 / 0.603 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.42e-05/0.1783, allocations: 0 / 0.603 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.1783, allocations: 0 / 0.603 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.792e-05/0.1783, allocations: 15.83 kB / 0.603 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.1783, allocations: 0 / 0.603 GB, free: 2.793 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 (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 0.0001322/0.1785, allocations: 125.8 kB / 0.6031 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.1785, allocations: 11.84 kB / 0.6031 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.1786, allocations: 65.48 kB / 0.6032 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1786, allocations: 0 / 0.6032 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1786, allocations: 4 kB / 0.6032 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1786, allocations: 4 kB / 0.6032 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.1787, allocations: 169.6 kB / 0.6034 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.1787, allocations: 0 / 0.6034 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.898e-06/0.1787, allocations: 0 / 0.6034 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.1787, allocations: 3.938 kB / 0.6034 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.1788, allocations: 0 / 0.6034 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.1788, allocations: 4 kB / 0.6034 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1788, allocations: 7.969 kB / 0.6034 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.835e-05/0.1789, allocations: 81.02 kB / 0.6035 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.729e-05/0.1789, allocations: 88.89 kB / 0.6035 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.1789, allocations: 0 / 0.6035 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.12e-05/0.1789, allocations: 0 / 0.6035 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.339e-05/0.179, allocations: 4 kB / 0.6035 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.179, allocations: 0 / 0.6035 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.188e-05/0.1791, allocations: 131.7 kB / 0.6037 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1791, allocations: 4 kB / 0.6037 GB, free: 2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003179/0.1794, allocations: 83.98 kB / 0.6038 GB, free: 1.918 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.0004817/0.1799, allocations: 223.6 kB / 0.604 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001543/0.18, allocations: 101.6 kB / 0.6041 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1801, allocations: 4 kB / 0.6041 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.494e-05/0.1801, allocations: 11.98 kB / 0.6041 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.1802, allocations: 0 / 0.6041 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002959/0.1805, allocations: 208.9 kB / 0.6043 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.1808, allocations: 0.6926 MB / 0.605 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.62e-05/0.1808, allocations: 15.44 kB / 0.605 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1808, allocations: 0 / 0.605 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of Templates: time 0.2811/0.4619, allocations: 2.234 MB / 0.6072 GB, free: 40.83 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)