Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001176/0.001176, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001278/0.001278, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.011/1.011, allocations: 177.1 MB / 203.8 MB, free: 5.66 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8086/0.8086, allocations: 154.6 MB / 414.8 MB, free: 0.6953 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_2d") translateModel(IDEAS.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_2d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.5203 GB, free: 2.578 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.722e-05, allocations: 5.516 kB / 0.5203 GB, free: 2.574 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Clustering.Validation.KMeans_2d): time 0.001156/0.001183, allocations: 0.5092 MB / 0.5208 GB, free: 2.082 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.003212, allocations: 1.648 MB / 0.5224 GB, free: 428 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.019e-05/0.003263, allocations: 0.625 kB / 0.5224 GB, free: 428 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.003463, allocations: 65.64 kB / 0.5225 GB, free: 364 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.874e-05/0.003492, allocations: 31.89 kB / 0.5225 GB, free: 332 kB / 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.000882/0.004374, allocations: 281.9 kB / 0.5228 GB, free: 52 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.381e-05/0.004458, allocations: 31.91 kB / 0.5228 GB, free: 20 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.1e-05/0.004499, allocations: 3.984 kB / 0.5228 GB, free: 16 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.71e-05/0.004556, allocations: 28.58 kB / 0.5228 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.46e-05/0.00461, allocations: 44.64 kB / 0.5229 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.004624, allocations: 0 / 0.5229 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005648/0.005189, allocations: 460.4 kB / 0.5233 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.333e-05/0.005243, allocations: 27.86 kB / 0.5233 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/0.005265, allocations: 11.94 kB / 0.5233 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003861/0.005651, allocations: 360.3 kB / 0.5237 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.005654, allocations: 0 / 0.5237 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.82e-07/0.005654, allocations: 0 / 0.5237 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.005659, allocations: 3.594 kB / 0.5237 GB, free: 15.11 MB / 0.4948 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.0004055/0.006065, allocations: 471.6 kB / 0.5241 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.006104, allocations: 8.031 kB / 0.5241 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.444e-05/0.006148, allocations: 8.891 kB / 0.5242 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.006303, allocations: 136.4 kB / 0.5243 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.006312, allocations: 384 / 0.5243 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.006324, allocations: 4.375 kB / 0.5243 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.869e-05/0.006413, allocations: 30.27 kB / 0.5243 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.00642, allocations: 4.188 kB / 0.5243 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.006429, allocations: 0.9375 kB / 0.5243 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.006439, allocations: 3.938 kB / 0.5243 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.5e-05/0.006454, allocations: 8.469 kB / 0.5243 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001529/0.006607, allocations: 157 kB / 0.5245 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.612e-05/0.006643, allocations: 24.03 kB / 0.5245 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.936e-05/0.006662, allocations: 15.73 kB / 0.5245 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.998e-05/0.006702, allocations: 5.469 kB / 0.5245 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.006722, allocations: 37.39 kB / 0.5246 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.006723, allocations: 0 / 0.5246 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001396/0.006863, allocations: 46.2 kB / 0.5246 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.006891, allocations: 55.34 kB / 0.5247 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.007041, allocations: 263.4 kB / 0.5249 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.007051, allocations: 25.7 kB / 0.5249 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.882e-05/0.007109, allocations: 162.8 kB / 0.5251 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.021e-05/0.00712, allocations: 4 kB / 0.5251 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.007155, allocations: 39.36 kB / 0.5251 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.007268, allocations: 0.4962 MB / 0.5256 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.065e-05/0.007289, allocations: 14.75 kB / 0.5256 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.659e-05/0.007305, allocations: 18.09 kB / 0.5256 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.482e-05/0.00735, allocations: 39.28 kB / 0.5257 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.007352, allocations: 0 / 0.5257 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 8.717e-05/0.007439, allocations: 99.3 kB / 0.5258 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.007453, allocations: 8 kB / 0.5258 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.007467, allocations: 0 / 0.5258 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.00748, allocations: 1.469 kB / 0.5258 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.257e-05/0.007492, allocations: 3.938 kB / 0.5258 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.007499, allocations: 3.938 kB / 0.5258 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.116e-05/0.00752, allocations: 7.953 kB / 0.5258 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.007527, allocations: 0.9375 kB / 0.5258 GB, free: 12.75 MB / 0.4948 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 8.056e-05/0.007608, allocations: 165.5 kB / 0.526 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.007618, allocations: 11.91 kB / 0.526 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.143e-05/0.00771, allocations: 46.78 kB / 0.526 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.007712, allocations: 0.875 kB / 0.526 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.007717, allocations: 3.938 kB / 0.526 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.00772, allocations: 0 / 0.526 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.363e-05/0.007814, allocations: 159.2 kB / 0.5262 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.007815, allocations: 4 kB / 0.5262 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.709e-06/0.00782, allocations: 0 / 0.5262 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.007822, allocations: 0 / 0.5262 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.007828, allocations: 0 / 0.5262 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.007829, allocations: 0 / 0.5262 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.007831, allocations: 0 / 0.5262 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.795e-05/0.007899, allocations: 83.45 kB / 0.5263 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.569e-05/0.007914, allocations: 11.84 kB / 0.5263 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.007925, allocations: 4 kB / 0.5263 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.406e-06/0.007934, allocations: 4 kB / 0.5263 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.007952, allocations: 7.922 kB / 0.5263 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.007955, allocations: 3.938 kB / 0.5263 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.357e-05/0.008028, allocations: 175.3 kB / 0.5265 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008029, allocations: 0 / 0.5265 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002677/0.008296, allocations: 93.58 kB / 0.5265 GB, free: 11.93 MB / 0.4948 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.0004458/0.008742, allocations: 259.9 kB / 0.5268 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001279/0.00887, allocations: 73.38 kB / 0.5269 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.008872, allocations: 0 / 0.5269 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.256e-06/0.00888, allocations: 11.67 kB / 0.5269 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001171/0.008997, allocations: 8 kB / 0.5269 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002739/0.009271, allocations: 190.4 kB / 0.5271 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.041e-05/0.009311, allocations: 75.12 kB / 0.5271 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.894e-05/0.00933, allocations: 0 / 0.5271 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.856e-05/0.009349, allocations: 8.5 kB / 0.5271 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of SimCode: time 9.32e-07/0.00935, allocations: 0 / 0.5271 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of Templates: time 0.004861/0.01421, allocations: 2.218 MB / 0.5293 GB, free: 9.184 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_2d.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_2d.pipe ; mkfifo IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_2d.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_2d.pipe >> ../files/IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_2d.sim & ./IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_2d -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.789499371079728]