Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001024/0.001024, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001151/0.001151, allocations: 169 kB / 24.06 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.977/0.977, 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/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.854/0.854, allocations: 154.6 MB / 415.6 MB, free: 0.5352 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Utilities.Clustering.Validation.KMeans_2d") translateModel(IDEAS.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_2d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.5215 GB, free: 1.984 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.473e-05, allocations: 3.188 kB / 0.5215 GB, free: 1.98 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Clustering.Validation.KMeans_2d): time 0.001457/0.001482, allocations: 0.5216 MB / 0.522 GB, free: 1.477 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002151/0.003633, allocations: 1.635 MB / 0.5236 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.571e-05/0.003679, allocations: 0.625 kB / 0.5236 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.003864, allocations: 64.47 kB / 0.5237 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 3.213e-05/0.003896, allocations: 31.94 kB / 0.5237 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.0008358/0.004732, allocations: 288.8 kB / 0.524 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.618e-05/0.004808, allocations: 31.89 kB / 0.524 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.652e-05/0.004845, allocations: 4 kB / 0.524 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.29e-05/0.004888, allocations: 23.97 kB / 0.524 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.532e-05/0.004943, allocations: 43.94 kB / 0.5241 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.004956, allocations: 0 / 0.5241 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005885/0.005544, allocations: 455 kB / 0.5245 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.348e-05/0.005598, allocations: 28.48 kB / 0.5245 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.729e-05/0.005615, allocations: 7.938 kB / 0.5245 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003722/0.005987, allocations: 364.1 kB / 0.5249 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.005989, allocations: 0 / 0.5249 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.62e-07/0.00599, allocations: 0.9688 kB / 0.5249 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.005993, allocations: 0 / 0.5249 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.0003237/0.006317, allocations: 475.6 kB / 0.5253 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.006349, allocations: 9.5 kB / 0.5253 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.283e-05/0.006371, allocations: 8.891 kB / 0.5253 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.646e-05/0.006468, allocations: 132.5 kB / 0.5255 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.27e-06/0.006473, allocations: 1.094 kB / 0.5255 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-06/0.006478, allocations: 384 / 0.5255 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.018e-05/0.006518, allocations: 38.7 kB / 0.5255 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.577e-06/0.006522, allocations: 192 / 0.5255 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-06/0.006526, allocations: 2.344 kB / 0.5255 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.006532, allocations: 7.922 kB / 0.5255 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.991e-06/0.006538, allocations: 0 / 0.5255 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.18e-05/0.006629, allocations: 125.2 kB / 0.5256 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.34e-05/0.006663, allocations: 27.56 kB / 0.5257 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.489e-05/0.006678, allocations: 11.67 kB / 0.5257 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.006707, allocations: 4.781 kB / 0.5257 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.006729, allocations: 45.89 kB / 0.5257 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 6.42e-07/0.00673, allocations: 0 / 0.5257 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 9.346e-05/0.006823, allocations: 39.53 kB / 0.5258 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.006852, allocations: 55.39 kB / 0.5258 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.007007, allocations: 265.1 kB / 0.5261 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.007016, allocations: 25.7 kB / 0.5261 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.945e-05/0.007076, allocations: 165.5 kB / 0.5262 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.765e-06/0.007083, allocations: 4 kB / 0.5263 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.007119, allocations: 39.34 kB / 0.5263 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.007238, allocations: 0.5 MB / 0.5268 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.441e-05/0.007252, allocations: 12 kB / 0.5268 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.213e-05/0.007264, allocations: 9.688 kB / 0.5268 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.398e-05/0.007308, allocations: 47.19 kB / 0.5268 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.00731, allocations: 1.781 kB / 0.5268 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 7.92e-05/0.007389, allocations: 87.64 kB / 0.5269 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.0074, allocations: 4 kB / 0.5269 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.007412, allocations: 0 / 0.5269 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.783e-06/0.007418, allocations: 0 / 0.5269 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.406e-06/0.007427, allocations: 4.938 kB / 0.5269 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.007429, allocations: 0 / 0.5269 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.913e-05/0.007448, allocations: 11.89 kB / 0.527 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.007455, allocations: 4.781 kB / 0.527 GB, free: 12.21 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 (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.156e-05/0.007527, allocations: 161.2 kB / 0.5271 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.007538, allocations: 16.41 kB / 0.5271 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.895e-05/0.007607, allocations: 45.19 kB / 0.5272 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.007608, allocations: 0 / 0.5272 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.00761, allocations: 4 kB / 0.5272 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.007613, allocations: 7.875 kB / 0.5272 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.895e-05/0.007682, allocations: 117.2 kB / 0.5273 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.007684, allocations: 0 / 0.5273 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.647e-06/0.007687, allocations: 4 kB / 0.5273 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.007689, allocations: 0 / 0.5273 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-06/0.007692, allocations: 3.125 kB / 0.5273 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.007693, allocations: 0 / 0.5273 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.007694, allocations: 0 / 0.5273 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.069e-05/0.007745, allocations: 80.27 kB / 0.5274 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-06/0.007753, allocations: 11.91 kB / 0.5274 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.345e-06/0.007762, allocations: 4 kB / 0.5274 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.324e-06/0.007769, allocations: 0 / 0.5274 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-06/0.007777, allocations: 0 / 0.5274 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-06/0.007778, allocations: 1.812 kB / 0.5274 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.271e-05/0.007841, allocations: 175.3 kB / 0.5276 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.007841, allocations: 0 / 0.5276 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002641/0.008105, allocations: 91.8 kB / 0.5276 GB, free: 11.45 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.0004356/0.00854, allocations: 265.8 kB / 0.5279 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.327e-05/0.008634, allocations: 79.66 kB / 0.528 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.008636, allocations: 0 / 0.528 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-05/0.008646, allocations: 19.61 kB / 0.528 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.496e-05/0.008741, allocations: 5.562 kB / 0.528 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001908/0.008931, allocations: 182.9 kB / 0.5282 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.365e-05/0.008965, allocations: 71.19 kB / 0.5282 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.433e-05/0.008979, allocations: 7.938 kB / 0.5282 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/0.009013, allocations: 66.2 kB / 0.5283 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of SimCode: time 5.81e-07/0.009014, allocations: 0 / 0.5283 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of Templates: time 0.005133/0.01415, allocations: 2.605 MB / 0.5309 GB, free: 8.281 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_2d.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_2d.pipe ; mkfifo IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_2d.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_2d.pipe >> ../files/IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_2d.sim & ./IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_2d -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8216745192185044]