Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_1d.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.001249/0.001249, allocations: 109.2 kB / 18.7 MB, free: 3.105 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.004609/0.004609, allocations: 188.8 kB / 21.96 MB, free: 5.137 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.337/1.337, allocations: 225.6 MB / 250.7 MB, free: 13.37 MB / 206.1 MB " [Timeout remaining time 179] 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.033/1.033, allocations: 175.8 MB / 481.6 MB, free: 7.801 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_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_1d") translateModel(IDEAS.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_1d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 60.16 kB / 0.67 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4514/0.4532, allocations: 94.53 MB / 0.7623 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Clustering.Validation.KMeans_1d): time 0.00144/0.4547, allocations: 0.5139 MB / 0.7629 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001742/0.4564, allocations: 1.63 MB / 0.7644 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.515e-05/0.4564, allocations: 1.344 kB / 0.7644 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.4566, allocations: 21.19 kB / 0.7645 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.385e-05/0.4566, allocations: 8.578 kB / 0.7645 GB, free: 9.082 MB / 0.5762 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.0007243/0.4573, allocations: 251.1 kB / 0.7647 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.81e-05/0.4574, allocations: 21.44 kB / 0.7647 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.372e-05/0.4574, allocations: 6.734 kB / 0.7647 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.625e-05/0.4575, allocations: 10.17 kB / 0.7647 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.806e-05/0.4575, allocations: 20.38 kB / 0.7648 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.4575, allocations: 4.969 kB / 0.7648 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005162/0.458, allocations: 365.8 kB / 0.7651 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.26e-05/0.4581, allocations: 21.84 kB / 0.7651 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.063e-05/0.4581, allocations: 16.67 kB / 0.7652 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003635/0.4584, allocations: 283.5 kB / 0.7654 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.4584, allocations: 0.6562 kB / 0.7654 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.71e-07/0.4584, allocations: 0 / 0.7654 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.788e-06/0.4585, allocations: 2 kB / 0.7654 GB, free: 8.758 MB / 0.5762 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.0003196/0.4588, allocations: 410.3 kB / 0.7658 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.4588, allocations: 7.906 kB / 0.7658 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.4588, allocations: 8.516 kB / 0.7658 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.765e-05/0.4589, allocations: 190.3 kB / 0.766 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.4589, allocations: 0.9062 kB / 0.766 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.459, allocations: 3.188 kB / 0.766 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.627e-05/0.459, allocations: 40.27 kB / 0.7661 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.459, allocations: 0 / 0.7661 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.459, allocations: 1.25 kB / 0.7661 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.459, allocations: 1.219 kB / 0.7661 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.466e-05/0.4591, allocations: 23.72 kB / 0.7661 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000116/0.4592, allocations: 175.3 kB / 0.7663 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 2.978e-05/0.4592, allocations: 24.39 kB / 0.7663 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.691e-05/0.4592, allocations: 13.48 kB / 0.7663 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.4593, allocations: 6.297 kB / 0.7663 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.519e-05/0.4593, allocations: 40.86 kB / 0.7663 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.4593, allocations: 0 / 0.7663 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001258/0.4594, allocations: 64.19 kB / 0.7664 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.253e-05/0.4594, allocations: 55.41 kB / 0.7664 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.4595, allocations: 171.9 kB / 0.7666 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.763e-06/0.4595, allocations: 25.7 kB / 0.7666 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.81e-05/0.4596, allocations: 93.72 kB / 0.7667 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.177e-06/0.4596, allocations: 9.344 kB / 0.7667 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.4596, allocations: 25.55 kB / 0.7668 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.071e-05/0.4596, allocations: 321 kB / 0.7671 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.872e-05/0.4597, allocations: 37.31 kB / 0.7671 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.861e-05/0.4597, allocations: 38 kB / 0.7671 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.983e-05/0.4598, allocations: 75.56 kB / 0.7672 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4598, allocations: 0.9375 kB / 0.7672 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000126/0.4599, allocations: 130.9 kB / 0.7673 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.4599, allocations: 9.438 kB / 0.7673 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.46, allocations: 5.719 kB / 0.7673 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.46, allocations: 1.719 kB / 0.7674 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.086e-05/0.46, allocations: 0.7031 kB / 0.7674 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.076e-06/0.46, allocations: 3.938 kB / 0.7674 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.153e-05/0.46, allocations: 10.23 kB / 0.7674 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.46, allocations: 5.875 kB / 0.7674 GB, free: 7.012 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (cluster_size[3],cluster_size[2],cluster_size[1],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 7.615e-05/0.4601, allocations: 131.3 kB / 0.7675 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.4601, allocations: 11.17 kB / 0.7675 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.257e-05/0.4602, allocations: 66.48 kB / 0.7676 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.4602, allocations: 0 / 0.7676 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.4602, allocations: 1.125 kB / 0.7676 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.816e-05/0.4602, allocations: 83.98 kB / 0.7677 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.4602, allocations: 2.312 kB / 0.7677 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.221e-05/0.4602, allocations: 0 / 0.7677 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.168e-06/0.4602, allocations: 2.266 kB / 0.7677 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 5.112e-05/0.4603, allocations: 120.6 kB / 0.7678 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 7.038e-05/0.4604, allocations: 236.3 kB / 0.768 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.791e-05/0.4604, allocations: 8.188 kB / 0.768 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.33e-05/0.4605, allocations: 123.4 kB / 0.7681 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of Backend: time 2.51e-07/0.4605, allocations: 1.469 kB / 0.7681 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000735/0.4612, allocations: 292.3 kB / 0.7684 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of SimCode: time 0.0002653/0.4615, allocations: 0.6066 MB / 0.769 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of Templates: time 0.004777/0.4662, allocations: 2.179 MB / 0.7711 GB, free: 5.418 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_1d.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_1d.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_1d.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_1d.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_1d.sim & ./IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_1d -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5155594809912145] Failed to read output from testmodel.py, exit status != 0: 0.4732475590426475 0.483558611 0.022269516000000003 Calling exit ...