Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.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.0009601/0.0009601, 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.000974/0.000974, allocations: 170.5 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.9322/0.9322, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.6543/0.6543, allocations: 115 MB / 376.8 MB, free: 7.473 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_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d") translateModel(IBPSA.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 482.7 MB, free: 11.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.01e-05, allocations: 2.312 kB / 482.7 MB, free: 11.77 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.001316/0.001336, allocations: 0.517 MB / 483.2 MB, free: 11.49 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00487/0.006206, allocations: 1.648 MB / 484.9 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.015e-05/0.006246, allocations: 1.094 kB / 484.9 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.00643, allocations: 69.11 kB / 484.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.083e-05/0.006471, allocations: 29.72 kB / 485 MB, free: 10.36 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.0007558/0.007226, allocations: 286.2 kB / 485.3 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.211e-05/0.007299, allocations: 32.02 kB / 485.3 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.267e-05/0.007331, allocations: 4.312 kB / 485.3 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.172e-05/0.007373, allocations: 27.83 kB / 485.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.202e-05/0.007425, allocations: 39.61 kB / 485.4 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.007436, allocations: 0 / 485.4 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005473/0.007983, allocations: 452.8 kB / 485.8 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.225e-05/0.008036, allocations: 25.47 kB / 485.8 MB, free: 10.1 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.008054, allocations: 10.16 kB / 485.8 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004011/0.008455, allocations: 365.6 kB / 486.2 MB, free: 9.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.008458, allocations: 2.375 kB / 486.2 MB, free: 9.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.008459, allocations: 0 / 486.2 MB, free: 9.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.008463, allocations: 0 / 486.2 MB, free: 9.98 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.0003173/0.008781, allocations: 468.6 kB / 486.7 MB, free: 9.539 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.008811, allocations: 13.41 kB / 486.7 MB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.597e-05/0.008837, allocations: 13.16 kB / 486.7 MB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.229e-05/0.008929, allocations: 140.7 kB / 486.8 MB, free: 9.379 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-06/0.008937, allocations: 4.625 kB / 486.8 MB, free: 9.379 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-06/0.008942, allocations: 384 / 486.8 MB, free: 9.379 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.704e-05/0.008989, allocations: 31.11 kB / 486.9 MB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-06/0.008995, allocations: 0.8125 kB / 486.9 MB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-06/0.009, allocations: 0.9688 kB / 486.9 MB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.009004, allocations: 3.938 kB / 486.9 MB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.562e-06/0.009011, allocations: 2.781 kB / 486.9 MB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.954e-05/0.0091, allocations: 119.6 kB / 487 MB, free: 9.219 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.585e-05/0.009126, allocations: 27 kB / 487 MB, free: 9.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.167e-06/0.009135, allocations: 16.66 kB / 487 MB, free: 9.164 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.009163, allocations: 7.297 kB / 487 MB, free: 9.164 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.301e-05/0.009176, allocations: 34.11 kB / 487.1 MB, free: 9.121 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.009176, allocations: 1.312 kB / 487.1 MB, free: 9.121 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 8.781e-05/0.009264, allocations: 48.61 kB / 487.1 MB, free: 9.078 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.682e-05/0.009281, allocations: 51.97 kB / 487.2 MB, free: 9.016 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.009394, allocations: 273.3 kB / 487.4 MB, free: 8.801 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.939e-06/0.009399, allocations: 25.7 kB / 487.4 MB, free: 8.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.803e-05/0.009437, allocations: 155.3 kB / 487.6 MB, free: 8.625 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.027e-06/0.009446, allocations: 3.953 kB / 487.6 MB, free: 8.621 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.009481, allocations: 47.17 kB / 487.7 MB, free: 8.586 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002795/0.00976, allocations: 0.4973 MB / 488.1 MB, free: 24.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.987e-05/0.00978, allocations: 10.62 kB / 488.2 MB, free: 24.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.585e-05/0.009796, allocations: 11.23 kB / 488.2 MB, free: 24.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.461e-05/0.009841, allocations: 45.73 kB / 488.2 MB, free: 24.06 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.009842, allocations: 2.062 kB / 488.2 MB, free: 24.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 8.179e-05/0.009924, allocations: 82.27 kB / 488.3 MB, free: 24.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.009935, allocations: 5.062 kB / 488.3 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.009946, allocations: 1.688 kB / 488.3 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.693e-06/0.009953, allocations: 1.094 kB / 488.3 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.788e-06/0.009963, allocations: 0 / 488.3 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.009965, allocations: 2.156 kB / 488.3 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.341e-05/0.009989, allocations: 10.7 kB / 488.3 MB, free: 24.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.009996, allocations: 1.156 kB / 488.3 MB, free: 24.01 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: 10 (labels[1],labels[2],labels[3],labels[4],labels[5],labels[6],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.136e-05/0.01007, allocations: 172.1 kB / 488.5 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.505e-06/0.01008, allocations: 12.28 kB / 488.5 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.317e-05/0.01014, allocations: 44.22 kB / 488.5 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.01014, allocations: 0.6875 kB / 488.5 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.01014, allocations: 1.031 kB / 488.5 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.01015, allocations: 5.375 kB / 488.5 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.728e-05/0.0102, allocations: 117.9 kB / 488.7 MB, free: 23.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.0102, allocations: 9.25 kB / 488.7 MB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.108e-06/0.01021, allocations: 0 / 488.7 MB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.01021, allocations: 2.562 kB / 488.7 MB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-06/0.01021, allocations: 4 kB / 488.7 MB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.01022, allocations: 1.438 kB / 488.7 MB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01022, allocations: 1.438 kB / 488.7 MB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.041e-05/0.01026, allocations: 80.16 kB / 488.8 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.215e-06/0.01027, allocations: 7.828 kB / 488.8 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.085e-06/0.01027, allocations: 6.453 kB / 488.8 MB, free: 23.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-06/0.01028, allocations: 0 / 488.8 MB, free: 23.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.616e-06/0.01029, allocations: 1.312 kB / 488.8 MB, free: 23.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-06/0.01029, allocations: 1.844 kB / 488.8 MB, free: 23.56 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.639e-05/0.01036, allocations: 164.2 kB / 488.9 MB, free: 23.44 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01036, allocations: 0 / 488.9 MB, free: 23.44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002813/0.01064, allocations: 91.69 kB / 489 MB, free: 23.42 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.0003891/0.01103, allocations: 260.8 kB / 489.3 MB, free: 23.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001032/0.01113, allocations: 81.53 kB / 489.4 MB, free: 23.24 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01113, allocations: 3.938 kB / 489.4 MB, free: 23.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.693e-06/0.01114, allocations: 11 kB / 489.4 MB, free: 23.22 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001081/0.01125, allocations: 1.906 kB / 489.4 MB, free: 23.22 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001965/0.01144, allocations: 189.3 kB / 489.6 MB, free: 23.06 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.4e-05/0.01147, allocations: 66.14 kB / 489.6 MB, free: 22.99 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.74e-05/0.01149, allocations: 3.312 kB / 489.6 MB, free: 22.99 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/0.01152, allocations: 69.95 kB / 489.7 MB, free: 22.93 MB / 426.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01152, allocations: 0 / 489.7 MB, free: 22.93 MB / 426.7 MB Notification: Performance of Templates: time 0.004879/0.0164, allocations: 2.613 MB / 492.3 MB, free: 22.76 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.sim & ./IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.56206097593531]