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.001188/0.001188, allocations: 93.06 kB / 19.65 MB, free: 276 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.001413/0.001413, allocations: 169 kB / 23.02 MB, free: 1.551 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.9786/0.9786, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7946/0.7946, allocations: 154.8 MB / 414.7 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 179] 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.783e-06/1.783e-06, allocations: 0 / 0.5205 GB, free: 1.996 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.716e-05/2.894e-05, allocations: 4.422 kB / 0.5205 GB, free: 1.992 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Clustering.Validation.KMeans_2d): time 0.00174/0.001769, allocations: 0.524 MB / 0.521 GB, free: 1.492 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002657/0.004425, allocations: 1.654 MB / 0.5226 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.041e-05/0.004466, allocations: 0 / 0.5226 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.004694, allocations: 64.34 kB / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.872e-05/0.004742, allocations: 28.98 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB [/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.001074/0.005816, allocations: 282.2 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.503e-05/0.005911, allocations: 35.89 kB / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.005952, allocations: 4 kB / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.704e-05/0.006009, allocations: 23.95 kB / 0.5231 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.629e-05/0.006085, allocations: 45.7 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.006101, allocations: 0 / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008171/0.006918, allocations: 455 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.44e-05/0.006982, allocations: 33.67 kB / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.991e-05/0.007012, allocations: 7.938 kB / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005588/0.007571, allocations: 363 kB / 0.5239 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.007575, allocations: 0 / 0.5239 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.252e-06/0.007576, allocations: 0.75 kB / 0.5239 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.007582, allocations: 0 / 0.5239 GB, free: 14.52 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.0005304/0.008112, allocations: 469 kB / 0.5244 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.008161, allocations: 12.03 kB / 0.5244 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.008212, allocations: 8.891 kB / 0.5244 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.008387, allocations: 137.7 kB / 0.5245 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.008398, allocations: 4.375 kB / 0.5245 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.008411, allocations: 384 / 0.5245 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.231e-05/0.008503, allocations: 26.27 kB / 0.5246 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.008514, allocations: 1.688 kB / 0.5246 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.008523, allocations: 4.375 kB / 0.5246 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.008533, allocations: 3.938 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.439e-05/0.008557, allocations: 10.44 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.008738, allocations: 152.6 kB / 0.5247 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.243e-05/0.00879, allocations: 31.05 kB / 0.5247 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.026e-05/0.00881, allocations: 7.688 kB / 0.5248 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.979e-05/0.00886, allocations: 4.062 kB / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.008889, allocations: 37.39 kB / 0.5248 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/0.008891, allocations: 0 / 0.5248 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001514/0.009042, allocations: 50.7 kB / 0.5248 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.009079, allocations: 55.34 kB / 0.5249 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.0093, allocations: 265.2 kB / 0.5252 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.009313, allocations: 25.7 kB / 0.5252 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.167e-05/0.009395, allocations: 160.3 kB / 0.5253 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.009409, allocations: 0 / 0.5253 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.603e-05/0.009465, allocations: 39.36 kB / 0.5254 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.009632, allocations: 0.5001 MB / 0.5259 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.339e-05/0.009665, allocations: 16.92 kB / 0.5259 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.032e-05/0.009685, allocations: 12 kB / 0.5259 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.777e-05/0.009753, allocations: 37.8 kB / 0.5259 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.009756, allocations: 1.031 kB / 0.5259 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001341/0.00989, allocations: 97.47 kB / 0.526 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.009906, allocations: 4.938 kB / 0.526 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.009923, allocations: 0 / 0.526 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.00994, allocations: 4 kB / 0.526 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.714e-05/0.009957, allocations: 3.25 kB / 0.526 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.009963, allocations: 3.938 kB / 0.526 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.344e-05/0.009997, allocations: 11.89 kB / 0.526 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.01001, allocations: 4 kB / 0.526 GB, free: 12.17 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.000105/0.01011, allocations: 163 kB / 0.5262 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.01013, allocations: 11.91 kB / 0.5262 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.01026, allocations: 57.08 kB / 0.5263 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.01026, allocations: 0 / 0.5263 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.01027, allocations: 3.938 kB / 0.5263 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.01027, allocations: 0 / 0.5263 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.01039, allocations: 156.5 kB / 0.5264 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.0104, allocations: 0 / 0.5264 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.975e-06/0.0104, allocations: 0 / 0.5264 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.01041, allocations: 0 / 0.5264 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.01041, allocations: 0 / 0.5264 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.01041, allocations: 1.5 kB / 0.5264 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.01042, allocations: 4 kB / 0.5264 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.26e-05/0.01051, allocations: 80.33 kB / 0.5265 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.797e-05/0.01053, allocations: 12.41 kB / 0.5265 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.01054, allocations: 2.312 kB / 0.5265 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.613e-05/0.01056, allocations: 0 / 0.5265 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.999e-05/0.01058, allocations: 7.922 kB / 0.5265 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.01058, allocations: 7.938 kB / 0.5265 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001104/0.01069, allocations: 168.2 kB / 0.5267 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01069, allocations: 0 / 0.5267 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003995/0.01109, allocations: 91.8 kB / 0.5268 GB, free: 11.35 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.0006525/0.01175, allocations: 263.6 kB / 0.527 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001662/0.01191, allocations: 81.36 kB / 0.5271 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.01191, allocations: 0 / 0.5271 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.589e-05/0.01193, allocations: 12.62 kB / 0.5271 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.0121, allocations: 0 / 0.5271 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.01246, allocations: 189.3 kB / 0.5273 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.653e-05/0.01251, allocations: 75.12 kB / 0.5274 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.574e-05/0.01253, allocations: 7.984 kB / 0.5274 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/0.01256, allocations: 8.5 kB / 0.5274 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of SimCode: time 5.91e-07/0.01256, allocations: 0 / 0.5274 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of Templates: time 0.006287/0.01884, allocations: 2.215 MB / 0.5295 GB, free: 8.59 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.957922709174454]