Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.0006198/0.0006198, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008036/0.001423, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006642/0.0006642, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008011/0.001465, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9783/0.9783, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1098/1.088, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.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.7957/0.7957, allocations: 154.6 MB / 398.5 MB, free: 0.5234 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2717/1.067, allocations: 49.04 MB / 447.6 MB, free: 6.688 MB / 426.7 MB " [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_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_1d") translateModel(IDEAS.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_1d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 448.8 MB, free: 5.441 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.16e-05, allocations: 3.578 kB / 448.8 MB, free: 5.438 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Clustering.Validation.KMeans_1d): time 0.001367/0.001389, allocations: 0.5604 MB / 449.4 MB, free: 4.914 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.003036, allocations: 1.675 MB / 451.1 MB, free: 3.23 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.896e-05/0.003075, allocations: 0 / 451.1 MB, free: 3.23 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 8.889e-05/0.003164, allocations: 24.56 kB / 451.1 MB, free: 3.207 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.104e-05/0.003185, allocations: 11.45 kB / 451.1 MB, free: 3.199 MB / 426.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.001985/0.005169, allocations: 249.5 kB / 451.4 MB, free: 2.961 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 9.081e-05/0.00526, allocations: 24.08 kB / 451.4 MB, free: 2.941 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.712e-05/0.005307, allocations: 5.781 kB / 451.4 MB, free: 2.938 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.069e-05/0.005378, allocations: 21.83 kB / 451.4 MB, free: 2.918 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.487e-05/0.005423, allocations: 13.86 kB / 451.4 MB, free: 2.906 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.005439, allocations: 1.156 kB / 451.4 MB, free: 2.906 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008751/0.006314, allocations: 463.6 kB / 451.9 MB, free: 2.453 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.722e-05/0.006371, allocations: 16.98 kB / 451.9 MB, free: 2.441 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.284e-05/0.006394, allocations: 7.5 kB / 451.9 MB, free: 2.438 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004749/0.006869, allocations: 291.5 kB / 452.2 MB, free: 2.156 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.416e-05/0.006883, allocations: 4.562 kB / 452.2 MB, free: 2.152 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.006884, allocations: 2.219 kB / 452.2 MB, free: 2.152 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.715e-05/0.006901, allocations: 0 / 452.2 MB, free: 2.152 MB / 426.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.0004791/0.00738, allocations: 345.6 kB / 452.5 MB, free: 1.797 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.007418, allocations: 12.03 kB / 452.5 MB, free: 1.785 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.007449, allocations: 4.922 kB / 452.5 MB, free: 1.781 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.007589, allocations: 117.8 kB / 452.7 MB, free: 1.641 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.007598, allocations: 1.781 kB / 452.7 MB, free: 1.641 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.795e-06/0.007605, allocations: 384 / 452.7 MB, free: 1.641 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.391e-05/0.007679, allocations: 33.03 kB / 452.7 MB, free: 1.602 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.007686, allocations: 0.6875 kB / 452.7 MB, free: 1.602 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-06/0.007692, allocations: 4.375 kB / 452.7 MB, free: 1.598 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.007699, allocations: 5.5 kB / 452.7 MB, free: 1.594 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.343e-05/0.007713, allocations: 3.984 kB / 452.7 MB, free: 1.59 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001052/0.007818, allocations: 74.64 kB / 452.8 MB, free: 1.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.709e-05/0.007855, allocations: 15.45 kB / 452.8 MB, free: 1.477 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.146e-05/0.007866, allocations: 4.859 kB / 452.8 MB, free: 1.469 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.652e-05/0.007913, allocations: 4.094 kB / 452.8 MB, free: 1.465 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.007939, allocations: 39.09 kB / 452.8 MB, free: 1.418 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.00794, allocations: 0.75 kB / 452.8 MB, free: 1.418 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 9.936e-05/0.008039, allocations: 38.62 kB / 452.9 MB, free: 1.375 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.008075, allocations: 51.41 kB / 452.9 MB, free: 1.312 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.00821, allocations: 154.6 kB / 453.1 MB, free: 1.148 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.008223, allocations: 26.33 kB / 453.1 MB, free: 1.117 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.754e-05/0.008261, allocations: 93.27 kB / 453.2 MB, free: 1.023 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.181e-05/0.008273, allocations: 3.953 kB / 453.2 MB, free: 1.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.00831, allocations: 25.7 kB / 453.2 MB, free: 0.9883 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.008413, allocations: 331.9 kB / 453.6 MB, free: 0.6562 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.246e-05/0.008435, allocations: 14.77 kB / 453.6 MB, free: 0.6406 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.545e-05/0.008451, allocations: 10.19 kB / 453.6 MB, free: 0.6328 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.826e-05/0.008499, allocations: 32.84 kB / 453.6 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.008503, allocations: 4 kB / 453.6 MB, free: 0.5938 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 8.96e-05/0.008592, allocations: 61.62 kB / 453.7 MB, free: 0.5273 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.008606, allocations: 5.031 kB / 453.7 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.008622, allocations: 0 / 453.7 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.195e-06/0.00863, allocations: 0 / 453.7 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.04e-05/0.00865, allocations: 2.344 kB / 453.7 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.008655, allocations: 4 kB / 453.7 MB, free: 0.5195 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.001e-05/0.008685, allocations: 15.77 kB / 453.7 MB, free: 0.5039 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.008692, allocations: 1 kB / 453.7 MB, free: 0.5039 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 (labels[1],labels[2],labels[3],labels[4],labels[5],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 9.56e-05/0.008788, allocations: 120.7 kB / 453.8 MB, free: 384 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-06/0.008797, allocations: 5.438 kB / 453.8 MB, free: 380 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.636e-05/0.008894, allocations: 37.5 kB / 453.9 MB, free: 332 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.008896, allocations: 0 / 453.9 MB, free: 332 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.008897, allocations: 4.781 kB / 453.9 MB, free: 328 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.0089, allocations: 0 / 453.9 MB, free: 328 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.064e-05/0.008981, allocations: 82.97 kB / 453.9 MB, free: 228 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.008982, allocations: 0 / 453.9 MB, free: 228 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.191e-06/0.008988, allocations: 0 / 453.9 MB, free: 228 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.17e-05/0.009, allocations: 9.688 kB / 454 MB, free: 220 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.009001, allocations: 0.7812 kB / 454 MB, free: 220 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-06/0.009005, allocations: 0 / 454 MB, free: 220 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.009006, allocations: 0.875 kB / 454 MB, free: 220 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.009008, allocations: 0 / 454 MB, free: 220 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.861e-05/0.009077, allocations: 71.78 kB / 454 MB, free: 128 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-06/0.009086, allocations: 0 / 454 MB, free: 128 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.225e-05/0.009098, allocations: 0.625 kB / 454 MB, free: 128 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.07e-05/0.009109, allocations: 0 / 454 MB, free: 128 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.009114, allocations: 4.625 kB / 454 MB, free: 124 kB / 426.7 MB Notification: Performance of sorting global known variables: time 4.195e-05/0.009156, allocations: 36.47 kB / 454.1 MB, free: 88 kB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009156, allocations: 0.625 kB / 454.1 MB, free: 88 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003581/0.009514, allocations: 92.41 kB / 454.2 MB, free: 15.99 MB / 442.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.0006288/0.01014, allocations: 282.5 kB / 454.4 MB, free: 15.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.01026, allocations: 60.14 kB / 454.5 MB, free: 15.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.01026, allocations: 0 / 454.5 MB, free: 15.71 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.484e-06/0.01027, allocations: 8.859 kB / 454.5 MB, free: 15.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.488e-05/0.01035, allocations: 8.844 kB / 454.5 MB, free: 15.69 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002475/0.01059, allocations: 154.6 kB / 454.7 MB, free: 15.51 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.176e-05/0.01064, allocations: 63.94 kB / 454.7 MB, free: 15.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.079e-05/0.01066, allocations: 1.5 kB / 454.7 MB, free: 15.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.973e-05/0.0107, allocations: 51.38 kB / 454.8 MB, free: 15.38 MB / 442.7 MB Notification: Performance of SimCode: time 5.11e-07/0.0107, allocations: 0 / 454.8 MB, free: 15.38 MB / 442.7 MB Notification: Performance of Templates: time 0.005813/0.01651, allocations: 2.603 MB / 457.4 MB, free: 12.97 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_1d.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_1d.pipe ; mkfifo IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_1d.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_1d.pipe >> ../files/IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_1d.sim & ./IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_1d -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.54491719417274]