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.0007211/0.0007211, allocations: 84.44 kB / 20.7 MB, free: 3.871 MB / 18.57 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.000746/0.000746, allocations: 165.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 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 0.8545/0.8545, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 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.577/0.577, allocations: 114 MB / 374.7 MB, free: 8.742 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.5554 GB, free: 1.25 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.83e-05, allocations: 5.812 kB / 0.5554 GB, free: 1.246 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.00139/0.001418, allocations: 0.5123 MB / 0.5559 GB, free: 0.7383 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002267/0.003686, allocations: 1.626 MB / 0.5575 GB, free: 15.09 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.016e-05/0.003726, allocations: 0 / 0.5575 GB, free: 15.09 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002139/0.00394, allocations: 67.73 kB / 0.5575 GB, free: 15.03 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.268e-05/0.003972, allocations: 27.95 kB / 0.5575 GB, free: 15 MB / 490.7 MB [/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.0009039/0.004876, allocations: 282.9 kB / 0.5578 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.411e-05/0.00496, allocations: 31.89 kB / 0.5578 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.005006, allocations: 12 kB / 0.5579 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.027e-05/0.005066, allocations: 27.89 kB / 0.5579 GB, free: 14.66 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.242e-05/0.005139, allocations: 39.95 kB / 0.5579 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.005155, allocations: 0 / 0.5579 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006938/0.005849, allocations: 455 kB / 0.5584 GB, free: 14.17 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.874e-05/0.005918, allocations: 27.92 kB / 0.5584 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.721e-05/0.005945, allocations: 11.94 kB / 0.5584 GB, free: 14.13 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004884/0.006433, allocations: 363.1 kB / 0.5587 GB, free: 13.78 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.006436, allocations: 4 kB / 0.5587 GB, free: 13.77 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.006438, allocations: 0 / 0.5587 GB, free: 13.77 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.006443, allocations: 0 / 0.5587 GB, free: 13.77 MB / 490.7 MB 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.0004594/0.006902, allocations: 365.3 kB / 0.5591 GB, free: 13.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.006947, allocations: 8.625 kB / 0.5591 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.915e-05/0.006986, allocations: 8.891 kB / 0.5591 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.007141, allocations: 134.7 kB / 0.5592 GB, free: 13.21 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.007149, allocations: 384 / 0.5592 GB, free: 13.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.007159, allocations: 384 / 0.5592 GB, free: 13.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.749e-05/0.007256, allocations: 42.25 kB / 0.5593 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.007263, allocations: 8.188 kB / 0.5593 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.00727, allocations: 384 / 0.5593 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.007276, allocations: 7.875 kB / 0.5593 GB, free: 13.15 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.026e-05/0.007306, allocations: 23.88 kB / 0.5593 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.007462, allocations: 133.3 kB / 0.5594 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.812e-05/0.00751, allocations: 30.64 kB / 0.5595 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.048e-05/0.007531, allocations: 12.86 kB / 0.5595 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.683e-05/0.007567, allocations: 7.984 kB / 0.5595 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.007588, allocations: 30.56 kB / 0.5595 GB, free: 12.87 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.007589, allocations: 0 / 0.5595 GB, free: 12.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001594/0.007748, allocations: 73.58 kB / 0.5596 GB, free: 12.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.007783, allocations: 55.34 kB / 0.5596 GB, free: 12.72 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.007957, allocations: 214.2 kB / 0.5599 GB, free: 12.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.007971, allocations: 29.7 kB / 0.5599 GB, free: 12.47 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/0.00803, allocations: 112.1 kB / 0.56 GB, free: 12.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.818e-06/0.00804, allocations: 0 / 0.56 GB, free: 12.36 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/0.008083, allocations: 29.7 kB / 0.56 GB, free: 12.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.008185, allocations: 322.8 kB / 0.5603 GB, free: 12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.26e-05/0.008248, allocations: 51.98 kB / 0.5604 GB, free: 11.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.944e-05/0.008297, allocations: 59.97 kB / 0.5604 GB, free: 11.89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.043e-05/0.008387, allocations: 91.69 kB / 0.5605 GB, free: 11.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.00839, allocations: 4 kB / 0.5605 GB, free: 11.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001664/0.008556, allocations: 165.5 kB / 0.5607 GB, free: 11.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.008571, allocations: 4 kB / 0.5607 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/0.008591, allocations: 4 kB / 0.5607 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.008603, allocations: 0 / 0.5607 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.493e-05/0.008618, allocations: 0 / 0.5607 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.008625, allocations: 3.938 kB / 0.5607 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.002e-05/0.008655, allocations: 15.84 kB / 0.5607 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.008664, allocations: 0 / 0.5607 GB, free: 11.6 MB / 490.7 MB 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.0001178/0.008782, allocations: 133.8 kB / 0.5608 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.008794, allocations: 7.953 kB / 0.5608 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.008919, allocations: 70.11 kB / 0.5609 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.008921, allocations: 0 / 0.5609 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.008928, allocations: 3.938 kB / 0.5609 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.008931, allocations: 0 / 0.5609 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.00904, allocations: 141.2 kB / 0.561 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.009041, allocations: 0 / 0.561 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.833e-06/0.009048, allocations: 7.938 kB / 0.5611 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.00905, allocations: 0 / 0.5611 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.009057, allocations: 4.031 kB / 0.5611 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.009058, allocations: 0 / 0.5611 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.009059, allocations: 0 / 0.5611 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.18e-05/0.009141, allocations: 81.02 kB / 0.5611 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.685e-05/0.009158, allocations: 19.88 kB / 0.5612 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.00917, allocations: 3.938 kB / 0.5612 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.377e-05/0.009184, allocations: 4 kB / 0.5612 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.525e-05/0.009199, allocations: 0 / 0.5612 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.009204, allocations: 11.88 kB / 0.5612 GB, free: 11.05 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001078/0.009311, allocations: 148.3 kB / 0.5613 GB, free: 10.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009312, allocations: 0 / 0.5613 GB, free: 10.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003475/0.009659, allocations: 95.83 kB / 0.5614 GB, free: 10.82 MB / 490.7 MB 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.0004704/0.01013, allocations: 238.7 kB / 0.5616 GB, free: 10.61 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.0103, allocations: 113.7 kB / 0.5617 GB, free: 10.49 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.0103, allocations: 4.062 kB / 0.5617 GB, free: 10.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.275e-05/0.01031, allocations: 11.98 kB / 0.5618 GB, free: 10.47 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.01046, allocations: 15.55 kB / 0.5618 GB, free: 10.46 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003318/0.0108, allocations: 243.4 kB / 0.562 GB, free: 10.19 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.382e-05/0.01087, allocations: 92.3 kB / 0.5621 GB, free: 10.08 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.632e-05/0.01089, allocations: 8.5 kB / 0.5621 GB, free: 10.07 MB / 490.7 MB Notification: Performance of SimCode: time 4.8e-07/0.01089, allocations: 3.938 kB / 0.5621 GB, free: 10.07 MB / 490.7 MB Notification: Performance of Templates: time 0.004066/0.01495, allocations: 2.509 MB / 0.5646 GB, free: 7.559 MB / 490.7 MB " [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: 5.927400912158191] Failed to read output from testmodel.py, exit status != 0: 0.020857984200119972 0.02997963 0.021953321 Calling exit ...