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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002004/0.002004, allocations: 190.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.628/1.628, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9439/0.9439, allocations: 145 MB / 451.3 MB, free: 5.488 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d") translateModel(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 73.12 kB / 0.6253 GB, free: 15.51 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1829, allocations: 86.7 MB / 0.71 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.001702/0.1846, allocations: 0.5204 MB / 0.7105 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002391/0.187, allocations: 1.634 MB / 0.7121 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.853e-05/0.1871, allocations: 4 kB / 0.7121 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.1872, allocations: 23.91 kB / 0.7121 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.678e-05/0.1872, allocations: 15.91 kB / 0.7121 GB, free: 6.613 MB / 0.5294 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.7.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.0009161/0.1881, allocations: 251.3 kB / 0.7124 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.065e-05/0.1882, allocations: 27.89 kB / 0.7124 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.775e-05/0.1883, allocations: 4 kB / 0.7124 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.771e-05/0.1883, allocations: 23.92 kB / 0.7124 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.869e-05/0.1883, allocations: 15.92 kB / 0.7124 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.1883, allocations: 4 kB / 0.7124 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000767/0.1891, allocations: 463.2 kB / 0.7129 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.954e-05/0.1892, allocations: 15.92 kB / 0.7129 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.1892, allocations: 15.88 kB / 0.7129 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004287/0.1896, allocations: 287.2 kB / 0.7132 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1896, allocations: 0 / 0.7132 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1896, allocations: 7.938 kB / 0.7132 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.1896, allocations: 0 / 0.7132 GB, free: 5.52 MB / 0.5294 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.0004737/0.1901, allocations: 333.6 kB / 0.7135 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.1901, allocations: 8.031 kB / 0.7135 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.1902, allocations: 8.891 kB / 0.7135 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.1903, allocations: 139.9 kB / 0.7136 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.45e-06/0.1903, allocations: 384 / 0.7136 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.1904, allocations: 384 / 0.7136 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.1905, allocations: 38.02 kB / 0.7137 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-06/0.1905, allocations: 0 / 0.7137 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.1905, allocations: 4 kB / 0.7137 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1905, allocations: 0 / 0.7137 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.405e-05/0.1905, allocations: 15.98 kB / 0.7137 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.1907, allocations: 148.7 kB / 0.7138 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.405e-05/0.1908, allocations: 30.52 kB / 0.7139 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.263e-05/0.1908, allocations: 12.91 kB / 0.7139 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.1908, allocations: 8 kB / 0.7139 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.1908, allocations: 38.5 kB / 0.7139 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/0.1908, allocations: 0 / 0.7139 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001889/0.191, allocations: 57.64 kB / 0.714 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.1911, allocations: 51.41 kB / 0.714 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.1913, allocations: 183.9 kB / 0.7142 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.1913, allocations: 29.7 kB / 0.7142 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.564e-05/0.1913, allocations: 92.12 kB / 0.7143 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.987e-06/0.1914, allocations: 0 / 0.7143 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.1914, allocations: 33.83 kB / 0.7144 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1915, allocations: 318.8 kB / 0.7147 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.235e-05/0.1916, allocations: 39.98 kB / 0.7147 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.035e-05/0.1917, allocations: 39.97 kB / 0.7147 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.242e-05/0.1918, allocations: 72.88 kB / 0.7148 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1918, allocations: 0 / 0.7148 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000174/0.1919, allocations: 129.6 kB / 0.7149 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.192, allocations: 11.88 kB / 0.7149 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.192, allocations: 0 / 0.7149 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.192, allocations: 8.062 kB / 0.715 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.436e-05/0.192, allocations: 7.938 kB / 0.715 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.192, allocations: 0 / 0.715 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.512e-05/0.192, allocations: 3.953 kB / 0.715 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.192, allocations: 7.984 kB / 0.715 GB, free: 3.504 MB / 0.5294 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.0001735/0.1922, allocations: 121.8 kB / 0.7151 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/0.1922, allocations: 11.89 kB / 0.7151 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.1923, allocations: 57.5 kB / 0.7152 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1924, allocations: 3.938 kB / 0.7152 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1924, allocations: 0 / 0.7152 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.1924, allocations: 0 / 0.7152 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.1925, allocations: 144.7 kB / 0.7153 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1925, allocations: 0 / 0.7153 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.779e-06/0.1925, allocations: 0 / 0.7153 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1925, allocations: 3.938 kB / 0.7153 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.1925, allocations: 0 / 0.7153 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1925, allocations: 3.938 kB / 0.7153 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1925, allocations: 0 / 0.7153 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.1926, allocations: 89.03 kB / 0.7154 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.645e-05/0.1926, allocations: 11.89 kB / 0.7154 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.1926, allocations: 3.984 kB / 0.7154 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.219e-05/0.1926, allocations: 0 / 0.7154 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.37e-05/0.1927, allocations: 0 / 0.7154 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.1927, allocations: 0 / 0.7154 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001073/0.1928, allocations: 130.1 kB / 0.7155 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1928, allocations: 4.031 kB / 0.7155 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003324/0.1931, allocations: 83.8 kB / 0.7156 GB, free: 2.77 MB / 0.5294 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.0005371/0.1936, allocations: 225 kB / 0.7158 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001822/0.1938, allocations: 101.6 kB / 0.7159 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1938, allocations: 0 / 0.7159 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.902e-05/0.1938, allocations: 11.98 kB / 0.7159 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.194, allocations: 4 kB / 0.7159 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002993/0.1943, allocations: 165.2 kB / 0.7161 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.1947, allocations: 0.6924 MB / 0.7168 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.976e-05/0.1947, allocations: 4 kB / 0.7168 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.604e-05/0.1947, allocations: 7.438 kB / 0.7168 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of SimCode: time 3.71e-07/0.1947, allocations: 4.125 kB / 0.7168 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of Templates: time 0.005971/0.2007, allocations: 2.103 MB / 0.7188 GB, free: 15.42 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.0157982017844915] Failed to read output from testmodel.py, exit status != 0: 0.20860504917800426 0.22585141600000003 0.032952394 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7feaed5517b0>