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.001303/0.001303, allocations: 118.1 kB / 17.13 MB, free: 5.781 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.001328/0.001328, allocations: 192.6 kB / 20.08 MB, free: 2.871 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.443/1.443, allocations: 225.6 MB / 248.5 MB, free: 3.594 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.9149/0.9149, allocations: 145.2 MB / 448.6 MB, free: 13.82 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_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.001879/0.001879, allocations: 63.27 kB / 0.6211 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.159, allocations: 86.65 MB / 0.7057 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.001621/0.1606, allocations: 0.5077 MB / 0.7062 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002303/0.1629, allocations: 1.634 MB / 0.7078 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.187e-05/0.163, allocations: 0 / 0.7078 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.1631, allocations: 19.92 kB / 0.7078 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.477e-05/0.1631, allocations: 7.984 kB / 0.7078 GB, free: 0.5273 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-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.0008861/0.164, allocations: 243.3 kB / 0.708 GB, free: 296 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.979e-05/0.1641, allocations: 23.91 kB / 0.7081 GB, free: 272 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.1641, allocations: 8 kB / 0.7081 GB, free: 264 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.937e-05/0.1642, allocations: 15.92 kB / 0.7081 GB, free: 248 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.644e-05/0.1642, allocations: 19.92 kB / 0.7081 GB, free: 228 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.1642, allocations: 0 / 0.7081 GB, free: 228 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005951/0.1648, allocations: 363.4 kB / 0.7084 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.091e-05/0.1649, allocations: 15.98 kB / 0.7085 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.1649, allocations: 19.81 kB / 0.7085 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004074/0.1653, allocations: 279.1 kB / 0.7087 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1653, allocations: 4 kB / 0.7087 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.173e-06/0.1653, allocations: 0 / 0.7087 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.1653, allocations: 4 kB / 0.7088 GB, free: 15.55 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.0004943/0.1658, allocations: 408.6 kB / 0.7091 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.1659, allocations: 8.031 kB / 0.7091 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.1659, allocations: 12.89 kB / 0.7092 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.1661, allocations: 188.2 kB / 0.7093 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-06/0.1661, allocations: 4.375 kB / 0.7093 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.1661, allocations: 4.359 kB / 0.7093 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.1662, allocations: 41.95 kB / 0.7094 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1662, allocations: 0 / 0.7094 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.1662, allocations: 4 kB / 0.7094 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.1662, allocations: 3.938 kB / 0.7094 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.472e-05/0.1663, allocations: 19.98 kB / 0.7094 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001911/0.1665, allocations: 173.6 kB / 0.7096 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.697e-05/0.1665, allocations: 22.58 kB / 0.7096 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.1665, allocations: 16.91 kB / 0.7096 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.1666, allocations: 4 kB / 0.7096 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.1666, allocations: 46.44 kB / 0.7097 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.1666, allocations: 0 / 0.7097 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001554/0.1668, allocations: 61.62 kB / 0.7097 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.1668, allocations: 51.41 kB / 0.7098 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.167, allocations: 176.4 kB / 0.7099 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.167, allocations: 25.7 kB / 0.71 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.167, allocations: 96.12 kB / 0.7101 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.608e-06/0.167, allocations: 128 / 0.7101 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.1671, allocations: 29.7 kB / 0.7101 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1672, allocations: 322.8 kB / 0.7104 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.391e-05/0.1673, allocations: 35.98 kB / 0.7104 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.709e-05/0.1673, allocations: 39.98 kB / 0.7105 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.4e-05/0.1674, allocations: 72.75 kB / 0.7105 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1674, allocations: 0 / 0.7105 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001617/0.1676, allocations: 133.6 kB / 0.7107 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.1676, allocations: 7.938 kB / 0.7107 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.1676, allocations: 8.062 kB / 0.7107 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1676, allocations: 0 / 0.7107 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.291e-05/0.1676, allocations: 7.922 kB / 0.7107 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.1676, allocations: 0 / 0.7107 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.188e-05/0.1677, allocations: 3.953 kB / 0.7107 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.1677, allocations: 4 kB / 0.7107 GB, free: 13.34 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.0001426/0.1678, allocations: 125.7 kB / 0.7108 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.1678, allocations: 7.891 kB / 0.7108 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.1679, allocations: 65.5 kB / 0.7109 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1679, allocations: 0 / 0.7109 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.1679, allocations: 3.984 kB / 0.7109 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.1679, allocations: 0 / 0.7109 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.1681, allocations: 169.7 kB / 0.7111 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1681, allocations: 0 / 0.7111 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-06/0.1681, allocations: 0 / 0.7111 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.1681, allocations: 3.938 kB / 0.7111 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.1681, allocations: 3.984 kB / 0.7111 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.1681, allocations: 0 / 0.7111 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1681, allocations: 0 / 0.7111 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.011e-05/0.1682, allocations: 89.05 kB / 0.7111 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/0.1682, allocations: 92.94 kB / 0.7112 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.1682, allocations: 0 / 0.7112 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.117e-05/0.1683, allocations: 3.938 kB / 0.7112 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.71e-05/0.1683, allocations: 0 / 0.7112 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.1683, allocations: 0 / 0.7112 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.259e-05/0.1684, allocations: 126.9 kB / 0.7114 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1684, allocations: 4 kB / 0.7114 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003184/0.1687, allocations: 87.8 kB / 0.7114 GB, free: 12.48 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.0005221/0.1692, allocations: 222.3 kB / 0.7117 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001717/0.1694, allocations: 101.7 kB / 0.7118 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1694, allocations: 0 / 0.7118 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.848e-05/0.1694, allocations: 15.88 kB / 0.7118 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.1695, allocations: 0 / 0.7118 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003009/0.1698, allocations: 190.9 kB / 0.7119 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.1701, allocations: 0.6924 MB / 0.7126 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.468e-05/0.1702, allocations: 11.42 kB / 0.7126 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of SimCode: time 3.61e-07/0.1702, allocations: 0 / 0.7126 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.004324/0.1745, allocations: 2.266 MB / 0.7148 GB, free: 8.934 MB / 0.5294 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: 10.236309477128088] Failed to read output from testmodel.py, exit status != 0: 0.18150295899249613 0.19495607 0.026919946 Calling exit ...