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.001367/0.001367, allocations: 73.88 kB / 20.65 MB, free: 3.848 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.001533/0.001533, allocations: 169 kB / 24.05 MB, free: 456 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 0.9578/0.9578, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.6818/0.6818, allocations: 115 MB / 376 MB, free: 7.516 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 2.024e-06/2.024e-06, allocations: 0 / 481.9 MB, free: 11.72 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/2.021e-05, allocations: 2.312 kB / 481.9 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.001093/0.001114, allocations: 0.526 MB / 482.4 MB, free: 11.42 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.002928, allocations: 1.648 MB / 484.1 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.177e-05/0.00297, allocations: 0 / 484.1 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001767/0.003147, allocations: 64.19 kB / 484.2 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.059e-05/0.003177, allocations: 26.05 kB / 484.2 MB, free: 10.3 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.0006869/0.003864, allocations: 284.9 kB / 484.5 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.076e-05/0.003935, allocations: 30.64 kB / 484.5 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.187e-05/0.003967, allocations: 7.172 kB / 484.5 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.517e-05/0.004012, allocations: 23.59 kB / 484.5 MB, free: 10.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.27e-05/0.004065, allocations: 47.27 kB / 484.6 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.004077, allocations: 1.812 kB / 484.6 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000519/0.004596, allocations: 451.7 kB / 485 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.588e-05/0.004642, allocations: 24.64 kB / 485 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.809e-05/0.00466, allocations: 15.64 kB / 485.1 MB, free: 10.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.004979, allocations: 363.8 kB / 485.4 MB, free: 9.914 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.004981, allocations: 2.438 kB / 485.4 MB, free: 9.914 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.004982, allocations: 0 / 485.4 MB, free: 9.914 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.004985, allocations: 0 / 485.4 MB, free: 9.914 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.000486/0.005471, allocations: 469 kB / 485.9 MB, free: 25.47 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.00551, allocations: 9.906 kB / 485.9 MB, free: 25.47 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.005542, allocations: 14.72 kB / 485.9 MB, free: 25.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.005643, allocations: 135.9 kB / 486 MB, free: 25.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.005652, allocations: 1.562 kB / 486 MB, free: 25.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-06/0.00566, allocations: 5.516 kB / 486 MB, free: 25.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.088e-05/0.005721, allocations: 27.67 kB / 486.1 MB, free: 25.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.005729, allocations: 1.469 kB / 486.1 MB, free: 25.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-06/0.005735, allocations: 1.531 kB / 486.1 MB, free: 25.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.005742, allocations: 7.219 kB / 486.1 MB, free: 25.28 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.376e-06/0.00575, allocations: 6.469 kB / 486.1 MB, free: 25.28 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001176/0.005868, allocations: 121.3 kB / 486.2 MB, free: 25.15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.83e-05/0.005896, allocations: 29.78 kB / 486.2 MB, free: 25.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.235e-05/0.005908, allocations: 9.281 kB / 486.2 MB, free: 25.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.381e-05/0.005952, allocations: 12.53 kB / 486.2 MB, free: 25.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/0.005968, allocations: 35.23 kB / 486.3 MB, free: 25.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.005969, allocations: 0.9375 kB / 486.3 MB, free: 25.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 8.905e-05/0.006058, allocations: 45.48 kB / 486.3 MB, free: 25.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.64e-05/0.006074, allocations: 57.12 kB / 486.4 MB, free: 24.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.006181, allocations: 265.5 kB / 486.6 MB, free: 24.74 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.144e-06/0.006188, allocations: 29.7 kB / 486.7 MB, free: 24.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.702e-05/0.006235, allocations: 157.8 kB / 486.8 MB, free: 24.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.104e-06/0.006242, allocations: 3.953 kB / 486.8 MB, free: 24.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.006271, allocations: 35.16 kB / 486.9 MB, free: 24.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.006375, allocations: 0.5076 MB / 487.4 MB, free: 24.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.423e-05/0.006389, allocations: 10.19 kB / 487.4 MB, free: 24.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.463e-05/0.006404, allocations: 7.562 kB / 487.4 MB, free: 24.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.964e-05/0.006444, allocations: 41.64 kB / 487.4 MB, free: 24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.006445, allocations: 1.156 kB / 487.4 MB, free: 24 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 7.245e-05/0.006517, allocations: 87.88 kB / 487.5 MB, free: 23.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.006528, allocations: 4.406 kB / 487.5 MB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.006539, allocations: 3.344 kB / 487.5 MB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.00655, allocations: 0 / 487.5 MB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.241e-05/0.006562, allocations: 2.656 kB / 487.5 MB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-06/0.006565, allocations: 3.984 kB / 487.5 MB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.908e-05/0.006584, allocations: 14.36 kB / 487.5 MB, free: 23.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.006591, allocations: 5.219 kB / 487.5 MB, free: 23.93 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.188e-05/0.006662, allocations: 162.8 kB / 487.7 MB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-06/0.00667, allocations: 11.62 kB / 487.7 MB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.758e-05/0.006738, allocations: 47.69 kB / 487.8 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.006739, allocations: 1.188 kB / 487.8 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.006741, allocations: 0.8125 kB / 487.8 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.006743, allocations: 3.938 kB / 487.8 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.54e-05/0.006799, allocations: 120.8 kB / 487.9 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.0068, allocations: 0 / 487.9 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.246e-06/0.006803, allocations: 4.406 kB / 487.9 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-06/0.006804, allocations: 0.6875 kB / 487.9 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-06/0.006807, allocations: 0 / 487.9 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.006808, allocations: 3.094 kB / 487.9 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.006808, allocations: 0 / 487.9 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.705e-05/0.006845, allocations: 81.44 kB / 488 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.328e-06/0.006855, allocations: 7.578 kB / 488 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.883e-06/0.006862, allocations: 1.938 kB / 488 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.813e-06/0.006868, allocations: 1.25 kB / 488 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.105e-06/0.006876, allocations: 5.188 kB / 488 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.006878, allocations: 0 / 488 MB, free: 23.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.135e-05/0.006939, allocations: 170.8 kB / 488.2 MB, free: 23.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006939, allocations: 2.75 kB / 488.2 MB, free: 23.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002244/0.007164, allocations: 90.17 kB / 488.2 MB, free: 23.35 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.0003516/0.007515, allocations: 263.7 kB / 488.5 MB, free: 23.22 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.005e-05/0.007605, allocations: 77.44 kB / 488.6 MB, free: 23.17 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.007607, allocations: 0 / 488.6 MB, free: 23.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.352e-06/0.007613, allocations: 13.03 kB / 488.6 MB, free: 23.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.634e-05/0.007709, allocations: 4.625 kB / 488.6 MB, free: 23.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000169/0.007878, allocations: 187.9 kB / 488.8 MB, free: 23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.178e-05/0.0079, allocations: 70.2 kB / 488.8 MB, free: 22.92 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.315e-05/0.007913, allocations: 1.344 kB / 488.8 MB, free: 22.92 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.007943, allocations: 69.89 kB / 488.9 MB, free: 22.86 MB / 426.7 MB Notification: Performance of SimCode: time 3.71e-07/0.007944, allocations: 1.469 kB / 488.9 MB, free: 22.86 MB / 426.7 MB Notification: Performance of Templates: time 0.003946/0.01189, allocations: 2.609 MB / 491.5 MB, free: 22.68 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.4091243180446327]