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.00159/0.00159, allocations: 119 kB / 19.69 MB, free: 2.199 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.00221/0.00221, allocations: 222.1 kB / 23.01 MB, free: 5.043 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.592/1.592, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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 1.012/1.012, allocations: 150 MB / 463.1 MB, free: 10.55 MB / 366.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.002119/0.002119, allocations: 65.36 kB / 0.6417 GB, free: 10 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.176, allocations: 89.17 MB / 0.7288 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.001585/0.1775, allocations: 0.5152 MB / 0.7293 GB, free: 396 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002415/0.18, allocations: 1.684 MB / 0.7309 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.184e-05/0.18, allocations: 0 / 0.7309 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.1802, allocations: 63.83 kB / 0.731 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.918e-05/0.1802, allocations: 27.95 kB / 0.731 GB, free: 14.59 MB / 0.5606 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.0009243/0.1811, allocations: 291.1 kB / 0.7313 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.36e-05/0.1812, allocations: 31.84 kB / 0.7313 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.465e-05/0.1812, allocations: 4 kB / 0.7313 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.981e-05/0.1813, allocations: 23.97 kB / 0.7314 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.472e-05/0.1814, allocations: 43.88 kB / 0.7314 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.1814, allocations: 4 kB / 0.7314 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000763/0.1821, allocations: 491.1 kB / 0.7319 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.385e-05/0.1822, allocations: 27.91 kB / 0.7319 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.574e-05/0.1822, allocations: 35.67 kB / 0.7319 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004357/0.1827, allocations: 311.1 kB / 0.7322 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1827, allocations: 0 / 0.7322 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1827, allocations: 0 / 0.7322 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.699e-06/0.1827, allocations: 0 / 0.7322 GB, free: 13.36 MB / 0.5606 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.000473/0.1832, allocations: 365.3 kB / 0.7326 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.1832, allocations: 8.031 kB / 0.7326 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.1832, allocations: 12.84 kB / 0.7326 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.1834, allocations: 127.6 kB / 0.7327 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.1834, allocations: 4.375 kB / 0.7327 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.1834, allocations: 8.344 kB / 0.7327 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.1835, allocations: 38.02 kB / 0.7328 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.1835, allocations: 0 / 0.7328 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1835, allocations: 8 kB / 0.7328 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1835, allocations: 0 / 0.7328 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.243e-05/0.1836, allocations: 19.98 kB / 0.7328 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001896/0.1837, allocations: 160.6 kB / 0.7329 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.607e-05/0.1838, allocations: 38.56 kB / 0.733 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.686e-05/0.1838, allocations: 12.92 kB / 0.733 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.83e-05/0.1839, allocations: 11.98 kB / 0.733 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.1839, allocations: 34.5 kB / 0.733 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1839, allocations: 0 / 0.733 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001602/0.1841, allocations: 69.53 kB / 0.7331 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.1841, allocations: 51.41 kB / 0.7332 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.1843, allocations: 218.9 kB / 0.7334 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.1843, allocations: 25.7 kB / 0.7334 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.504e-05/0.1844, allocations: 104.1 kB / 0.7335 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.257e-05/0.1844, allocations: 4 kB / 0.7335 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/0.1845, allocations: 29.7 kB / 0.7335 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1846, allocations: 322.8 kB / 0.7338 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.972e-05/0.1847, allocations: 51.98 kB / 0.7339 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.487e-05/0.1847, allocations: 59.91 kB / 0.7339 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.1849, allocations: 99.48 kB / 0.734 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1849, allocations: 0 / 0.734 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002017/0.1851, allocations: 169.5 kB / 0.7342 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1851, allocations: 11.88 kB / 0.7342 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.1851, allocations: 0 / 0.7342 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1851, allocations: 0 / 0.7342 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.328e-05/0.1851, allocations: 4 kB / 0.7342 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.1852, allocations: 0 / 0.7342 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.775e-05/0.1852, allocations: 11.83 kB / 0.7342 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.1852, allocations: 4 kB / 0.7342 GB, free: 11.13 MB / 0.5606 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.0001464/0.1853, allocations: 133.8 kB / 0.7343 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.1854, allocations: 15.84 kB / 0.7344 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.1855, allocations: 58.19 kB / 0.7344 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1855, allocations: 4 kB / 0.7344 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1855, allocations: 7.922 kB / 0.7344 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.1855, allocations: 0 / 0.7344 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.1856, allocations: 152.7 kB / 0.7346 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1856, allocations: 4.031 kB / 0.7346 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.107e-06/0.1856, allocations: 0 / 0.7346 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1856, allocations: 3.938 kB / 0.7346 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.1856, allocations: 0 / 0.7346 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1856, allocations: 0 / 0.7346 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1856, allocations: 0 / 0.7346 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.544e-05/0.1857, allocations: 85.03 kB / 0.7347 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.027e-05/0.1857, allocations: 15.88 kB / 0.7347 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.1858, allocations: 4.031 kB / 0.7347 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.612e-05/0.1858, allocations: 7.938 kB / 0.7347 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.091e-05/0.1858, allocations: 0 / 0.7347 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.1858, allocations: 4 kB / 0.7347 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001269/0.1859, allocations: 144.4 kB / 0.7348 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1859, allocations: 0 / 0.7348 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003296/0.1862, allocations: 91.8 kB / 0.7349 GB, free: 10.34 MB / 0.5606 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.0006356/0.1869, allocations: 233 kB / 0.7351 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001944/0.1871, allocations: 113.7 kB / 0.7352 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1871, allocations: 0 / 0.7352 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.049e-05/0.1871, allocations: 15.98 kB / 0.7353 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.1872, allocations: 4 kB / 0.7353 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000337/0.1876, allocations: 218 kB / 0.7355 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.1879, allocations: 0.7002 MB / 0.7362 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.577e-05/0.1879, allocations: 0 / 0.7362 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.554e-05/0.1879, allocations: 11.44 kB / 0.7362 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.1879, allocations: 0 / 0.7362 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of Templates: time 0.005598/0.1935, allocations: 2.223 MB / 0.7383 GB, free: 6.793 MB / 0.5606 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.0479352991096675] Failed to read output from testmodel.py, exit status != 0: 0.20171734783798456 0.22043169099999996 0.03458870599999994 Calling exit ...