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.001936/0.001936, allocations: 93.47 kB / 20.21 MB, free: 4.215 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.002028/0.002028, allocations: 165.6 kB / 23.53 MB, free: 0.8945 MB / 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.559/1.559, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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 1.028/1.028, allocations: 115 MB / 375.3 MB, free: 7.582 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 2.765e-06/2.765e-06, allocations: 3.328 kB / 480.7 MB, free: 12 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.107e-05/3.383e-05, allocations: 4.844 kB / 480.7 MB, free: 12 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.001785/0.001819, allocations: 0.5092 MB / 481.2 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002411/0.004231, allocations: 1.636 MB / 482.9 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.088e-05/0.004282, allocations: 1.469 kB / 482.9 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.004454, allocations: 24.81 kB / 482.9 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.552e-05/0.00448, allocations: 8.453 kB / 482.9 MB, free: 10.59 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.000983/0.005463, allocations: 289.1 kB / 483.2 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.978e-05/0.005543, allocations: 22.55 kB / 483.2 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.517e-05/0.005578, allocations: 1.062 kB / 483.2 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.791e-05/0.005626, allocations: 18.08 kB / 483.2 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.462e-05/0.00567, allocations: 16.73 kB / 483.3 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.005688, allocations: 0.7812 kB / 483.3 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007452/0.006433, allocations: 455.6 kB / 483.7 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.394e-05/0.006497, allocations: 20.98 kB / 483.7 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.006524, allocations: 4.156 kB / 483.7 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005277/0.007052, allocations: 354.4 kB / 484.1 MB, free: 10.22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.007057, allocations: 2.281 kB / 484.1 MB, free: 10.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.007058, allocations: 0 / 484.1 MB, free: 10.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.007065, allocations: 0 / 484.1 MB, free: 10.22 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.0004605/0.007526, allocations: 439.3 kB / 484.5 MB, free: 9.797 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.007568, allocations: 9.375 kB / 484.5 MB, free: 9.797 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.007623, allocations: 12.58 kB / 484.5 MB, free: 9.789 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.007762, allocations: 129.1 kB / 484.6 MB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.007773, allocations: 1.406 kB / 484.7 MB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.007784, allocations: 1.781 kB / 484.7 MB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.068e-05/0.007875, allocations: 32.61 kB / 484.7 MB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.007886, allocations: 1.344 kB / 484.7 MB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.007897, allocations: 3.75 kB / 484.7 MB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.007902, allocations: 4.562 kB / 484.7 MB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.159e-05/0.007924, allocations: 9.281 kB / 484.7 MB, free: 9.602 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.008073, allocations: 135.2 kB / 484.8 MB, free: 9.453 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.708e-05/0.00814, allocations: 29 kB / 484.9 MB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.733e-05/0.008157, allocations: 9.031 kB / 484.9 MB, free: 9.406 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.717e-05/0.008204, allocations: 5.594 kB / 484.9 MB, free: 9.406 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.008229, allocations: 36.39 kB / 484.9 MB, free: 9.363 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/0.00823, allocations: 0 / 484.9 MB, free: 9.363 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001619/0.008392, allocations: 47.56 kB / 485 MB, free: 9.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.008421, allocations: 56.81 kB / 485 MB, free: 9.254 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.008566, allocations: 227.5 kB / 485.2 MB, free: 9.062 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.664e-06/0.008574, allocations: 26.92 kB / 485.3 MB, free: 9.031 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002569/0.008831, allocations: 140.7 kB / 485.4 MB, free: 24.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.316e-05/0.008844, allocations: 1.094 kB / 485.4 MB, free: 24.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.008885, allocations: 36.47 kB / 485.4 MB, free: 24.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002368/0.009121, allocations: 0.4922 MB / 485.9 MB, free: 24.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.595e-05/0.009147, allocations: 8.844 kB / 485.9 MB, free: 24.37 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.072e-05/0.009168, allocations: 12.98 kB / 486 MB, free: 24.37 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.056e-05/0.009219, allocations: 40.94 kB / 486 MB, free: 24.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.009221, allocations: 3.938 kB / 486 MB, free: 24.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001021/0.009323, allocations: 74.97 kB / 486.1 MB, free: 24.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.009338, allocations: 7.75 kB / 486.1 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.009353, allocations: 1.281 kB / 486.1 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.009369, allocations: 0 / 486.1 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.63e-05/0.009385, allocations: 1.25 kB / 486.1 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.00939, allocations: 3.938 kB / 486.1 MB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.389e-05/0.009414, allocations: 10.89 kB / 486.1 MB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.009426, allocations: 4.406 kB / 486.1 MB, free: 24.29 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 0.0001377/0.009564, allocations: 165.7 kB / 486.3 MB, free: 24.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.009576, allocations: 6.203 kB / 486.3 MB, free: 24.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.329e-05/0.00967, allocations: 43.06 kB / 486.3 MB, free: 24.08 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.009671, allocations: 0 / 486.3 MB, free: 24.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.009677, allocations: 4.938 kB / 486.3 MB, free: 24.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.00968, allocations: 0 / 486.3 MB, free: 24.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.456e-05/0.009764, allocations: 136.2 kB / 486.4 MB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.009766, allocations: 0.9062 kB / 486.4 MB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.469e-06/0.00977, allocations: 0 / 486.4 MB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.009772, allocations: 1.125 kB / 486.4 MB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.009777, allocations: 1.25 kB / 486.4 MB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.009779, allocations: 1.094 kB / 486.4 MB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.009781, allocations: 7.984 kB / 486.5 MB, free: 23.92 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.715e-05/0.009858, allocations: 82.11 kB / 486.5 MB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.389e-05/0.009872, allocations: 6.047 kB / 486.5 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.009887, allocations: 8.938 kB / 486.6 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.2e-05/0.009899, allocations: 0 / 486.6 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.009932, allocations: 3 kB / 486.6 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.009937, allocations: 4.938 kB / 486.6 MB, free: 23.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000112/0.01005, allocations: 155.5 kB / 486.7 MB, free: 23.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01005, allocations: 0 / 486.7 MB, free: 23.69 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003379/0.01039, allocations: 88.31 kB / 486.8 MB, free: 23.68 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.000695/0.01108, allocations: 253.3 kB / 487 MB, free: 23.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001392/0.01122, allocations: 67.41 kB / 487.1 MB, free: 23.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.01122, allocations: 4 kB / 487.1 MB, free: 23.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.049e-05/0.01123, allocations: 7.688 kB / 487.1 MB, free: 23.49 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.01137, allocations: 14.22 kB / 487.1 MB, free: 23.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002465/0.01162, allocations: 155.4 kB / 487.3 MB, free: 23.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.092e-05/0.01167, allocations: 78.72 kB / 487.4 MB, free: 23.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.941e-05/0.01169, allocations: 1.312 kB / 487.4 MB, free: 23.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.547e-05/0.01171, allocations: 11.09 kB / 487.4 MB, free: 23.26 MB / 426.7 MB Notification: Performance of SimCode: time 4.6e-07/0.01171, allocations: 0 / 487.4 MB, free: 23.26 MB / 426.7 MB Notification: Performance of Templates: time 0.006032/0.01774, allocations: 2.209 MB / 489.6 MB, free: 23.17 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: 5.657457572990097]