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.001028/0.001028, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009634/0.0009634, allocations: 173 kB / 23.36 MB, free: 1.129 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.9448/0.9448, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.7311/0.7311, allocations: 154.6 MB / 414.8 MB, free: 0.5156 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 9.82e-07/9.82e-07, allocations: 0 / 479.9 MB, free: 6.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.425e-05, allocations: 5.672 kB / 479.9 MB, free: 6.973 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Clustering.Validation.KMeans_2d): time 0.001261/0.001286, allocations: 0.5343 MB / 480.5 MB, free: 6.473 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.00292, allocations: 1.659 MB / 482.1 MB, free: 4.805 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.326e-05/0.002943, allocations: 1.062 kB / 482.1 MB, free: 4.805 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.003072, allocations: 64.7 kB / 482.2 MB, free: 4.742 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 2.406e-05/0.003096, allocations: 29.88 kB / 482.2 MB, free: 4.715 MB / 442.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.0006138/0.00371, allocations: 285.2 kB / 482.5 MB, free: 4.441 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.995e-05/0.00377, allocations: 28.89 kB / 482.5 MB, free: 4.418 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.461e-05/0.003794, allocations: 7.984 kB / 482.6 MB, free: 4.41 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.81e-05/0.003833, allocations: 25.27 kB / 482.6 MB, free: 4.387 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.32e-05/0.003876, allocations: 34.03 kB / 482.6 MB, free: 4.355 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.809e-06/0.003886, allocations: 1.25 kB / 482.6 MB, free: 4.355 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006385/0.004524, allocations: 456.2 kB / 483.1 MB, free: 3.91 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.375e-05/0.004568, allocations: 29.23 kB / 483.1 MB, free: 3.887 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.549e-05/0.004583, allocations: 9.438 kB / 483.1 MB, free: 3.879 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003173/0.004901, allocations: 359 kB / 483.4 MB, free: 3.527 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.004902, allocations: 0 / 483.4 MB, free: 3.527 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.004903, allocations: 6.031 kB / 483.4 MB, free: 3.523 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.395e-06/0.004905, allocations: 0 / 483.4 MB, free: 3.523 MB / 442.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.0002554/0.005161, allocations: 347 kB / 483.8 MB, free: 3.164 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.469e-05/0.005185, allocations: 12.03 kB / 483.8 MB, free: 3.152 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.09e-05/0.005206, allocations: 4.938 kB / 483.8 MB, free: 3.148 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.421e-05/0.0053, allocations: 125.7 kB / 483.9 MB, free: 3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-06/0.005306, allocations: 1.281 kB / 483.9 MB, free: 3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-06/0.005313, allocations: 384 / 483.9 MB, free: 3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.677e-05/0.005359, allocations: 37.95 kB / 484 MB, free: 2.957 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.709e-06/0.005364, allocations: 192 / 484 MB, free: 2.957 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.719e-06/0.005369, allocations: 1.281 kB / 484 MB, free: 2.957 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.005373, allocations: 3.938 kB / 484 MB, free: 2.953 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.374e-06/0.005381, allocations: 0.625 kB / 484 MB, free: 2.953 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.91e-05/0.00545, allocations: 74.66 kB / 484 MB, free: 2.863 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.764e-05/0.005477, allocations: 27.17 kB / 484.1 MB, free: 2.828 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.596e-06/0.005486, allocations: 9.422 kB / 484.1 MB, free: 2.816 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.005512, allocations: 8.047 kB / 484.1 MB, free: 2.809 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.005528, allocations: 39.19 kB / 484.1 MB, free: 2.762 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.005529, allocations: 1.562 kB / 484.1 MB, free: 2.762 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 6.233e-05/0.005592, allocations: 38.25 kB / 484.2 MB, free: 2.719 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.005615, allocations: 51.41 kB / 484.2 MB, free: 2.656 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.448e-05/0.005709, allocations: 188.7 kB / 484.4 MB, free: 2.465 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.005717, allocations: 25.7 kB / 484.4 MB, free: 2.434 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.845e-05/0.005746, allocations: 97.88 kB / 484.5 MB, free: 2.336 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.226e-06/0.005754, allocations: 3.953 kB / 484.5 MB, free: 2.332 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.00578, allocations: 29.67 kB / 484.6 MB, free: 2.297 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.499e-05/0.005845, allocations: 326.8 kB / 484.9 MB, free: 1.969 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.629e-05/0.005861, allocations: 14.83 kB / 484.9 MB, free: 1.953 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.094e-05/0.005872, allocations: 12.66 kB / 484.9 MB, free: 1.941 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.762e-05/0.00591, allocations: 50.48 kB / 484.9 MB, free: 1.895 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.005911, allocations: 0 / 484.9 MB, free: 1.895 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 5.781e-05/0.005969, allocations: 73.62 kB / 485 MB, free: 1.816 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.005978, allocations: 4.625 kB / 485 MB, free: 1.812 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.005987, allocations: 0 / 485 MB, free: 1.812 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.005995, allocations: 0.5312 kB / 485 MB, free: 1.812 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.358e-06/0.006004, allocations: 0.7812 kB / 485 MB, free: 1.812 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.006007, allocations: 0 / 485 MB, free: 1.812 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.666e-05/0.006024, allocations: 17.05 kB / 485 MB, free: 1.797 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.006029, allocations: 0 / 485 MB, free: 1.797 MB / 442.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: 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 5.756e-05/0.006087, allocations: 118.6 kB / 485.2 MB, free: 1.672 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.3e-06/0.006092, allocations: 4 kB / 485.2 MB, free: 1.668 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.266e-05/0.006155, allocations: 46.75 kB / 485.2 MB, free: 1.617 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.006155, allocations: 0 / 485.2 MB, free: 1.617 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-06/0.006157, allocations: 0.75 kB / 485.2 MB, free: 1.617 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.006159, allocations: 3.938 kB / 485.2 MB, free: 1.613 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.808e-05/0.006227, allocations: 82.66 kB / 485.3 MB, free: 1.516 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.006228, allocations: 0 / 485.3 MB, free: 1.516 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.036e-06/0.006231, allocations: 0.9375 kB / 485.3 MB, free: 1.516 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.006233, allocations: 1.156 kB / 485.3 MB, free: 1.516 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-06/0.006236, allocations: 0 / 485.3 MB, free: 1.516 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.006236, allocations: 0 / 485.3 MB, free: 1.516 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.006238, allocations: 8.859 kB / 485.3 MB, free: 1.508 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.936e-05/0.006277, allocations: 66.72 kB / 485.4 MB, free: 1.422 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-06/0.006287, allocations: 13.23 kB / 485.4 MB, free: 1.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.845e-06/0.006295, allocations: 8 kB / 485.4 MB, free: 1.402 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-06/0.006303, allocations: 0 / 485.4 MB, free: 1.402 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.594e-06/0.00631, allocations: 0.6875 kB / 485.4 MB, free: 1.402 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-06/0.006313, allocations: 0 / 485.4 MB, free: 1.402 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.193e-05/0.006344, allocations: 45.56 kB / 485.4 MB, free: 1.355 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006344, allocations: 0 / 485.4 MB, free: 1.355 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002685/0.006613, allocations: 97.17 kB / 485.5 MB, free: 1.262 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.0004068/0.00702, allocations: 272.1 kB / 485.8 MB, free: 1.035 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.769e-05/0.007107, allocations: 71.56 kB / 485.9 MB, free: 0.957 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.00711, allocations: 0 / 485.9 MB, free: 0.957 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.033e-06/0.007117, allocations: 13.38 kB / 485.9 MB, free: 0.9414 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.523e-05/0.007173, allocations: 8.938 kB / 485.9 MB, free: 0.9336 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001808/0.007353, allocations: 186.8 kB / 486.1 MB, free: 0.7227 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.903e-05/0.007382, allocations: 68.42 kB / 486.1 MB, free: 0.6367 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.353e-05/0.007396, allocations: 4 kB / 486.1 MB, free: 0.6328 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.642e-05/0.007422, allocations: 49.59 kB / 486.2 MB, free: 0.5859 MB / 442.7 MB Notification: Performance of SimCode: time 3.21e-07/0.007423, allocations: 0 / 486.2 MB, free: 0.5859 MB / 442.7 MB Notification: Performance of Templates: time 0.004069/0.01149, allocations: 2.584 MB / 488.8 MB, free: 14.2 MB / 458.7 MB " [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.413942760322243]