Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001297/0.001297, allocations: 71.36 kB / 20.51 MB, free: 1.285 MB / 14.72 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.001345/0.001345, allocations: 169.7 kB / 23.77 MB, free: 4.461 MB / 14.72 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.391/1.391, allocations: 177.2 MB / 204.1 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9072/0.9072, allocations: 113.9 MB / 374.5 MB, free: 12.86 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d") translateModel(IBPSA.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 76.28 kB / 0.555 GB, free: 2.754 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1461, allocations: 89.15 MB / 0.6421 GB, free: 9.559 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.001654/0.1478, allocations: 0.5048 MB / 0.6426 GB, free: 9.055 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00244/0.1502, allocations: 1.607 MB / 0.6441 GB, free: 7.43 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.617e-05/0.1502, allocations: 3.938 kB / 0.6441 GB, free: 7.426 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.1503, allocations: 19.91 kB / 0.6441 GB, free: 7.406 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.687e-05/0.1504, allocations: 11.98 kB / 0.6442 GB, free: 7.395 MB / 0.545 GB [/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.0009501/0.1513, allocations: 278.1 kB / 0.6444 GB, free: 7.125 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.04e-05/0.1514, allocations: 23.92 kB / 0.6444 GB, free: 7.102 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.629e-05/0.1514, allocations: 7.984 kB / 0.6445 GB, free: 7.094 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.412e-05/0.1515, allocations: 11.92 kB / 0.6445 GB, free: 7.082 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.348e-05/0.1515, allocations: 19.92 kB / 0.6445 GB, free: 7.062 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.1515, allocations: 0 / 0.6445 GB, free: 7.062 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007911/0.1523, allocations: 447.2 kB / 0.6449 GB, free: 6.625 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.839e-05/0.1523, allocations: 27.91 kB / 0.6449 GB, free: 6.598 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.1524, allocations: 11.88 kB / 0.6449 GB, free: 6.586 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004372/0.1528, allocations: 299.1 kB / 0.6452 GB, free: 6.293 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1528, allocations: 3.938 kB / 0.6452 GB, free: 6.289 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1528, allocations: 0 / 0.6452 GB, free: 6.289 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.1528, allocations: 0 / 0.6452 GB, free: 6.289 MB / 0.545 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.000426/0.1532, allocations: 337.6 kB / 0.6456 GB, free: 5.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.1533, allocations: 8.031 kB / 0.6456 GB, free: 5.922 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.1533, allocations: 8.891 kB / 0.6456 GB, free: 5.914 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.1535, allocations: 130.4 kB / 0.6457 GB, free: 5.762 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.1535, allocations: 4.375 kB / 0.6457 GB, free: 5.758 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.912e-06/0.1535, allocations: 384 / 0.6457 GB, free: 5.758 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.835e-05/0.1536, allocations: 49.94 kB / 0.6458 GB, free: 5.703 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.1536, allocations: 0 / 0.6458 GB, free: 5.703 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-06/0.1536, allocations: 3.984 kB / 0.6458 GB, free: 5.699 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.1536, allocations: 0 / 0.6458 GB, free: 5.699 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.833e-05/0.1536, allocations: 16 kB / 0.6458 GB, free: 5.684 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.1538, allocations: 125.3 kB / 0.6459 GB, free: 5.531 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.472e-05/0.1538, allocations: 22.58 kB / 0.6459 GB, free: 5.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.618e-05/0.1538, allocations: 16.91 kB / 0.6459 GB, free: 5.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.1539, allocations: 11.94 kB / 0.6459 GB, free: 5.469 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.1539, allocations: 30.56 kB / 0.646 GB, free: 5.43 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.1539, allocations: 3.938 kB / 0.646 GB, free: 5.426 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001471/0.154, allocations: 65.58 kB / 0.646 GB, free: 5.355 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.1541, allocations: 55.41 kB / 0.6461 GB, free: 5.289 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.1543, allocations: 166.2 kB / 0.6462 GB, free: 5.117 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.1543, allocations: 25.7 kB / 0.6463 GB, free: 5.086 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/0.1543, allocations: 96.12 kB / 0.6464 GB, free: 4.988 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.874e-06/0.1543, allocations: 0 / 0.6464 GB, free: 4.988 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.1544, allocations: 29.7 kB / 0.6464 GB, free: 4.953 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.1545, allocations: 323 kB / 0.6467 GB, free: 4.629 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.504e-05/0.1546, allocations: 39.97 kB / 0.6467 GB, free: 4.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.613e-05/0.1546, allocations: 39.98 kB / 0.6468 GB, free: 4.551 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.295e-05/0.1547, allocations: 76.75 kB / 0.6468 GB, free: 4.473 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1547, allocations: 0 / 0.6468 GB, free: 4.473 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001654/0.1549, allocations: 125.6 kB / 0.647 GB, free: 4.344 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.1549, allocations: 4 kB / 0.647 GB, free: 4.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.1549, allocations: 7.938 kB / 0.647 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.1549, allocations: 0 / 0.647 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.013e-05/0.155, allocations: 4 kB / 0.647 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.155, allocations: 3.984 kB / 0.647 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.521e-05/0.155, allocations: 15.95 kB / 0.647 GB, free: 4.309 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.155, allocations: 4 kB / 0.647 GB, free: 4.305 MB / 0.545 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 0.0001289/0.1551, allocations: 117.8 kB / 0.6471 GB, free: 4.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.1551, allocations: 11.91 kB / 0.6471 GB, free: 4.168 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.1553, allocations: 69.31 kB / 0.6472 GB, free: 4.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1553, allocations: 0 / 0.6472 GB, free: 4.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1553, allocations: 0 / 0.6472 GB, free: 4.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.1553, allocations: 0 / 0.6472 GB, free: 4.09 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.1554, allocations: 121.3 kB / 0.6473 GB, free: 3.941 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1554, allocations: 4.031 kB / 0.6473 GB, free: 3.938 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.448e-06/0.1554, allocations: 0 / 0.6473 GB, free: 3.938 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.1554, allocations: 0 / 0.6473 GB, free: 3.938 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.1554, allocations: 4 kB / 0.6473 GB, free: 3.934 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.1554, allocations: 3.938 kB / 0.6473 GB, free: 3.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1554, allocations: 0 / 0.6473 GB, free: 3.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.44e-05/0.1555, allocations: 81 kB / 0.6474 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.27e-05/0.1555, allocations: 7.953 kB / 0.6474 GB, free: 3.824 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.1555, allocations: 0 / 0.6474 GB, free: 3.824 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.402e-05/0.1555, allocations: 3.938 kB / 0.6474 GB, free: 3.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.15e-05/0.1555, allocations: 8.031 kB / 0.6474 GB, free: 3.812 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.1555, allocations: 4 kB / 0.6474 GB, free: 3.809 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001021/0.1556, allocations: 126.4 kB / 0.6475 GB, free: 3.688 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1556, allocations: 4 kB / 0.6475 GB, free: 3.684 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003248/0.156, allocations: 83.81 kB / 0.6476 GB, free: 3.602 MB / 0.545 GB 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.0005191/0.1565, allocations: 241.9 kB / 0.6479 GB, free: 3.379 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001616/0.1566, allocations: 93.67 kB / 0.6479 GB, free: 3.281 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1566, allocations: 0 / 0.6479 GB, free: 3.281 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.648e-05/0.1567, allocations: 15.92 kB / 0.648 GB, free: 3.266 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.1568, allocations: 3.234 kB / 0.648 GB, free: 3.266 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002788/0.1571, allocations: 169.1 kB / 0.6481 GB, free: 3.074 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.837e-05/0.1572, allocations: 75.33 kB / 0.6482 GB, free: 2.98 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.536e-05/0.1572, allocations: 3.938 kB / 0.6482 GB, free: 2.977 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.718e-05/0.1572, allocations: 16.62 kB / 0.6482 GB, free: 2.961 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.1572, allocations: 0 / 0.6482 GB, free: 2.961 MB / 0.545 GB Notification: Performance of Templates: time 0.005478/0.1627, allocations: 2.152 MB / 0.6503 GB, free: 0.8086 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.sim & ./IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.183031430002302] Failed to read output from testmodel.py, exit status != 0: 0.17065530398394912 0.185011902 0.029163619000000002 Calling exit ...