Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001883/0.001883, allocations: 88.72 kB / 19.44 MB, free: 332 kB / 13.93 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.002566/0.002566, allocations: 157.7 kB / 22.75 MB, free: 1.66 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.48/1.48, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.215/1.215, allocations: 154.8 MB / 414.3 MB, free: 460 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d") translateModel(IDEAS.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0.6562 kB / 0.5198 GB, free: 2.32 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.086e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.316 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Clustering.Validation.KMeans_2d): time 0.001557/0.001587, allocations: 0.5181 MB / 0.5203 GB, free: 1.82 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002683/0.004271, allocations: 1.615 MB / 0.5219 GB, free: 196 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.626e-05/0.004307, allocations: 7.938 kB / 0.5219 GB, free: 188 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004406/0.004748, allocations: 57.38 kB / 0.522 GB, free: 132 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.967e-05/0.004797, allocations: 35.88 kB / 0.522 GB, free: 96 kB / 490.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.00104/0.005837, allocations: 278.5 kB / 0.5223 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.831e-05/0.005926, allocations: 31.89 kB / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.599e-05/0.005972, allocations: 4 kB / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.133e-05/0.006043, allocations: 23.97 kB / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.073e-05/0.006124, allocations: 40.62 kB / 0.5224 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.00614, allocations: 7.219 kB / 0.5224 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008308/0.00697, allocations: 459 kB / 0.5228 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.513e-05/0.007036, allocations: 27.92 kB / 0.5228 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.998e-05/0.007066, allocations: 7.938 kB / 0.5228 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000543/0.007609, allocations: 359 kB / 0.5232 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.007616, allocations: 3.984 kB / 0.5232 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.253e-06/0.007618, allocations: 0 / 0.5232 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.007622, allocations: 0.5625 kB / 0.5232 GB, free: 14.88 MB / 0.4948 GB 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.0005647/0.008187, allocations: 362 kB / 0.5235 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.008226, allocations: 8.031 kB / 0.5235 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.616e-05/0.008273, allocations: 9.672 kB / 0.5235 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.008472, allocations: 137.4 kB / 0.5237 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.008485, allocations: 5.844 kB / 0.5237 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.008493, allocations: 384 / 0.5237 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.008594, allocations: 42.25 kB / 0.5237 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.008602, allocations: 1.125 kB / 0.5237 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-06/0.00861, allocations: 384 / 0.5237 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.008617, allocations: 3.938 kB / 0.5237 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.01e-05/0.008657, allocations: 21.27 kB / 0.5237 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001962/0.008853, allocations: 137.2 kB / 0.5239 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.897e-05/0.008922, allocations: 34.5 kB / 0.5239 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.992e-05/0.008952, allocations: 14.2 kB / 0.5239 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.785e-05/0.00899, allocations: 7.984 kB / 0.5239 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.009022, allocations: 30.56 kB / 0.524 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.009023, allocations: 0.8125 kB / 0.524 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001854/0.009209, allocations: 69.62 kB / 0.524 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.00926, allocations: 60.62 kB / 0.5241 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.009498, allocations: 216.9 kB / 0.5243 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.009517, allocations: 25.7 kB / 0.5243 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.358e-05/0.009601, allocations: 109.4 kB / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.526e-06/0.009609, allocations: 0 / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.009661, allocations: 29.7 kB / 0.5244 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.009847, allocations: 322.8 kB / 0.5248 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.941e-05/0.009926, allocations: 56.77 kB / 0.5248 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.798e-05/0.009994, allocations: 57.66 kB / 0.5249 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.01011, allocations: 86.19 kB / 0.5249 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01011, allocations: 0 / 0.5249 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000214/0.01032, allocations: 167.2 kB / 0.5251 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.01034, allocations: 8 kB / 0.5251 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.01036, allocations: 7.922 kB / 0.5251 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.01038, allocations: 0 / 0.5251 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.239e-05/0.01039, allocations: 0 / 0.5251 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.0104, allocations: 6.688 kB / 0.5251 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.045e-05/0.01043, allocations: 11.89 kB / 0.5251 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.01044, allocations: 0 / 0.5251 GB, free: 12.73 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (cluster_size[3],cluster_size[2],cluster_size[1],labels[6],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.0001867/0.01062, allocations: 133.8 kB / 0.5253 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.01064, allocations: 7.953 kB / 0.5253 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.01079, allocations: 66.94 kB / 0.5253 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.01079, allocations: 4 kB / 0.5253 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.0108, allocations: 3.938 kB / 0.5253 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.0108, allocations: 1.031 kB / 0.5253 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.01094, allocations: 129.3 kB / 0.5255 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.01094, allocations: 0.8438 kB / 0.5255 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.692e-06/0.01095, allocations: 4 kB / 0.5255 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.01095, allocations: 4.484 kB / 0.5255 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.01096, allocations: 0 / 0.5255 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.01096, allocations: 4.75 kB / 0.5255 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01096, allocations: 0 / 0.5255 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.01107, allocations: 86.55 kB / 0.5256 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.721e-05/0.01109, allocations: 11.91 kB / 0.5256 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.0111, allocations: 0 / 0.5256 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.657e-05/0.01112, allocations: 4 kB / 0.5256 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.158e-05/0.01113, allocations: 2.438 kB / 0.5256 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.01114, allocations: 7.922 kB / 0.5256 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001472/0.01129, allocations: 148.3 kB / 0.5257 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01129, allocations: 0 / 0.5257 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003495/0.01164, allocations: 87.8 kB / 0.5258 GB, free: 11.98 MB / 0.4948 GB 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.0006519/0.01229, allocations: 252.8 kB / 0.5261 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002073/0.01249, allocations: 122.4 kB / 0.5262 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.0125, allocations: 4 kB / 0.5262 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.913e-05/0.01252, allocations: 9.125 kB / 0.5262 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.01268, allocations: 7.984 kB / 0.5262 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.01307, allocations: 217.1 kB / 0.5264 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.01318, allocations: 96.41 kB / 0.5265 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.75e-05/0.01319, allocations: 0 / 0.5265 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.01322, allocations: 9.969 kB / 0.5265 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/0.01322, allocations: 0 / 0.5265 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of Templates: time 0.006113/0.01933, allocations: 2.219 MB / 0.5287 GB, free: 9.141 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d.sim & ./IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.791152952006087]