Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.00102/0.00102, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.0009839/0.0009839, allocations: 169 kB / 24.05 MB, free: 460 kB / 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.9808/0.9808, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8423/0.8423, allocations: 154.9 MB / 415.9 MB, free: 276 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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(IDEAS.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d") translateModel(IDEAS.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.5218 GB, free: 1.555 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.516e-05, allocations: 2.312 kB / 0.5218 GB, free: 1.551 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Clustering.Validation.KMeans_2d): time 0.001145/0.00117, allocations: 0.5238 MB / 0.5224 GB, free: 1.051 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.002962, allocations: 1.636 MB / 0.524 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.905e-05/0.002991, allocations: 3.938 kB / 0.524 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.003161, allocations: 60.55 kB / 0.524 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 2.823e-05/0.003189, allocations: 32.34 kB / 0.524 GB, free: 15.31 MB / 0.4948 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.0007751/0.003964, allocations: 285.5 kB / 0.5243 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.665e-05/0.004041, allocations: 29.69 kB / 0.5243 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.331e-05/0.004074, allocations: 4 kB / 0.5244 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.481e-05/0.004119, allocations: 31.89 kB / 0.5244 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.245e-05/0.004171, allocations: 39.95 kB / 0.5244 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.004184, allocations: 1.719 kB / 0.5244 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005755/0.004759, allocations: 455 kB / 0.5249 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.004813, allocations: 27.86 kB / 0.5249 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.812e-05/0.004831, allocations: 13.41 kB / 0.5249 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004073/0.005239, allocations: 355.1 kB / 0.5252 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.005241, allocations: 0 / 0.5252 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.542e-06/0.005242, allocations: 4.75 kB / 0.5252 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.966e-06/0.005245, allocations: 0 / 0.5252 GB, free: 14.09 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.0003637/0.005609, allocations: 477 kB / 0.5257 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.005643, allocations: 8.031 kB / 0.5257 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/0.005672, allocations: 8.891 kB / 0.5257 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.005799, allocations: 140.4 kB / 0.5258 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-06/0.005806, allocations: 1.719 kB / 0.5258 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-06/0.005813, allocations: 384 / 0.5258 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.576e-05/0.005868, allocations: 30.27 kB / 0.5259 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.491e-06/0.005874, allocations: 192 / 0.5259 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.1e-06/0.005879, allocations: 0.9688 kB / 0.5259 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.005884, allocations: 7.25 kB / 0.5259 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.695e-06/0.005892, allocations: 0 / 0.5259 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001091/0.006001, allocations: 125.2 kB / 0.526 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.302e-05/0.006034, allocations: 31 kB / 0.526 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.173e-05/0.006046, allocations: 7.688 kB / 0.526 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.006078, allocations: 12.05 kB / 0.526 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.006097, allocations: 33.39 kB / 0.5261 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.006098, allocations: 0 / 0.5261 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 9.696e-05/0.006195, allocations: 38.16 kB / 0.5261 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.00623, allocations: 59.86 kB / 0.5262 GB, free: 13 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.006364, allocations: 268.8 kB / 0.5264 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.006375, allocations: 29.7 kB / 0.5265 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.701e-05/0.006432, allocations: 163.7 kB / 0.5266 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.145e-06/0.00644, allocations: 0 / 0.5266 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.006475, allocations: 36.81 kB / 0.5267 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.006597, allocations: 0.5001 MB / 0.5271 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.006612, allocations: 8 kB / 0.5271 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.275e-05/0.006625, allocations: 8 kB / 0.5272 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.112e-05/0.006666, allocations: 42.7 kB / 0.5272 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.006668, allocations: 0 / 0.5272 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 8.013e-05/0.006748, allocations: 86.72 kB / 0.5273 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.00676, allocations: 10.28 kB / 0.5273 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.006772, allocations: 4 kB / 0.5273 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.006781, allocations: 6.719 kB / 0.5273 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.738e-06/0.006791, allocations: 3.938 kB / 0.5273 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.006794, allocations: 0 / 0.5273 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.065e-05/0.006814, allocations: 7.891 kB / 0.5273 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.006823, allocations: 4 kB / 0.5273 GB, free: 11.79 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 (labels[1],labels[2],labels[3],labels[4],labels[5],labels[6],cluster_size[1],cluster_size[2],cluster_size[3],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.552e-05/0.006909, allocations: 164.6 kB / 0.5275 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.709e-06/0.006919, allocations: 14.66 kB / 0.5275 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.045e-05/0.006989, allocations: 46.19 kB / 0.5275 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.006991, allocations: 0 / 0.5275 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.006993, allocations: 0 / 0.5275 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.006997, allocations: 7.922 kB / 0.5275 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.254e-05/0.00707, allocations: 121.2 kB / 0.5277 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.007071, allocations: 4 kB / 0.5277 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.053e-06/0.007073, allocations: 0.9375 kB / 0.5277 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.11e-07/0.007074, allocations: 0 / 0.5277 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-06/0.007078, allocations: 3.938 kB / 0.5277 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.007079, allocations: 0.9375 kB / 0.5277 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.007079, allocations: 0 / 0.5277 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.954e-05/0.007139, allocations: 81.27 kB / 0.5277 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.12e-05/0.00715, allocations: 15.84 kB / 0.5278 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.927e-06/0.007159, allocations: 0.5938 kB / 0.5278 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-06/0.007166, allocations: 0 / 0.5278 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.387e-06/0.007176, allocations: 1.406 kB / 0.5278 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.007178, allocations: 0 / 0.5278 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.352e-05/0.007241, allocations: 172.2 kB / 0.5279 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.007241, allocations: 6.438 kB / 0.5279 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002366/0.007478, allocations: 83.8 kB / 0.528 GB, free: 11.03 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.0004167/0.007895, allocations: 263.3 kB / 0.5283 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001332/0.008028, allocations: 77.25 kB / 0.5283 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.00803, allocations: 0 / 0.5283 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.587e-06/0.008039, allocations: 11.69 kB / 0.5283 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.008175, allocations: 4.703 kB / 0.5283 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002657/0.008441, allocations: 186.8 kB / 0.5285 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.973e-05/0.00848, allocations: 72.56 kB / 0.5286 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.962e-05/0.0085, allocations: 4 kB / 0.5286 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/0.008547, allocations: 74.11 kB / 0.5287 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of SimCode: time 1.222e-06/0.008548, allocations: 0 / 0.5287 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of Templates: time 0.005386/0.01393, allocations: 2.599 MB / 0.5312 GB, free: 7.859 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d.sim & ./IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7652929667383432]