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.001314/0.001314, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.001411/0.001411, allocations: 213.6 kB / 23.75 MB, free: 4.445 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.493/1.493, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.009/1.009, allocations: 149.9 MB / 463.8 MB, free: 10.35 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.002084/0.002084, allocations: 66.69 kB / 0.6423 GB, free: 9.719 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1952, allocations: 89.17 MB / 0.7293 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.001827/0.197, allocations: 0.5205 MB / 0.7299 GB, free: 96 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002508/0.1995, allocations: 1.607 MB / 0.7314 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.447e-05/0.1995, allocations: 0 / 0.7314 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.1997, allocations: 19.91 kB / 0.7314 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.525e-05/0.1997, allocations: 11.94 kB / 0.7315 GB, free: 14.44 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.0009717/0.2007, allocations: 288.6 kB / 0.7317 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.062e-05/0.2008, allocations: 15.98 kB / 0.7317 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.48e-05/0.2008, allocations: 11.88 kB / 0.7318 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.638e-05/0.2008, allocations: 11.97 kB / 0.7318 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.447e-05/0.2009, allocations: 19.92 kB / 0.7318 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.2009, allocations: 0 / 0.7318 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007189/0.2016, allocations: 455.1 kB / 0.7322 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.665e-05/0.2017, allocations: 23.92 kB / 0.7322 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.283e-05/0.2017, allocations: 11.88 kB / 0.7323 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004139/0.2021, allocations: 295.2 kB / 0.7325 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2021, allocations: 3.938 kB / 0.7325 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.973e-06/0.2021, allocations: 4 kB / 0.7325 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.2021, allocations: 0 / 0.7325 GB, free: 13.32 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.0004416/0.2026, allocations: 333.6 kB / 0.7329 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.2026, allocations: 8.031 kB / 0.7329 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.2026, allocations: 8.891 kB / 0.7329 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.2028, allocations: 134.4 kB / 0.733 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.2028, allocations: 384 / 0.733 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.846e-06/0.2028, allocations: 384 / 0.733 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.2029, allocations: 38.02 kB / 0.733 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.2029, allocations: 0 / 0.733 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.2029, allocations: 0 / 0.733 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.2029, allocations: 4 kB / 0.733 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.903e-05/0.203, allocations: 19.92 kB / 0.7331 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.2031, allocations: 117.3 kB / 0.7332 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.995e-05/0.2032, allocations: 34.5 kB / 0.7332 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.423e-05/0.2032, allocations: 20.92 kB / 0.7332 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-05/0.2032, allocations: 7.984 kB / 0.7332 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.2033, allocations: 30.56 kB / 0.7333 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.2033, allocations: 0 / 0.7333 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001592/0.2034, allocations: 69.52 kB / 0.7333 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.2035, allocations: 51.41 kB / 0.7334 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.2036, allocations: 169.2 kB / 0.7335 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.2037, allocations: 25.7 kB / 0.7336 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.859e-05/0.2037, allocations: 96.12 kB / 0.7337 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.004e-05/0.2037, allocations: 0 / 0.7337 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.2038, allocations: 29.84 kB / 0.7337 GB, free: 12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.2039, allocations: 322.8 kB / 0.734 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.803e-05/0.204, allocations: 39.98 kB / 0.734 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.387e-05/0.204, allocations: 35.98 kB / 0.7341 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.804e-05/0.2041, allocations: 79.48 kB / 0.7341 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2041, allocations: 0 / 0.7341 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001546/0.2043, allocations: 129.5 kB / 0.7343 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.2043, allocations: 6.031 kB / 0.7343 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.2043, allocations: 7.875 kB / 0.7343 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.2043, allocations: 4 kB / 0.7343 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.269e-05/0.2043, allocations: 4.062 kB / 0.7343 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2043, allocations: 0 / 0.7343 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.326e-05/0.2043, allocations: 7.891 kB / 0.7343 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.2043, allocations: 4 kB / 0.7343 GB, free: 11.36 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.0001396/0.2045, allocations: 125.8 kB / 0.7344 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.2045, allocations: 11.89 kB / 0.7344 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.2046, allocations: 57.44 kB / 0.7345 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2046, allocations: 0 / 0.7345 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2046, allocations: 0 / 0.7345 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2046, allocations: 11.95 kB / 0.7345 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.2047, allocations: 125.3 kB / 0.7346 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.2047, allocations: 0 / 0.7346 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.927e-06/0.2047, allocations: 0 / 0.7346 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.2047, allocations: 0 / 0.7346 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.2047, allocations: 0 / 0.7346 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.2048, allocations: 7.938 kB / 0.7346 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2048, allocations: 0 / 0.7346 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.747e-05/0.2048, allocations: 81.08 kB / 0.7347 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.225e-05/0.2049, allocations: 7.891 kB / 0.7347 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.2049, allocations: 0 / 0.7347 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.453e-05/0.2049, allocations: 11.97 kB / 0.7347 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.35e-05/0.2049, allocations: 3.984 kB / 0.7347 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-06/0.2049, allocations: 0 / 0.7347 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.252e-05/0.205, allocations: 119.2 kB / 0.7348 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.205, allocations: 0 / 0.7348 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003058/0.2053, allocations: 87.8 kB / 0.7349 GB, free: 10.65 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.0005363/0.2058, allocations: 238.5 kB / 0.7351 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001611/0.206, allocations: 93.67 kB / 0.7352 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.206, allocations: 0 / 0.7352 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.728e-05/0.206, allocations: 8 kB / 0.7352 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.2062, allocations: 10.17 kB / 0.7353 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003004/0.2065, allocations: 186.9 kB / 0.7354 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.586e-05/0.2065, allocations: 79.31 kB / 0.7355 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.841e-05/0.2066, allocations: 11.56 kB / 0.7355 GB, free: 10 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.2066, allocations: 0 / 0.7355 GB, free: 10 MB / 0.5606 GB Notification: Performance of Templates: time 0.004607/0.2112, allocations: 2.353 MB / 0.7378 GB, free: 7.641 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: 10.35648826835677] Failed to read output from testmodel.py, exit status != 0: 0.21956381807103753 0.23306245800000003 0.027991661 Calling exit ...