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.001537/0.001537, allocations: 117.9 kB / 19.7 MB, free: 2.188 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.002077/0.002077, allocations: 219.2 kB / 23 MB, free: 5.004 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.601/1.601, allocations: 230.6 MB / 256.8 MB, free: 8.004 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 0.9895/0.9895, allocations: 150 MB / 463.1 MB, free: 10.5 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_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.00204/0.00204, allocations: 66.7 kB / 0.6417 GB, free: 9.93 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1725, allocations: 89.18 MB / 0.7288 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.001567/0.1741, allocations: 0.5127 MB / 0.7293 GB, free: 312 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002399/0.1765, allocations: 1.677 MB / 0.7309 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.267e-05/0.1765, allocations: 4 kB / 0.7309 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.1766, allocations: 19.91 kB / 0.7309 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.618e-05/0.1767, allocations: 11.92 kB / 0.731 GB, free: 14.57 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.0009423/0.1776, allocations: 293.8 kB / 0.7312 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.96e-05/0.1777, allocations: 23.91 kB / 0.7313 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.487e-05/0.1777, allocations: 0 / 0.7313 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.612e-05/0.1778, allocations: 19.92 kB / 0.7313 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.917e-05/0.1778, allocations: 19.91 kB / 0.7313 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.1778, allocations: 4 kB / 0.7313 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007589/0.1786, allocations: 491.1 kB / 0.7318 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.68e-05/0.1786, allocations: 15.92 kB / 0.7318 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.131e-05/0.1786, allocations: 23.8 kB / 0.7318 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000406/0.1791, allocations: 307.1 kB / 0.7321 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1791, allocations: 0 / 0.7321 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.903e-06/0.1791, allocations: 0 / 0.7321 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.1791, allocations: 0 / 0.7321 GB, free: 13.41 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.0004202/0.1795, allocations: 333.6 kB / 0.7324 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.1795, allocations: 8.031 kB / 0.7324 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/0.1795, allocations: 8.891 kB / 0.7324 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.1797, allocations: 130.4 kB / 0.7326 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.1797, allocations: 384 / 0.7326 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.1797, allocations: 4.375 kB / 0.7326 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.1798, allocations: 46 kB / 0.7326 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.1798, allocations: 0 / 0.7326 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.1798, allocations: 0 / 0.7326 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.1798, allocations: 0 / 0.7326 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.138e-05/0.1799, allocations: 23.94 kB / 0.7326 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001724/0.18, allocations: 148.7 kB / 0.7328 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.884e-05/0.1801, allocations: 26.58 kB / 0.7328 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.595e-05/0.1801, allocations: 16.91 kB / 0.7328 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.1801, allocations: 4 kB / 0.7328 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.1802, allocations: 34.5 kB / 0.7329 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1802, allocations: 0 / 0.7329 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001502/0.1803, allocations: 73.56 kB / 0.7329 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.1804, allocations: 51.41 kB / 0.733 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.1805, allocations: 170.2 kB / 0.7331 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.1805, allocations: 25.7 kB / 0.7332 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.877e-05/0.1806, allocations: 92.14 kB / 0.7332 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.396e-06/0.1806, allocations: 0 / 0.7332 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.1806, allocations: 25.7 kB / 0.7333 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1808, allocations: 327 kB / 0.7336 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.15e-05/0.1808, allocations: 35.98 kB / 0.7336 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.842e-05/0.1809, allocations: 43.98 kB / 0.7337 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.432e-05/0.181, allocations: 72.75 kB / 0.7337 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.181, allocations: 0 / 0.7337 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001523/0.1811, allocations: 125.6 kB / 0.7338 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1811, allocations: 9.812 kB / 0.7339 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.1812, allocations: 7.984 kB / 0.7339 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.1812, allocations: 3.938 kB / 0.7339 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-05/0.1812, allocations: 0 / 0.7339 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1812, allocations: 4.062 kB / 0.7339 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.465e-05/0.1812, allocations: 11.89 kB / 0.7339 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1812, allocations: 0 / 0.7339 GB, free: 11.4 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: 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.0001237/0.1813, allocations: 121.8 kB / 0.734 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.1814, allocations: 11.84 kB / 0.734 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.1815, allocations: 65.42 kB / 0.7341 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1815, allocations: 0 / 0.7341 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1815, allocations: 4.031 kB / 0.7341 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1815, allocations: 0 / 0.7341 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.1816, allocations: 140.8 kB / 0.7342 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1816, allocations: 0 / 0.7342 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.172e-06/0.1816, allocations: 3.984 kB / 0.7342 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1816, allocations: 3.938 kB / 0.7342 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.1816, allocations: 0 / 0.7342 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.1816, allocations: 0 / 0.7342 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1816, allocations: 4 kB / 0.7342 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.736e-05/0.1817, allocations: 81.08 kB / 0.7343 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.75e-05/0.1817, allocations: 11.83 kB / 0.7343 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.1817, allocations: 4 kB / 0.7343 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.341e-05/0.1817, allocations: 3.984 kB / 0.7343 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.448e-06/0.1817, allocations: 4 kB / 0.7343 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.1817, allocations: 0 / 0.7343 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.344e-05/0.1818, allocations: 130 kB / 0.7344 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1818, allocations: 0 / 0.7344 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000312/0.1821, allocations: 87.8 kB / 0.7345 GB, free: 10.66 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.0004925/0.1826, allocations: 231 kB / 0.7348 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001539/0.1828, allocations: 93.66 kB / 0.7348 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1828, allocations: 0 / 0.7348 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.616e-05/0.1828, allocations: 12.06 kB / 0.7349 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.1829, allocations: 6.031 kB / 0.7349 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002671/0.1832, allocations: 167.5 kB / 0.735 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.1835, allocations: 0.6885 MB / 0.7357 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.331e-05/0.1836, allocations: 4 kB / 0.7357 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.779e-05/0.1836, allocations: 11.42 kB / 0.7357 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of SimCode: time 2.8e-07/0.1836, allocations: 0 / 0.7357 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of Templates: time 0.005383/0.189, allocations: 2.185 MB / 0.7378 GB, free: 7.23 MB / 0.5606 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.995178788434714] Failed to read output from testmodel.py, exit status != 0: 0.1971128536388278 0.22275084099999995 0.038865869000000004 Calling exit ...