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.001403/0.001403, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.000968/0.000968, allocations: 171.8 kB / 24.84 MB, free: 9.254 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 0.9405/0.9405, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.6252/0.6252, allocations: 115 MB / 376.8 MB, free: 7.441 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.603e-06/1.603e-06, allocations: 0.875 kB / 482.7 MB, free: 11.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.6e-05/1.76e-05, allocations: 3.578 kB / 482.7 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.001365/0.001383, allocations: 0.5204 MB / 483.2 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002136/0.003519, allocations: 1.653 MB / 484.9 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.996e-05/0.003559, allocations: 0 / 484.9 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.003706, allocations: 19.92 kB / 484.9 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.691e-05/0.003732, allocations: 8.641 kB / 484.9 MB, free: 10.32 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.0008365/0.004569, allocations: 289.3 kB / 485.2 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.209e-05/0.004641, allocations: 22.11 kB / 485.2 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.18e-05/0.004673, allocations: 1.062 kB / 485.2 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.253e-05/0.004715, allocations: 15.89 kB / 485.2 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.048e-05/0.004756, allocations: 16.2 kB / 485.2 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.00477, allocations: 5.359 kB / 485.3 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006908/0.00546, allocations: 452 kB / 485.7 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.233e-05/0.005513, allocations: 18.61 kB / 485.7 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.937e-05/0.005532, allocations: 12.92 kB / 485.7 MB, free: 10.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004368/0.005969, allocations: 344.4 kB / 486.1 MB, free: 9.957 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.005971, allocations: 0.5938 kB / 486.1 MB, free: 9.957 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.005972, allocations: 1.188 kB / 486.1 MB, free: 9.957 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.005976, allocations: 1.375 kB / 486.1 MB, free: 9.957 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.0003345/0.006311, allocations: 442 kB / 486.5 MB, free: 9.531 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.00635, allocations: 12.19 kB / 486.5 MB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.916e-05/0.006379, allocations: 11.47 kB / 486.5 MB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.006488, allocations: 127.8 kB / 486.6 MB, free: 9.387 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.006497, allocations: 384 / 486.6 MB, free: 9.387 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-06/0.006504, allocations: 1.625 kB / 486.6 MB, free: 9.387 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.033e-05/0.006554, allocations: 39.77 kB / 486.7 MB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.006561, allocations: 1.344 kB / 486.7 MB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.661e-06/0.006566, allocations: 4.359 kB / 486.7 MB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.006572, allocations: 4.5 kB / 486.7 MB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.466e-06/0.006581, allocations: 6.75 kB / 486.7 MB, free: 9.336 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.762e-05/0.006678, allocations: 106.1 kB / 486.8 MB, free: 9.219 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.042e-05/0.006709, allocations: 28.88 kB / 486.8 MB, free: 9.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.099e-05/0.00672, allocations: 9.531 kB / 486.8 MB, free: 9.168 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/0.006753, allocations: 7.594 kB / 486.8 MB, free: 9.168 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.006769, allocations: 36.08 kB / 486.9 MB, free: 9.125 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.00677, allocations: 4.875 kB / 486.9 MB, free: 9.121 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 9.348e-05/0.006863, allocations: 36.19 kB / 486.9 MB, free: 9.086 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.978e-05/0.006883, allocations: 54 kB / 487 MB, free: 9.023 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.006997, allocations: 227.2 kB / 487.2 MB, free: 8.828 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.991e-06/0.007003, allocations: 25.7 kB / 487.2 MB, free: 8.797 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.007188, allocations: 148 kB / 487.4 MB, free: 24.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.858e-06/0.007198, allocations: 5.109 kB / 487.4 MB, free: 24.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.179e-05/0.00724, allocations: 34.39 kB / 487.4 MB, free: 24.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.007368, allocations: 0.4955 MB / 487.9 MB, free: 24.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.007387, allocations: 10.53 kB / 487.9 MB, free: 24.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.571e-05/0.007403, allocations: 7.594 kB / 487.9 MB, free: 24.12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.656e-05/0.00745, allocations: 39.16 kB / 488 MB, free: 24.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.007452, allocations: 1.469 kB / 488 MB, free: 24.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 8.317e-05/0.007535, allocations: 71.16 kB / 488 MB, free: 24.06 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.007549, allocations: 7.719 kB / 488 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.007561, allocations: 0 / 488 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.739e-06/0.007571, allocations: 1.25 kB / 488 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.097e-05/0.007582, allocations: 0 / 488 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.007584, allocations: 0.5 kB / 488 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.483e-05/0.007609, allocations: 16.61 kB / 488.1 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.007616, allocations: 0 / 488.1 MB, free: 24.05 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 (labels[1],labels[2],labels[3],labels[4],labels[5],cluster_size[1],cluster_size[2],cluster_size[3],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 7.66e-05/0.007693, allocations: 162.5 kB / 488.2 MB, free: 23.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-06/0.007702, allocations: 4.641 kB / 488.2 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.865e-05/0.00777, allocations: 47.67 kB / 488.3 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.007773, allocations: 3.5 kB / 488.3 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.007775, allocations: 0.8125 kB / 488.3 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.007779, allocations: 3.938 kB / 488.3 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.855e-05/0.007847, allocations: 111.9 kB / 488.4 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.007849, allocations: 4 kB / 488.4 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-06/0.007851, allocations: 0 / 488.4 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.007852, allocations: 1.25 kB / 488.4 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-06/0.007855, allocations: 0 / 488.4 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.007856, allocations: 0 / 488.4 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.007857, allocations: 1.25 kB / 488.4 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.949e-05/0.007907, allocations: 85.09 kB / 488.5 MB, free: 23.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.007915, allocations: 3.953 kB / 488.5 MB, free: 23.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.007926, allocations: 1.781 kB / 488.5 MB, free: 23.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.859e-06/0.007936, allocations: 0 / 488.5 MB, free: 23.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.839e-06/0.007946, allocations: 3.375 kB / 488.5 MB, free: 23.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-06/0.007948, allocations: 1.094 kB / 488.5 MB, free: 23.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.26e-05/0.008021, allocations: 153.9 kB / 488.6 MB, free: 23.49 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008021, allocations: 0.9062 kB / 488.6 MB, free: 23.49 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000353/0.008374, allocations: 88.47 kB / 488.7 MB, free: 23.48 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.000476/0.00885, allocations: 265.5 kB / 489 MB, free: 23.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001058/0.008956, allocations: 74.8 kB / 489.1 MB, free: 23.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.008957, allocations: 0 / 489.1 MB, free: 23.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.037e-06/0.008966, allocations: 14.19 kB / 489.1 MB, free: 23.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.009108, allocations: 2.625 kB / 489.1 MB, free: 23.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001856/0.009294, allocations: 150.6 kB / 489.2 MB, free: 23.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.377e-05/0.009317, allocations: 59.75 kB / 489.3 MB, free: 23.07 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.704e-05/0.009334, allocations: 7.484 kB / 489.3 MB, free: 23.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.45e-05/0.009369, allocations: 68.73 kB / 489.3 MB, free: 23 MB / 426.7 MB Notification: Performance of SimCode: time 5.21e-07/0.00937, allocations: 0 / 489.3 MB, free: 23 MB / 426.7 MB Notification: Performance of Templates: time 0.005398/0.01477, allocations: 2.593 MB / 491.9 MB, free: 22.83 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.574828995857388]