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.001365/0.001365, allocations: 80.53 kB / 19.94 MB, free: 1.766 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.001598/0.001598, allocations: 169 kB / 23.22 MB, free: 4.879 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.381/1.381, allocations: 177.1 MB / 203.5 MB, free: 9.16 MB / 190.1 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.8925/0.8925, allocations: 114 MB / 373.9 MB, free: 13.21 MB / 350.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_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.493e-06/1.493e-06, allocations: 0 / 0.5546 GB, free: 2.668 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.483e-05, allocations: 2.281 kB / 0.5546 GB, free: 2.664 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.001468/0.001492, allocations: 0.5112 MB / 0.5551 GB, free: 2.168 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002397/0.003889, allocations: 1.622 MB / 0.5567 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.177e-05/0.003921, allocations: 0 / 0.5567 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000182/0.004103, allocations: 67.78 kB / 0.5568 GB, free: 472 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 4.015e-05/0.004143, allocations: 31.89 kB / 0.5568 GB, free: 440 kB / 462.1 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.0008903/0.005034, allocations: 267.1 kB / 0.5571 GB, free: 172 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 6.975e-05/0.005103, allocations: 39.83 kB / 0.5571 GB, free: 132 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.553e-05/0.005139, allocations: 15.92 kB / 0.5571 GB, free: 116 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.559e-05/0.005184, allocations: 19.92 kB / 0.5571 GB, free: 96 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.027e-05/0.005255, allocations: 47.92 kB / 0.5572 GB, free: 48 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.005268, allocations: 0 / 0.5572 GB, free: 48 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007307/0.005998, allocations: 447.1 kB / 0.5576 GB, free: 15.61 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.043e-05/0.006059, allocations: 35.84 kB / 0.5576 GB, free: 15.57 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.006086, allocations: 7.938 kB / 0.5577 GB, free: 15.57 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005096/0.006596, allocations: 363.1 kB / 0.558 GB, free: 15.21 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.006598, allocations: 0 / 0.558 GB, free: 15.21 MB / 478.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.006599, allocations: 0 / 0.558 GB, free: 15.21 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.006602, allocations: 0 / 0.558 GB, free: 15.21 MB / 478.1 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.0004604/0.007063, allocations: 365.3 kB / 0.5584 GB, free: 14.82 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.007096, allocations: 8.625 kB / 0.5584 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.007141, allocations: 8.891 kB / 0.5584 GB, free: 14.81 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.007319, allocations: 138.7 kB / 0.5585 GB, free: 14.65 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.007329, allocations: 384 / 0.5585 GB, free: 14.65 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-06/0.007337, allocations: 4.312 kB / 0.5585 GB, free: 14.64 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.181e-05/0.007429, allocations: 42.27 kB / 0.5585 GB, free: 14.6 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.007437, allocations: 4.188 kB / 0.5585 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-06/0.007444, allocations: 384 / 0.5585 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.007451, allocations: 7.922 kB / 0.5586 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.606e-05/0.007487, allocations: 16 kB / 0.5586 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001619/0.007649, allocations: 141.2 kB / 0.5587 GB, free: 14.4 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.386e-05/0.007702, allocations: 30.56 kB / 0.5587 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.28e-05/0.007725, allocations: 12.92 kB / 0.5587 GB, free: 14.35 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.07e-05/0.007766, allocations: 7.984 kB / 0.5588 GB, free: 14.34 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.007794, allocations: 30.56 kB / 0.5588 GB, free: 14.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.007795, allocations: 0 / 0.5588 GB, free: 14.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001435/0.007939, allocations: 73.58 kB / 0.5589 GB, free: 14.22 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.007982, allocations: 55.34 kB / 0.5589 GB, free: 14.16 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.00821, allocations: 214.2 kB / 0.5591 GB, free: 13.94 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.008227, allocations: 29.7 kB / 0.5591 GB, free: 13.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.705e-05/0.008304, allocations: 108.1 kB / 0.5592 GB, free: 13.79 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.385e-06/0.008313, allocations: 0 / 0.5592 GB, free: 13.79 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.008358, allocations: 29.7 kB / 0.5593 GB, free: 13.76 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.008503, allocations: 322.8 kB / 0.5596 GB, free: 13.43 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.615e-05/0.008579, allocations: 51.98 kB / 0.5596 GB, free: 13.38 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.251e-05/0.008642, allocations: 59.97 kB / 0.5597 GB, free: 13.32 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.008746, allocations: 92.94 kB / 0.5598 GB, free: 13.23 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.008748, allocations: 0 / 0.5598 GB, free: 13.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001959/0.008944, allocations: 164.8 kB / 0.5599 GB, free: 13.07 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.008957, allocations: 8 kB / 0.5599 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.008969, allocations: 0 / 0.5599 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.008982, allocations: 3.984 kB / 0.5599 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.079e-05/0.008993, allocations: 0 / 0.5599 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.008999, allocations: 7.875 kB / 0.56 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.202e-05/0.009031, allocations: 15.84 kB / 0.56 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.009039, allocations: 0 / 0.56 GB, free: 13.03 MB / 478.1 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.0001492/0.009188, allocations: 141.8 kB / 0.5601 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.009201, allocations: 7.953 kB / 0.5601 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.009308, allocations: 58.19 kB / 0.5602 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.009309, allocations: 0 / 0.5602 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.455e-06/0.009318, allocations: 11.92 kB / 0.5602 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.00932, allocations: 0 / 0.5602 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.009439, allocations: 141.2 kB / 0.5603 GB, free: 12.63 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.009442, allocations: 4 kB / 0.5603 GB, free: 12.63 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-06/0.009446, allocations: 0 / 0.5603 GB, free: 12.63 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.009447, allocations: 0 / 0.5603 GB, free: 12.63 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-06/0.009452, allocations: 7.969 kB / 0.5603 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.009453, allocations: 0 / 0.5603 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.009454, allocations: 0 / 0.5603 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.241e-05/0.009546, allocations: 81.02 kB / 0.5604 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.482e-05/0.009561, allocations: 11.91 kB / 0.5604 GB, free: 12.51 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.009575, allocations: 7.922 kB / 0.5604 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.349e-05/0.009588, allocations: 0 / 0.5604 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/0.009603, allocations: 8 kB / 0.5604 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.009607, allocations: 3.938 kB / 0.5604 GB, free: 12.49 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.009739, allocations: 152.3 kB / 0.5606 GB, free: 12.34 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.009739, allocations: 4.031 kB / 0.5606 GB, free: 12.34 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003165/0.01006, allocations: 87.8 kB / 0.5607 GB, free: 12.25 MB / 478.1 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.0005606/0.01062, allocations: 252.8 kB / 0.5609 GB, free: 12.03 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001881/0.0108, allocations: 117.7 kB / 0.561 GB, free: 11.91 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01081, allocations: 0 / 0.561 GB, free: 11.91 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 1.702e-05/0.01082, allocations: 15.98 kB / 0.561 GB, free: 11.89 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.01098, allocations: 6.344 kB / 0.561 GB, free: 11.89 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003318/0.01131, allocations: 217.7 kB / 0.5612 GB, free: 11.65 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.333e-05/0.01139, allocations: 88.31 kB / 0.5613 GB, free: 11.54 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 1.487e-05/0.01141, allocations: 0 / 0.5613 GB, free: 11.54 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.693e-05/0.01143, allocations: 8.5 kB / 0.5613 GB, free: 11.54 MB / 478.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01143, allocations: 0 / 0.5613 GB, free: 11.54 MB / 478.1 MB Notification: Performance of Templates: time 0.005819/0.01725, allocations: 2.192 MB / 0.5635 GB, free: 9.352 MB / 478.1 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.209102660417557] Failed to read output from testmodel.py, exit status != 0: 0.025607407093048096 0.040627342000000004 0.030953878 Calling exit ...