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.0009984/0.0009984, allocations: 92.11 kB / 20.43 MB, free: 4.145 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.0009198/0.0009198, allocations: 165 kB / 23.8 MB, free: 0.7734 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.9758/0.9758, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.6267/0.6267, allocations: 115 MB / 375.7 MB, free: 7.656 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.864e-06/1.864e-06, allocations: 0.6562 kB / 481.5 MB, free: 11.83 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/2.983e-05, allocations: 4.188 kB / 481.5 MB, free: 11.83 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.001332/0.001362, allocations: 0.5302 MB / 482 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.00325, allocations: 1.651 MB / 483.6 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.594e-05/0.003296, allocations: 3.938 kB / 483.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.003461, allocations: 26.2 kB / 483.7 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.425e-05/0.003485, allocations: 8.578 kB / 483.7 MB, free: 10.42 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.0009318/0.004417, allocations: 284.3 kB / 484 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.869e-05/0.004496, allocations: 21.17 kB / 484 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.004541, allocations: 8.281 kB / 484 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.796e-05/0.004589, allocations: 15.36 kB / 484 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.696e-05/0.004636, allocations: 15.41 kB / 484 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.004651, allocations: 0.9062 kB / 484 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006911/0.005342, allocations: 457.1 kB / 484.5 MB, free: 10.17 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.861e-05/0.005401, allocations: 19.66 kB / 484.5 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/0.005427, allocations: 7.359 kB / 484.5 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000508/0.005935, allocations: 350.4 kB / 484.8 MB, free: 10.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.005938, allocations: 2.406 kB / 484.8 MB, free: 10.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.00594, allocations: 0 / 484.8 MB, free: 10.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.005946, allocations: 0 / 484.8 MB, free: 10.05 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.0004124/0.006359, allocations: 439.2 kB / 485.3 MB, free: 9.633 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.006404, allocations: 9.781 kB / 485.3 MB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.501e-05/0.006449, allocations: 13.47 kB / 485.3 MB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.006573, allocations: 123.8 kB / 485.4 MB, free: 9.488 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.946e-06/0.006582, allocations: 1.406 kB / 485.4 MB, free: 9.488 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.006595, allocations: 5.531 kB / 485.4 MB, free: 9.484 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.832e-05/0.006674, allocations: 33.14 kB / 485.5 MB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.006681, allocations: 0.6875 kB / 485.5 MB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.00669, allocations: 1.438 kB / 485.5 MB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.006699, allocations: 8.656 kB / 485.5 MB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.284e-05/0.006712, allocations: 1.844 kB / 485.5 MB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001381/0.00685, allocations: 134.8 kB / 485.6 MB, free: 9.297 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.756e-05/0.006887, allocations: 29.47 kB / 485.6 MB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.006904, allocations: 11.62 kB / 485.6 MB, free: 9.242 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.993e-05/0.006954, allocations: 9.109 kB / 485.6 MB, free: 9.242 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.006972, allocations: 35.55 kB / 485.7 MB, free: 9.199 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/0.006973, allocations: 0 / 485.7 MB, free: 9.199 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.000126/0.007099, allocations: 37.25 kB / 485.7 MB, free: 9.164 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.109e-05/0.00712, allocations: 56.34 kB / 485.8 MB, free: 9.098 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/0.007442, allocations: 228.9 kB / 486 MB, free: 24.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.00745, allocations: 26.73 kB / 486 MB, free: 24.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.107e-05/0.007502, allocations: 146.2 kB / 486.2 MB, free: 24.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.166e-05/0.007513, allocations: 5.141 kB / 486.2 MB, free: 24.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.007552, allocations: 35.14 kB / 486.2 MB, free: 24.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.007679, allocations: 0.499 MB / 486.7 MB, free: 24.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.648e-05/0.007705, allocations: 9.219 kB / 486.7 MB, free: 24.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.115e-05/0.007726, allocations: 15.97 kB / 486.7 MB, free: 24.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.185e-05/0.007778, allocations: 35.52 kB / 486.8 MB, free: 24.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.007781, allocations: 0 / 486.8 MB, free: 24.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 9.96e-05/0.007881, allocations: 74.72 kB / 486.8 MB, free: 24.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.007902, allocations: 5.312 kB / 486.8 MB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.007924, allocations: 5.234 kB / 486.8 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.007945, allocations: 2 kB / 486.8 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.061e-05/0.007966, allocations: 1.344 kB / 486.8 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.007976, allocations: 7.875 kB / 486.9 MB, free: 24.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.023e-05/0.008006, allocations: 10.42 kB / 486.9 MB, free: 24.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.008019, allocations: 5.312 kB / 486.9 MB, free: 24.11 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.0001067/0.008126, allocations: 159.9 kB / 487 MB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.055e-05/0.008136, allocations: 8.203 kB / 487 MB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.008257, allocations: 43.62 kB / 487.1 MB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.00826, allocations: 0 / 487.1 MB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.008265, allocations: 6.312 kB / 487.1 MB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.008269, allocations: 0 / 487.1 MB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.508e-05/0.008354, allocations: 133.8 kB / 487.2 MB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.008356, allocations: 1.781 kB / 487.2 MB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.874e-06/0.008364, allocations: 5.281 kB / 487.2 MB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.008366, allocations: 0 / 487.2 MB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.008374, allocations: 0 / 487.2 MB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.008376, allocations: 2.156 kB / 487.2 MB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.008377, allocations: 0 / 487.2 MB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.739e-05/0.008444, allocations: 79.91 kB / 487.3 MB, free: 23.67 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.383e-05/0.008458, allocations: 8.062 kB / 487.3 MB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.008472, allocations: 1.531 kB / 487.3 MB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.017e-06/0.008481, allocations: 0.625 kB / 487.3 MB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.955e-05/0.008501, allocations: 3.438 kB / 487.3 MB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.008504, allocations: 6.562 kB / 487.3 MB, free: 23.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.687e-05/0.008581, allocations: 153.9 kB / 487.5 MB, free: 23.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008581, allocations: 0 / 487.5 MB, free: 23.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003889/0.00897, allocations: 88.61 kB / 487.6 MB, free: 23.52 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.000558/0.009528, allocations: 262.5 kB / 487.8 MB, free: 23.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001451/0.009673, allocations: 72.83 kB / 487.9 MB, free: 23.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.009676, allocations: 4 kB / 487.9 MB, free: 23.33 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.346e-06/0.009685, allocations: 11.34 kB / 487.9 MB, free: 23.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/0.009809, allocations: 6.969 kB / 487.9 MB, free: 23.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002568/0.01007, allocations: 149.9 kB / 488.1 MB, free: 23.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.823e-05/0.01009, allocations: 66.94 kB / 488.1 MB, free: 23.11 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.211e-05/0.01012, allocations: 3.312 kB / 488.1 MB, free: 23.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.695e-05/0.01013, allocations: 9.656 kB / 488.1 MB, free: 23.1 MB / 426.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01013, allocations: 3.125 kB / 488.1 MB, free: 23.1 MB / 426.7 MB Notification: Performance of Templates: time 0.005653/0.01579, allocations: 2.2 MB / 490.3 MB, free: 23.03 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.82771976897493]