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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 120.2 kB / 17.13 MB, free: 5.758 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.001389/0.001389, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.452/1.452, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9578/0.9578, allocations: 145.2 MB / 448.6 MB, free: 14.02 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.6.0-master/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=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d") translateModel(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 68.67 kB / 0.6211 GB, free: 34.91 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1749, allocations: 86.64 MB / 0.7057 GB, free: 2.73 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.001815/0.1768, allocations: 0.5224 MB / 0.7062 GB, free: 2.211 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.002671/0.1794, allocations: 1.626 MB / 0.7078 GB, free: 0.5664 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.419e-05/0.1795, allocations: 3.938 kB / 0.7078 GB, free: 0.5625 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.1797, allocations: 59.84 kB / 0.7078 GB, free: 0.5039 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 4.135e-05/0.1797, allocations: 31.89 kB / 0.7079 GB, free: 484 kB / 0.5138 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-master/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.001061/0.1808, allocations: 247.3 kB / 0.7081 GB, free: 236 kB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.1809, allocations: 27.91 kB / 0.7081 GB, free: 208 kB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 4.553e-05/0.1809, allocations: 8 kB / 0.7081 GB, free: 200 kB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 4.452e-05/0.181, allocations: 27.89 kB / 0.7082 GB, free: 172 kB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 8.056e-05/0.181, allocations: 43.89 kB / 0.7082 GB, free: 128 kB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.1811, allocations: 0 / 0.7082 GB, free: 128 kB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007481/0.1818, allocations: 363.4 kB / 0.7085 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.106e-05/0.1819, allocations: 31.91 kB / 0.7086 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/0.1819, allocations: 27.73 kB / 0.7086 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005444/0.1825, allocations: 295.1 kB / 0.7089 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1825, allocations: 0 / 0.7089 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.064e-06/0.1825, allocations: 0 / 0.7089 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.1825, allocations: 0 / 0.7089 GB, free: 15.42 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.0005943/0.1831, allocations: 438.4 kB / 0.7093 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.1831, allocations: 12.02 kB / 0.7093 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.346e-05/0.1832, allocations: 12.84 kB / 0.7093 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.1834, allocations: 197.2 kB / 0.7095 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.1834, allocations: 4.359 kB / 0.7095 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.1834, allocations: 8.375 kB / 0.7095 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.1836, allocations: 38.02 kB / 0.7096 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.1836, allocations: 0 / 0.7096 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.1836, allocations: 0 / 0.7096 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1836, allocations: 0 / 0.7096 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.772e-05/0.1836, allocations: 19.98 kB / 0.7096 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/0.1839, allocations: 185.6 kB / 0.7098 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.677e-05/0.1839, allocations: 34.5 kB / 0.7098 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.61e-05/0.184, allocations: 12.92 kB / 0.7098 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.947e-05/0.184, allocations: 7.984 kB / 0.7098 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.184, allocations: 34.5 kB / 0.7098 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.184, allocations: 0 / 0.7098 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001899/0.1842, allocations: 73.59 kB / 0.7099 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.1843, allocations: 51.53 kB / 0.71 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.1845, allocations: 216 kB / 0.7102 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.1845, allocations: 29.64 kB / 0.7102 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.214e-05/0.1846, allocations: 108.1 kB / 0.7103 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.152e-05/0.1846, allocations: 0 / 0.7103 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.419e-05/0.1847, allocations: 33.64 kB / 0.7103 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.1849, allocations: 322.8 kB / 0.7106 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.551e-05/0.185, allocations: 55.98 kB / 0.7107 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.388e-05/0.185, allocations: 55.97 kB / 0.7107 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.1851, allocations: 91.77 kB / 0.7108 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1851, allocations: 0 / 0.7108 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000231/0.1854, allocations: 173.5 kB / 0.711 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1854, allocations: 7.938 kB / 0.711 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.1854, allocations: 4 kB / 0.711 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.1854, allocations: 0 / 0.711 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.713e-05/0.1854, allocations: 3.938 kB / 0.711 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1854, allocations: 7.984 kB / 0.711 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.873e-05/0.1855, allocations: 7.953 kB / 0.711 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1855, allocations: 0 / 0.711 GB, free: 13 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: 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.0002323/0.1857, allocations: 137.8 kB / 0.7112 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.037e-05/0.1857, allocations: 19.78 kB / 0.7112 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.1859, allocations: 58.25 kB / 0.7112 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.1859, allocations: 3.984 kB / 0.7112 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1859, allocations: 0 / 0.7112 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1859, allocations: 0 / 0.7112 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.186, allocations: 181.7 kB / 0.7114 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.186, allocations: 4.031 kB / 0.7114 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-06/0.186, allocations: 0 / 0.7114 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1861, allocations: 3.938 kB / 0.7114 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.1861, allocations: 0 / 0.7114 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1861, allocations: 0 / 0.7114 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1861, allocations: 7.938 kB / 0.7114 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.1862, allocations: 85.02 kB / 0.7115 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-05/0.1862, allocations: 89 kB / 0.7116 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.1862, allocations: 4.031 kB / 0.7116 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.297e-05/0.1862, allocations: 0 / 0.7116 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/0.1863, allocations: 4 kB / 0.7116 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.1863, allocations: 0 / 0.7116 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001439/0.1864, allocations: 143.2 kB / 0.7117 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1864, allocations: 0 / 0.7117 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003994/0.1868, allocations: 91.8 kB / 0.7118 GB, free: 12.09 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.0006071/0.1874, allocations: 235.1 kB / 0.7121 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002187/0.1876, allocations: 117.6 kB / 0.7122 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1876, allocations: 0 / 0.7122 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.156e-05/0.1877, allocations: 19.92 kB / 0.7122 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.1878, allocations: 6.344 kB / 0.7122 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004098/0.1882, allocations: 247.5 kB / 0.7124 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.1886, allocations: 0.7002 MB / 0.7131 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.1886, allocations: 15.42 kB / 0.7131 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of SimCode: time 2.81e-07/0.1886, allocations: 0 / 0.7131 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of Templates: time 0.005123/0.1938, allocations: 2.37 MB / 0.7154 GB, free: 8.332 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.298454175004736] Failed to read output from testmodel.py, exit status != 0: 0.2008523519616574 0.21491273000000002 0.029509602000000003 Calling exit ...