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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 113.9 kB / 18.71 MB, free: 3.113 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004819/0.004819, allocations: 190.7 kB / 21.96 MB, free: 5.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.6 MB / 250.7 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.083/1.083, allocations: 175.7 MB / 481.6 MB, free: 7.887 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001934/0.001934, allocations: 67.23 kB / 0.67 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4864/0.4883, allocations: 94.51 MB / 0.7623 GB, free: 9.965 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Clustering.Validation.KMeans_2d): time 0.0015/0.4898, allocations: 0.5133 MB / 0.7628 GB, free: 9.824 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.00195/0.4918, allocations: 1.631 MB / 0.7644 GB, free: 9.117 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.401e-05/0.4918, allocations: 0 / 0.7644 GB, free: 9.117 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.492, allocations: 62.27 kB / 0.7644 GB, free: 9.109 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 4.081e-05/0.492, allocations: 39.48 kB / 0.7645 GB, free: 9.102 MB / 0.5763 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0007974/0.4928, allocations: 237.4 kB / 0.7647 GB, free: 9.008 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 7.432e-05/0.4929, allocations: 34.25 kB / 0.7647 GB, free: 9 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 3.516e-05/0.4929, allocations: 3.562 kB / 0.7647 GB, free: 9 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 3.875e-05/0.493, allocations: 22.58 kB / 0.7648 GB, free: 8.996 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 7.575e-05/0.493, allocations: 47.34 kB / 0.7648 GB, free: 8.988 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.4931, allocations: 1.75 kB / 0.7648 GB, free: 8.988 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006044/0.4937, allocations: 372.1 kB / 0.7652 GB, free: 8.871 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 5.188e-05/0.4937, allocations: 23.86 kB / 0.7652 GB, free: 8.867 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.4937, allocations: 28.88 kB / 0.7652 GB, free: 8.844 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0004124/0.4942, allocations: 287.6 kB / 0.7655 GB, free: 8.773 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4942, allocations: 0.5156 kB / 0.7655 GB, free: 8.773 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4942, allocations: 0 / 0.7655 GB, free: 8.773 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.4942, allocations: 5.094 kB / 0.7655 GB, free: 8.77 MB / 0.5763 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.0003612/0.4945, allocations: 447.5 kB / 0.7659 GB, free: 8.336 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.4946, allocations: 12.39 kB / 0.7659 GB, free: 8.336 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.4946, allocations: 12.81 kB / 0.7659 GB, free: 8.328 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.4947, allocations: 193.2 kB / 0.7661 GB, free: 8.113 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.4947, allocations: 1.734 kB / 0.7661 GB, free: 8.113 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.4947, allocations: 1.688 kB / 0.7661 GB, free: 8.113 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.04e-05/0.4948, allocations: 45.31 kB / 0.7662 GB, free: 8.074 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.4948, allocations: 0.7812 kB / 0.7662 GB, free: 8.074 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.4948, allocations: 1.156 kB / 0.7662 GB, free: 8.074 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.4948, allocations: 2 kB / 0.7662 GB, free: 8.074 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.138e-05/0.4949, allocations: 18.28 kB / 0.7662 GB, free: 8.074 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.495, allocations: 182.2 kB / 0.7664 GB, free: 7.875 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 3.856e-05/0.4951, allocations: 34.02 kB / 0.7664 GB, free: 7.844 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.029e-05/0.4951, allocations: 15.39 kB / 0.7664 GB, free: 7.836 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 3.609e-05/0.4951, allocations: 7.453 kB / 0.7664 GB, free: 7.836 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.4951, allocations: 39.48 kB / 0.7665 GB, free: 7.789 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.4951, allocations: 1.062 kB / 0.7665 GB, free: 7.789 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1): time 0.0001425/0.4953, allocations: 68.09 kB / 0.7665 GB, free: 7.75 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.243e-05/0.4953, allocations: 52.62 kB / 0.7666 GB, free: 7.688 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.4955, allocations: 211.4 kB / 0.7668 GB, free: 7.555 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 6.042e-06/0.4955, allocations: 25.7 kB / 0.7668 GB, free: 7.523 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 3.721e-05/0.4955, allocations: 110.1 kB / 0.7669 GB, free: 7.422 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 7.905e-06/0.4955, allocations: 0 / 0.7669 GB, free: 7.422 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.4955, allocations: 34.02 kB / 0.7669 GB, free: 7.398 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.49e-05/0.4956, allocations: 323.2 kB / 0.7672 GB, free: 7.082 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.356e-05/0.4957, allocations: 52.97 kB / 0.7673 GB, free: 7.074 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.186e-05/0.4957, allocations: 62.77 kB / 0.7673 GB, free: 7.059 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.94e-05/0.4958, allocations: 88.92 kB / 0.7674 GB, free: 7.035 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4958, allocations: 1.125 kB / 0.7674 GB, free: 7.035 MB / 0.5763 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001644/0.496, allocations: 163.3 kB / 0.7676 GB, free: 6.977 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.496, allocations: 9.797 kB / 0.7676 GB, free: 6.973 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.496, allocations: 2.469 kB / 0.7676 GB, free: 6.973 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.496, allocations: 4.672 kB / 0.7676 GB, free: 6.969 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.259e-05/0.496, allocations: 4.938 kB / 0.7676 GB, free: 6.965 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.496, allocations: 2.172 kB / 0.7676 GB, free: 6.965 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.512e-05/0.4961, allocations: 14.52 kB / 0.7676 GB, free: 6.953 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.4961, allocations: 1.984 kB / 0.7676 GB, free: 6.953 MB / 0.5763 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.0001138/0.4962, allocations: 128.5 kB / 0.7678 GB, free: 6.84 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.4962, allocations: 15.86 kB / 0.7678 GB, free: 6.828 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.4963, allocations: 72.64 kB / 0.7678 GB, free: 6.785 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.4963, allocations: 1.156 kB / 0.7678 GB, free: 6.785 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.4963, allocations: 3.938 kB / 0.7678 GB, free: 6.781 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 2.136e-05/0.4963, allocations: 88.81 kB / 0.7679 GB, free: 6.68 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.4963, allocations: 0.6562 kB / 0.7679 GB, free: 6.68 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.39e-05/0.4963, allocations: 1.188 kB / 0.7679 GB, free: 6.68 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.001e-05/0.4964, allocations: 0.5625 kB / 0.7679 GB, free: 6.68 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.078e-05/0.4964, allocations: 131.5 kB / 0.7681 GB, free: 6.566 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 8.006e-05/0.4965, allocations: 238.5 kB / 0.7683 GB, free: 6.348 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.082e-05/0.4965, allocations: 10.56 kB / 0.7683 GB, free: 6.348 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 9.871e-05/0.4966, allocations: 150.6 kB / 0.7684 GB, free: 6.258 MB / 0.5763 GB Notification: Performance of Backend: time 2.8e-07/0.4966, allocations: 0 / 0.7684 GB, free: 6.258 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.000807/0.4974, allocations: 316.7 kB / 0.7687 GB, free: 6.109 MB / 0.5763 GB Notification: Performance of SimCode: time 0.0003359/0.4978, allocations: 0.6546 MB / 0.7694 GB, free: 5.488 MB / 0.5763 GB Notification: Performance of Templates: time 0.005275/0.503, allocations: 2.195 MB / 0.7715 GB, free: 5.32 MB / 0.5763 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.997132934979163] Failed to read output from testmodel.py, exit status != 0: 0.5106803050730377 0.522118061 0.024596249 Calling exit ...