Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0013/0.0013, allocations: 74.17 kB / 20.51 MB, free: 1.273 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.001352/0.001352, allocations: 166.5 kB / 23.76 MB, free: 4.469 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.408/1.408, allocations: 177.2 MB / 204.1 MB, free: 8.977 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.9145/0.9145, allocations: 113.9 MB / 374.5 MB, free: 12.89 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_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d") translateModel(IBPSA.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d") [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.002087/0.002087, allocations: 72.89 kB / 0.555 GB, free: 2.754 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1495, allocations: 89.14 MB / 0.6421 GB, free: 9.578 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.001647/0.1511, allocations: 0.5009 MB / 0.6426 GB, free: 9.078 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002403/0.1535, allocations: 1.615 MB / 0.6441 GB, free: 7.445 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.163e-05/0.1535, allocations: 0 / 0.6441 GB, free: 7.445 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.1537, allocations: 59.84 kB / 0.6442 GB, free: 7.387 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.21e-05/0.1537, allocations: 35.83 kB / 0.6442 GB, free: 7.352 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.0009529/0.1547, allocations: 281.7 kB / 0.6445 GB, free: 7.078 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.827e-05/0.1548, allocations: 31.95 kB / 0.6445 GB, free: 7.047 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.58e-05/0.1548, allocations: 7.984 kB / 0.6445 GB, free: 7.039 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.478e-05/0.1549, allocations: 15.98 kB / 0.6445 GB, free: 7.023 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.146e-05/0.1549, allocations: 43.88 kB / 0.6446 GB, free: 6.98 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.1549, allocations: 4 kB / 0.6446 GB, free: 6.977 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008055/0.1558, allocations: 467.1 kB / 0.645 GB, free: 6.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.114e-05/0.1558, allocations: 19.92 kB / 0.6451 GB, free: 6.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.848e-05/0.1558, allocations: 23.75 kB / 0.6451 GB, free: 6.477 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004571/0.1563, allocations: 311.1 kB / 0.6454 GB, free: 6.172 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1563, allocations: 0 / 0.6454 GB, free: 6.172 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1563, allocations: 0 / 0.6454 GB, free: 6.172 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.1563, allocations: 0 / 0.6454 GB, free: 6.172 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.0004727/0.1568, allocations: 365.3 kB / 0.6457 GB, free: 5.785 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.1568, allocations: 12.03 kB / 0.6457 GB, free: 5.773 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.314e-05/0.1568, allocations: 12.84 kB / 0.6457 GB, free: 5.762 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.157, allocations: 135.6 kB / 0.6459 GB, free: 5.605 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.157, allocations: 384 / 0.6459 GB, free: 5.605 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.157, allocations: 4.375 kB / 0.6459 GB, free: 5.602 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.757e-05/0.1571, allocations: 38.02 kB / 0.6459 GB, free: 5.559 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1571, allocations: 0 / 0.6459 GB, free: 5.559 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.75e-06/0.1571, allocations: 0 / 0.6459 GB, free: 5.559 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.1571, allocations: 0 / 0.6459 GB, free: 5.559 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.324e-05/0.1571, allocations: 19.98 kB / 0.6459 GB, free: 5.539 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.1573, allocations: 149.2 kB / 0.6461 GB, free: 5.363 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.533e-05/0.1574, allocations: 26.56 kB / 0.6461 GB, free: 5.328 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.241e-05/0.1574, allocations: 20.86 kB / 0.6461 GB, free: 5.305 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.1574, allocations: 7.984 kB / 0.6461 GB, free: 5.297 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.1575, allocations: 34.56 kB / 0.6462 GB, free: 5.254 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 2.795e-06/0.1575, allocations: 3.984 kB / 0.6462 GB, free: 5.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001524/0.1576, allocations: 77.47 kB / 0.6462 GB, free: 5.168 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.1576, allocations: 51.41 kB / 0.6463 GB, free: 5.105 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.1579, allocations: 214.7 kB / 0.6465 GB, free: 4.887 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.1579, allocations: 25.7 kB / 0.6465 GB, free: 4.855 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.77e-05/0.1579, allocations: 104.1 kB / 0.6466 GB, free: 4.75 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.158, allocations: 3.938 kB / 0.6466 GB, free: 4.746 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-05/0.158, allocations: 33.83 kB / 0.6467 GB, free: 4.707 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1581, allocations: 322.8 kB / 0.647 GB, free: 4.383 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.89e-05/0.1582, allocations: 55.98 kB / 0.647 GB, free: 4.328 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.002e-05/0.1583, allocations: 55.97 kB / 0.6471 GB, free: 4.273 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.1584, allocations: 92.16 kB / 0.6472 GB, free: 4.184 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1584, allocations: 0 / 0.6472 GB, free: 4.184 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002024/0.1586, allocations: 169.5 kB / 0.6473 GB, free: 4.012 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.1586, allocations: 4 kB / 0.6473 GB, free: 4.008 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.1586, allocations: 3.938 kB / 0.6473 GB, free: 4.004 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.1586, allocations: 0 / 0.6473 GB, free: 4.004 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-05/0.1586, allocations: 8.062 kB / 0.6473 GB, free: 3.996 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.1586, allocations: 0 / 0.6473 GB, free: 3.996 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.626e-05/0.1587, allocations: 11.83 kB / 0.6473 GB, free: 3.984 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.1587, allocations: 4 kB / 0.6473 GB, free: 3.98 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: 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.0001346/0.1588, allocations: 133.8 kB / 0.6475 GB, free: 3.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.663e-05/0.1588, allocations: 11.91 kB / 0.6475 GB, free: 3.828 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.1589, allocations: 66.12 kB / 0.6476 GB, free: 3.758 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1589, allocations: 3.938 kB / 0.6476 GB, free: 3.754 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.159, allocations: 0 / 0.6476 GB, free: 3.754 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-06/0.159, allocations: 4.031 kB / 0.6476 GB, free: 3.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.1591, allocations: 133.3 kB / 0.6477 GB, free: 3.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1591, allocations: 0 / 0.6477 GB, free: 3.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.648e-06/0.1591, allocations: 0 / 0.6477 GB, free: 3.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1591, allocations: 0 / 0.6477 GB, free: 3.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-06/0.1591, allocations: 0 / 0.6477 GB, free: 3.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.1591, allocations: 3.938 kB / 0.6477 GB, free: 3.586 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1591, allocations: 4 kB / 0.6477 GB, free: 3.582 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.1592, allocations: 85.03 kB / 0.6478 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.273e-05/0.1592, allocations: 3.953 kB / 0.6478 GB, free: 3.477 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.1592, allocations: 8.031 kB / 0.6478 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.81e-05/0.1592, allocations: 11.86 kB / 0.6478 GB, free: 3.457 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.1592, allocations: 0 / 0.6478 GB, free: 3.457 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-06/0.1592, allocations: 3.938 kB / 0.6478 GB, free: 3.453 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001308/0.1594, allocations: 144.4 kB / 0.6479 GB, free: 3.312 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1594, allocations: 0 / 0.6479 GB, free: 3.312 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003292/0.1597, allocations: 91.73 kB / 0.648 GB, free: 3.223 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.0005124/0.1602, allocations: 248.1 kB / 0.6483 GB, free: 2.996 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001806/0.1604, allocations: 113.7 kB / 0.6484 GB, free: 2.879 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.1604, allocations: 0 / 0.6484 GB, free: 2.879 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.622e-05/0.1604, allocations: 12 kB / 0.6484 GB, free: 2.867 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.1606, allocations: 7.984 kB / 0.6484 GB, free: 2.859 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003156/0.1609, allocations: 209.9 kB / 0.6486 GB, free: 2.629 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.247e-05/0.161, allocations: 92.23 kB / 0.6487 GB, free: 2.52 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.869e-05/0.161, allocations: 8.125 kB / 0.6487 GB, free: 2.512 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.654e-05/0.161, allocations: 8.5 kB / 0.6487 GB, free: 2.5 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.161, allocations: 0 / 0.6487 GB, free: 2.5 MB / 0.545 GB Notification: Performance of Templates: time 0.005524/0.1665, allocations: 2.168 MB / 0.6508 GB, free: 336 kB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.sim & ./IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.228106864960864] Failed to read output from testmodel.py, exit status != 0: 0.17440440400969237 0.188842525 0.029545836000000002 Calling exit ...