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.000704/0.000704, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009345/0.001639, allocations: 440 kB / 10.41 MB, free: 284 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.001586/0.001586, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001834/0.003419, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.009/1.009, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08969/1.099, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.7864/0.7864, allocations: 154.6 MB / 398.8 MB, free: 368 kB / 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.3365/1.123, allocations: 49.04 MB / 447.8 MB, free: 6.582 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.473e-06/1.473e-06, allocations: 0 / 449.1 MB, free: 5.309 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.295e-05, allocations: 6.734 kB / 449.1 MB, free: 5.305 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Clustering.Validation.KMeans_1d): time 0.001277/0.0013, allocations: 0.5764 MB / 449.7 MB, free: 4.766 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.002997, allocations: 1.667 MB / 451.4 MB, free: 3.09 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.619e-05/0.003033, allocations: 3.938 kB / 451.4 MB, free: 3.086 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 8.486e-05/0.003118, allocations: 26.92 kB / 451.4 MB, free: 3.062 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.204e-05/0.00314, allocations: 13.02 kB / 451.4 MB, free: 3.051 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.000679/0.003819, allocations: 249.1 kB / 451.6 MB, free: 2.812 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.163e-05/0.00389, allocations: 24.03 kB / 451.7 MB, free: 2.793 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.353e-05/0.003924, allocations: 7.938 kB / 451.7 MB, free: 2.785 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.409e-05/0.003978, allocations: 13.84 kB / 451.7 MB, free: 2.773 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.474e-05/0.004013, allocations: 14.52 kB / 451.7 MB, free: 2.762 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.004025, allocations: 2.938 kB / 451.7 MB, free: 2.762 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006144/0.004639, allocations: 467.8 kB / 452.2 MB, free: 2.305 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.033e-05/0.004689, allocations: 15.83 kB / 452.2 MB, free: 2.293 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.696e-05/0.004706, allocations: 7.281 kB / 452.2 MB, free: 2.289 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003328/0.005039, allocations: 287.8 kB / 452.5 MB, free: 2.012 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.798e-06/0.005049, allocations: 0 / 452.5 MB, free: 2.012 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.00505, allocations: 0 / 452.5 MB, free: 2.012 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.005061, allocations: 1.219 kB / 452.5 MB, free: 2.012 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.0003808/0.005442, allocations: 349.9 kB / 452.8 MB, free: 1.648 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.005472, allocations: 12.03 kB / 452.8 MB, free: 1.637 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.648e-05/0.005499, allocations: 2.188 kB / 452.8 MB, free: 1.637 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.005611, allocations: 121.7 kB / 452.9 MB, free: 1.492 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.903e-06/0.005618, allocations: 384 / 452.9 MB, free: 1.492 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.005628, allocations: 2.812 kB / 452.9 MB, free: 1.492 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.286e-05/0.005691, allocations: 33.09 kB / 453 MB, free: 1.453 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.27e-06/0.005697, allocations: 4.125 kB / 453 MB, free: 1.449 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.399e-06/0.005701, allocations: 384 / 453 MB, free: 1.449 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.005706, allocations: 6.031 kB / 453 MB, free: 1.445 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.975e-06/0.005714, allocations: 3.938 kB / 453 MB, free: 1.441 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.491e-05/0.005809, allocations: 78.67 kB / 453.1 MB, free: 1.348 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.979e-05/0.005838, allocations: 15.23 kB / 453.1 MB, free: 1.324 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.144e-05/0.00585, allocations: 8.953 kB / 453.1 MB, free: 1.312 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001757/0.006026, allocations: 4.906 kB / 453.1 MB, free: 1.309 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.006044, allocations: 30.56 kB / 453.1 MB, free: 1.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.006045, allocations: 1.094 kB / 453.1 MB, free: 1.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 8.577e-05/0.00613, allocations: 41.62 kB / 453.2 MB, free: 1.223 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.006155, allocations: 52.19 kB / 453.2 MB, free: 1.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.099e-05/0.006246, allocations: 154.6 kB / 453.4 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.206e-06/0.006254, allocations: 26.42 kB / 453.4 MB, free: 0.9648 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.287e-05/0.006287, allocations: 88.12 kB / 453.5 MB, free: 0.875 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.183e-05/0.006299, allocations: 8.812 kB / 453.5 MB, free: 0.8672 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/0.006328, allocations: 25.69 kB / 453.5 MB, free: 0.8359 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.01e-05/0.006398, allocations: 323.4 kB / 453.8 MB, free: 0.5117 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.649e-05/0.006414, allocations: 14.83 kB / 453.8 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.233e-05/0.006427, allocations: 12.56 kB / 453.9 MB, free: 496 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.52e-05/0.006462, allocations: 31.66 kB / 453.9 MB, free: 460 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.006463, allocations: 0.6875 kB / 453.9 MB, free: 460 kB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 6.323e-05/0.006527, allocations: 62.84 kB / 454 MB, free: 392 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.006537, allocations: 4 kB / 454 MB, free: 388 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.00655, allocations: 0 / 454 MB, free: 388 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.006561, allocations: 1.859 kB / 454 MB, free: 388 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.465e-05/0.006575, allocations: 4 kB / 454 MB, free: 384 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.006578, allocations: 0 / 454 MB, free: 384 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.881e-05/0.006597, allocations: 16.92 kB / 454 MB, free: 368 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.006605, allocations: 0 / 454 MB, free: 368 kB / 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 7.46e-05/0.00668, allocations: 123.7 kB / 454.1 MB, free: 236 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.021e-06/0.006686, allocations: 3.984 kB / 454.1 MB, free: 232 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.231e-05/0.006778, allocations: 41.44 kB / 454.1 MB, free: 180 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.006782, allocations: 2.391 kB / 454.1 MB, free: 180 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-06/0.006783, allocations: 5.188 kB / 454.1 MB, free: 176 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.006786, allocations: 0 / 454.1 MB, free: 176 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.404e-05/0.00685, allocations: 77.83 kB / 454.2 MB, free: 80 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.006853, allocations: 4.641 kB / 454.2 MB, free: 76 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.638e-06/0.006857, allocations: 0 / 454.2 MB, free: 76 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.156e-06/0.006865, allocations: 8.859 kB / 454.2 MB, free: 68 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.006867, allocations: 0 / 454.2 MB, free: 68 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-06/0.00687, allocations: 0 / 454.2 MB, free: 68 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.006871, allocations: 0.875 kB / 454.2 MB, free: 68 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.006872, allocations: 0 / 454.2 MB, free: 68 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.918e-05/0.006931, allocations: 71.61 kB / 454.3 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.637e-06/0.00694, allocations: 4 kB / 454.3 MB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.203e-06/0.006947, allocations: 0.625 kB / 454.3 MB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.927e-06/0.006956, allocations: 4 kB / 454.3 MB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.006958, allocations: 4.562 kB / 454.3 MB, free: 15.96 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.782e-05/0.006986, allocations: 36.89 kB / 454.4 MB, free: 15.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006986, allocations: 0 / 454.4 MB, free: 15.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002393/0.007225, allocations: 88.42 kB / 454.4 MB, free: 15.84 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.0004679/0.007693, allocations: 279.2 kB / 454.7 MB, free: 15.63 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.793e-05/0.007791, allocations: 58.53 kB / 454.8 MB, free: 15.56 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.007796, allocations: 4 kB / 454.8 MB, free: 15.56 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.031e-06/0.007802, allocations: 4.859 kB / 454.8 MB, free: 15.55 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.368e-05/0.007875, allocations: 10.19 kB / 454.8 MB, free: 15.54 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002022/0.008078, allocations: 166.3 kB / 455 MB, free: 15.36 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.643e-05/0.008114, allocations: 63.34 kB / 455 MB, free: 15.27 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.962e-05/0.008134, allocations: 0 / 455 MB, free: 15.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/0.008166, allocations: 52.41 kB / 455.1 MB, free: 15.22 MB / 442.7 MB Notification: Performance of SimCode: time 5.31e-07/0.008167, allocations: 0 / 455.1 MB, free: 15.22 MB / 442.7 MB Notification: Performance of Templates: time 0.004374/0.01254, allocations: 2.541 MB / 457.6 MB, free: 12.87 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.64118788857013]