Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001245/0.001245, allocations: 84.22 kB / 20.94 MB, free: 3.605 MB / 18.57 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.001386/0.001386, allocations: 169 kB / 24.25 MB, free: 304 kB / 18.57 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.064/1.064, allocations: 177.1 MB / 204.6 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6397/0.6397, allocations: 115 MB / 376 MB, free: 7.629 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d") translateModel(IBPSA.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 3.469 kB / 481.5 MB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/2.044e-05, allocations: 2.312 kB / 481.5 MB, free: 11.94 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.001038/0.001059, allocations: 0.5284 MB / 482 MB, free: 11.65 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.0028, allocations: 1.652 MB / 483.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.08e-05/0.002841, allocations: 4.844 kB / 483.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.002985, allocations: 14.61 kB / 483.7 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.138e-05/0.003006, allocations: 15.03 kB / 483.7 MB, free: 10.53 MB / 410.7 MB [/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'. Notification: Performance of NFTyping.typeClassSections: time 0.0006835/0.00369, allocations: 282 kB / 484 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.851e-05/0.003758, allocations: 24.95 kB / 484 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.58e-05/0.003794, allocations: 1.844 kB / 484 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.955e-05/0.003834, allocations: 15.14 kB / 484 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.663e-05/0.00387, allocations: 14.05 kB / 484 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.003885, allocations: 0 / 484 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004996/0.004385, allocations: 456.5 kB / 484.5 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.945e-05/0.004434, allocations: 22.59 kB / 484.5 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.136e-05/0.004456, allocations: 4.75 kB / 484.5 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003549/0.004811, allocations: 353.1 kB / 484.8 MB, free: 10.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.004813, allocations: 3.25 kB / 484.8 MB, free: 10.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.004814, allocations: 2.156 kB / 484.8 MB, free: 10.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.004818, allocations: 0 / 484.8 MB, free: 10.16 MB / 410.7 MB 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.0003059/0.005124, allocations: 439.3 kB / 485.3 MB, free: 9.742 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.005158, allocations: 9.625 kB / 485.3 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.005197, allocations: 12.34 kB / 485.3 MB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.005313, allocations: 132.8 kB / 485.4 MB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.00532, allocations: 384 / 485.4 MB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.005331, allocations: 2.25 kB / 485.4 MB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.405e-05/0.005395, allocations: 33.27 kB / 485.4 MB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.809e-06/0.0054, allocations: 1.375 kB / 485.4 MB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.005407, allocations: 384 / 485.4 MB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.005414, allocations: 3.938 kB / 485.4 MB, free: 9.551 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.266e-05/0.005427, allocations: 7.984 kB / 485.5 MB, free: 9.547 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001088/0.005536, allocations: 137 kB / 485.6 MB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.372e-05/0.005569, allocations: 28.38 kB / 485.6 MB, free: 9.359 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.723e-05/0.005587, allocations: 12.91 kB / 485.6 MB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.317e-05/0.00563, allocations: 9.531 kB / 485.6 MB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.005646, allocations: 34.52 kB / 485.7 MB, free: 9.301 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.005647, allocations: 0 / 485.7 MB, free: 9.301 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001183/0.005765, allocations: 41.3 kB / 485.7 MB, free: 9.266 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.005788, allocations: 56.28 kB / 485.8 MB, free: 9.199 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.005901, allocations: 227.5 kB / 486 MB, free: 9.008 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.112e-06/0.005907, allocations: 26.92 kB / 486 MB, free: 8.977 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.811e-05/0.005945, allocations: 143.2 kB / 486.2 MB, free: 8.836 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.09e-05/0.005956, allocations: 5.047 kB / 486.2 MB, free: 8.832 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.005991, allocations: 33.09 kB / 486.2 MB, free: 8.805 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000284/0.006275, allocations: 0.4966 MB / 486.7 MB, free: 24.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.398e-05/0.006299, allocations: 12.94 kB / 486.7 MB, free: 24.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.721e-05/0.006316, allocations: 14.31 kB / 486.7 MB, free: 24.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.556e-05/0.006362, allocations: 33.61 kB / 486.8 MB, free: 24.28 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.006364, allocations: 1.031 kB / 486.8 MB, free: 24.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 7.595e-05/0.00644, allocations: 68.66 kB / 486.8 MB, free: 24.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.006453, allocations: 7.844 kB / 486.8 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.006468, allocations: 0 / 486.8 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.00648, allocations: 3.938 kB / 486.8 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.093e-05/0.006491, allocations: 2.438 kB / 486.8 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.006497, allocations: 6.703 kB / 486.8 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.632e-05/0.006513, allocations: 10.86 kB / 486.9 MB, free: 24.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.443e-06/0.006519, allocations: 1.25 kB / 486.9 MB, free: 24.23 MB / 426.7 MB 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 6.492e-05/0.006584, allocations: 161.5 kB / 487 MB, free: 24.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-06/0.00659, allocations: 8.516 kB / 487 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.438e-05/0.006655, allocations: 43.41 kB / 487.1 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.006656, allocations: 0 / 487.1 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.00666, allocations: 7.266 kB / 487.1 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.006663, allocations: 2.469 kB / 487.1 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.109e-05/0.006714, allocations: 128.5 kB / 487.2 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.006715, allocations: 4 kB / 487.2 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.406e-06/0.006718, allocations: 5.312 kB / 487.2 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.006719, allocations: 0 / 487.2 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.006725, allocations: 2.969 kB / 487.2 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.006726, allocations: 3.938 kB / 487.2 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.006727, allocations: 0 / 487.2 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.034e-05/0.006768, allocations: 82 kB / 487.3 MB, free: 23.78 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.413e-06/0.006775, allocations: 6.547 kB / 487.3 MB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.437e-06/0.006784, allocations: 1.219 kB / 487.3 MB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.251e-06/0.006791, allocations: 0 / 487.3 MB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.333e-05/0.006804, allocations: 4.25 kB / 487.3 MB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-06/0.006806, allocations: 3.938 kB / 487.3 MB, free: 23.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.081e-05/0.006866, allocations: 154.8 kB / 487.5 MB, free: 23.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006866, allocations: 1.438 kB / 487.5 MB, free: 23.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002742/0.007141, allocations: 86.67 kB / 487.5 MB, free: 23.63 MB / 426.7 MB 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.0005734/0.007714, allocations: 275.4 kB / 487.8 MB, free: 23.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001481/0.007862, allocations: 72.02 kB / 487.9 MB, free: 23.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.007864, allocations: 1.375 kB / 487.9 MB, free: 23.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.853e-06/0.007871, allocations: 8.938 kB / 487.9 MB, free: 23.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001128/0.007984, allocations: 5.188 kB / 487.9 MB, free: 23.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002342/0.008218, allocations: 151.7 kB / 488 MB, free: 23.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.59e-05/0.008244, allocations: 66.36 kB / 488.1 MB, free: 23.22 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.732e-05/0.008261, allocations: 3.5 kB / 488.1 MB, free: 23.22 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.391e-05/0.008275, allocations: 9.5 kB / 488.1 MB, free: 23.21 MB / 426.7 MB Notification: Performance of SimCode: time 8.41e-07/0.008276, allocations: 0 / 488.1 MB, free: 23.21 MB / 426.7 MB Notification: Performance of Templates: time 0.004586/0.01286, allocations: 2.205 MB / 490.3 MB, free: 23.12 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.sim & ./IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6298349709250033]