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.001445/0.001445, allocations: 97.69 kB / 19.59 MB, free: 2.336 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.001256/0.001256, allocations: 191.9 kB / 22.85 MB, free: 5.645 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.302/1.302, allocations: 225.6 MB / 251.6 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] 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.8677/0.8677, allocations: 144.9 MB / 451.7 MB, free: 5.484 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.001837/0.001837, allocations: 68.08 kB / 0.6256 GB, free: 15.53 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1551, allocations: 86.71 MB / 0.7103 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.00161/0.1568, allocations: 0.5204 MB / 0.7108 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002076/0.1588, allocations: 1.63 MB / 0.7124 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.352e-05/0.1589, allocations: 0 / 0.7124 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.159, allocations: 15.92 kB / 0.7124 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.218e-05/0.159, allocations: 11.98 kB / 0.7124 GB, free: 6.633 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.0007871/0.1598, allocations: 275.2 kB / 0.7127 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.481e-05/0.1598, allocations: 23.92 kB / 0.7127 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.245e-05/0.1599, allocations: 3.984 kB / 0.7127 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.9e-05/0.1599, allocations: 15.92 kB / 0.7127 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.204e-05/0.1599, allocations: 19.91 kB / 0.7127 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.297e-06/0.16, allocations: 0 / 0.7127 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006722/0.1606, allocations: 463.2 kB / 0.7132 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.111e-05/0.1607, allocations: 11.98 kB / 0.7132 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.815e-05/0.1607, allocations: 23.81 kB / 0.7132 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003674/0.1611, allocations: 295.1 kB / 0.7135 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1611, allocations: 0 / 0.7135 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1611, allocations: 0 / 0.7135 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.1611, allocations: 0 / 0.7135 GB, free: 5.523 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.0003992/0.1615, allocations: 325.6 kB / 0.7138 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.1615, allocations: 8.031 kB / 0.7138 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.1615, allocations: 8.891 kB / 0.7138 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.1617, allocations: 134.4 kB / 0.7139 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.727e-06/0.1617, allocations: 4.375 kB / 0.7139 GB, free: 5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.1617, allocations: 384 / 0.7139 GB, free: 5 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.198e-05/0.1618, allocations: 45.94 kB / 0.714 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.1618, allocations: 0 / 0.714 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-06/0.1618, allocations: 0 / 0.714 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-06/0.1618, allocations: 0 / 0.714 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.904e-05/0.1618, allocations: 16 kB / 0.714 GB, free: 4.934 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.162, allocations: 144.7 kB / 0.7141 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.015e-05/0.162, allocations: 34.56 kB / 0.7142 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.016e-05/0.1621, allocations: 12.92 kB / 0.7142 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.1621, allocations: 4 kB / 0.7142 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.1621, allocations: 38.44 kB / 0.7142 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.1621, allocations: 0 / 0.7142 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001343/0.1623, allocations: 61.62 kB / 0.7143 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.1623, allocations: 51.41 kB / 0.7143 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.1625, allocations: 185.5 kB / 0.7145 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.1625, allocations: 29.7 kB / 0.7145 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.036e-05/0.1625, allocations: 88.14 kB / 0.7146 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.495e-06/0.1625, allocations: 0 / 0.7146 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.1626, allocations: 29.7 kB / 0.7147 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1627, allocations: 322.8 kB / 0.715 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.24e-05/0.1627, allocations: 39.98 kB / 0.715 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.037e-05/0.1628, allocations: 39.92 kB / 0.715 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.73e-05/0.1629, allocations: 84.83 kB / 0.7151 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1629, allocations: 0 / 0.7151 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001498/0.163, allocations: 133.5 kB / 0.7152 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.163, allocations: 7.938 kB / 0.7153 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.1631, allocations: 4 kB / 0.7153 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1631, allocations: 0 / 0.7153 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.889e-06/0.1631, allocations: 3.938 kB / 0.7153 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.1631, allocations: 0 / 0.7153 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.235e-05/0.1631, allocations: 7.953 kB / 0.7153 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.1631, allocations: 0 / 0.7153 GB, free: 3.516 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.0001145/0.1632, allocations: 129.9 kB / 0.7154 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.1632, allocations: 7.891 kB / 0.7154 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.1633, allocations: 61.42 kB / 0.7155 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-06/0.1633, allocations: 0 / 0.7155 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.1633, allocations: 0 / 0.7155 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.1633, allocations: 0 / 0.7155 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.1635, allocations: 148.7 kB / 0.7156 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1635, allocations: 0 / 0.7156 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.977e-06/0.1635, allocations: 0 / 0.7156 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.1635, allocations: 7.969 kB / 0.7156 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.758e-06/0.1635, allocations: 0 / 0.7156 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1635, allocations: 0 / 0.7156 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.1635, allocations: 0 / 0.7156 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.055e-05/0.1636, allocations: 81.02 kB / 0.7157 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.222e-05/0.1636, allocations: 11.89 kB / 0.7157 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.1636, allocations: 0 / 0.7157 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.309e-05/0.1636, allocations: 7.969 kB / 0.7157 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.202e-05/0.1636, allocations: 3.984 kB / 0.7157 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.1636, allocations: 4 kB / 0.7157 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.802e-05/0.1637, allocations: 120.9 kB / 0.7158 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1637, allocations: 0 / 0.7158 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003056/0.164, allocations: 83.8 kB / 0.7159 GB, free: 2.781 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.0004681/0.1645, allocations: 235.3 kB / 0.7161 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001492/0.1646, allocations: 93.66 kB / 0.7162 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1646, allocations: 0 / 0.7162 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.007e-05/0.1646, allocations: 11.94 kB / 0.7162 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.1648, allocations: 4 kB / 0.7162 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002679/0.165, allocations: 195 kB / 0.7164 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.1653, allocations: 0.7002 MB / 0.7171 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.507e-05/0.1653, allocations: 7.438 kB / 0.7171 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of SimCode: time 3.6e-07/0.1653, allocations: 0 / 0.7171 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of Templates: time 0.004022/0.1694, allocations: 2.263 MB / 0.7193 GB, free: 15.23 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: 8.746352608082816] Failed to read output from testmodel.py, exit status != 0: 0.1760793288704008 0.189494618 0.025685727000000002 Calling exit ...