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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 213.3 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.389/1.389, allocations: 230.6 MB / 256 MB, free: 7.789 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.9033/0.9033, allocations: 145 MB / 457.4 MB, free: 15.28 MB / 366.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 66.52 kB / 0.6335 GB, free: 6.254 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1613, allocations: 87.89 MB / 0.7194 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.001656/0.1629, allocations: 0.5173 MB / 0.7199 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002421/0.1653, allocations: 1.603 MB / 0.7214 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.665e-05/0.1654, allocations: 4 kB / 0.7214 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.1655, allocations: 19.92 kB / 0.7215 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.807e-05/0.1655, allocations: 11.92 kB / 0.7215 GB, free: 12.2 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.0008858/0.1664, allocations: 267.3 kB / 0.7217 GB, free: 11.94 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.227e-05/0.1665, allocations: 19.92 kB / 0.7217 GB, free: 11.92 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.523e-05/0.1665, allocations: 4 kB / 0.7217 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.949e-05/0.1665, allocations: 15.92 kB / 0.7218 GB, free: 11.9 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.316e-05/0.1666, allocations: 19.91 kB / 0.7218 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.1666, allocations: 3.984 kB / 0.7218 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007557/0.1674, allocations: 427.2 kB / 0.7222 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.855e-05/0.1674, allocations: 31.86 kB / 0.7222 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.39e-05/0.1674, allocations: 11.88 kB / 0.7222 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004186/0.1679, allocations: 279.3 kB / 0.7225 GB, free: 11.14 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1679, allocations: 0 / 0.7225 GB, free: 11.14 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1679, allocations: 0 / 0.7225 GB, free: 11.14 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.1679, allocations: 0 / 0.7225 GB, free: 11.14 MB / 0.545 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.0004211/0.1683, allocations: 337.5 kB / 0.7228 GB, free: 10.78 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.1683, allocations: 12.03 kB / 0.7228 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.1683, allocations: 4.891 kB / 0.7228 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.1685, allocations: 122.4 kB / 0.723 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.1685, allocations: 4.375 kB / 0.723 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.1685, allocations: 4.375 kB / 0.723 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.401e-05/0.1686, allocations: 46 kB / 0.723 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.1686, allocations: 0 / 0.723 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.1686, allocations: 0 / 0.723 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.1686, allocations: 0 / 0.723 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.79e-05/0.1686, allocations: 12 kB / 0.723 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001622/0.1688, allocations: 133.2 kB / 0.7231 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.838e-05/0.1689, allocations: 26.52 kB / 0.7232 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.295e-05/0.1689, allocations: 12.91 kB / 0.7232 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.534e-05/0.1689, allocations: 15.98 kB / 0.7232 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.1689, allocations: 34.56 kB / 0.7232 GB, free: 10.28 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.1689, allocations: 0 / 0.7232 GB, free: 10.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001475/0.1691, allocations: 65.58 kB / 0.7233 GB, free: 10.21 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.1691, allocations: 55.39 kB / 0.7233 GB, free: 10.14 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.1693, allocations: 169.2 kB / 0.7235 GB, free: 9.973 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.1693, allocations: 25.7 kB / 0.7235 GB, free: 9.941 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.1694, allocations: 100.1 kB / 0.7236 GB, free: 9.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.316e-06/0.1694, allocations: 0 / 0.7236 GB, free: 9.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.1694, allocations: 25.7 kB / 0.7236 GB, free: 9.809 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1696, allocations: 318.8 kB / 0.724 GB, free: 9.488 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.433e-05/0.1696, allocations: 44.09 kB / 0.724 GB, free: 9.445 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.511e-05/0.1697, allocations: 43.98 kB / 0.724 GB, free: 9.402 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.149e-05/0.1697, allocations: 68.88 kB / 0.7241 GB, free: 9.332 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1697, allocations: 0 / 0.7241 GB, free: 9.332 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000153/0.1699, allocations: 121.6 kB / 0.7242 GB, free: 9.207 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1699, allocations: 8 kB / 0.7242 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.1699, allocations: 3.938 kB / 0.7242 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.1699, allocations: 0 / 0.7242 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.284e-05/0.1699, allocations: 7.922 kB / 0.7242 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.1699, allocations: 0 / 0.7242 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.742e-05/0.17, allocations: 15.89 kB / 0.7243 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.17, allocations: 8 kB / 0.7243 GB, free: 9.164 MB / 0.545 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.0001283/0.1701, allocations: 125.8 kB / 0.7244 GB, free: 9.031 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.1701, allocations: 7.953 kB / 0.7244 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.1702, allocations: 65.38 kB / 0.7244 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1702, allocations: 4 kB / 0.7245 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.1702, allocations: 0 / 0.7245 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1702, allocations: 3.984 kB / 0.7245 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.1703, allocations: 121.3 kB / 0.7246 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1703, allocations: 0 / 0.7246 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.519e-06/0.1703, allocations: 4.031 kB / 0.7246 GB, free: 8.789 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.706e-06/0.1703, allocations: 4 kB / 0.7246 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-06/0.1704, allocations: 0 / 0.7246 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.1704, allocations: 7.875 kB / 0.7246 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1704, allocations: 0 / 0.7246 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.685e-05/0.1704, allocations: 77.09 kB / 0.7247 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.1705, allocations: 7.953 kB / 0.7247 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.1705, allocations: 0 / 0.7247 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.631e-05/0.1705, allocations: 7.938 kB / 0.7247 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.366e-06/0.1705, allocations: 0 / 0.7247 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.1705, allocations: 4.031 kB / 0.7247 GB, free: 8.664 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.341e-05/0.1706, allocations: 123.2 kB / 0.7248 GB, free: 8.543 MB / 0.545 GB Notification: Performance of sort global known variables: time 5e-08/0.1706, allocations: 0 / 0.7248 GB, free: 8.543 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003028/0.1709, allocations: 87.8 kB / 0.7249 GB, free: 8.457 MB / 0.545 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.0004988/0.1714, allocations: 239.8 kB / 0.7251 GB, free: 8.242 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001534/0.1715, allocations: 93.61 kB / 0.7252 GB, free: 8.145 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1715, allocations: 0 / 0.7252 GB, free: 8.145 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.764e-05/0.1716, allocations: 15.92 kB / 0.7252 GB, free: 8.129 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.1717, allocations: 1.203 kB / 0.7252 GB, free: 8.129 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000279/0.172, allocations: 169.1 kB / 0.7254 GB, free: 7.938 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.267e-05/0.1721, allocations: 83.06 kB / 0.7255 GB, free: 7.836 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.557e-05/0.1721, allocations: 0 / 0.7255 GB, free: 7.836 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.835e-05/0.1721, allocations: 11.56 kB / 0.7255 GB, free: 7.824 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.1721, allocations: 4 kB / 0.7255 GB, free: 7.82 MB / 0.545 GB Notification: Performance of Templates: time 0.005174/0.1773, allocations: 2.108 MB / 0.7275 GB, free: 5.715 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: 5.4442393258214] Failed to read output from testmodel.py, exit status != 0: 0.18578479811549187 0.19990227600000002 0.029044547 Calling exit ...