Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001824/0.001824, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002076/0.002076, allocations: 158.2 kB / 22.45 MB, free: 5.375 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.533/1.533, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.8989/0.8989, allocations: 110.2 MB / 369.4 MB, free: 1.188 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d") translateModel(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.5477 GB, free: 9.871 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.825e-05/2.964e-05, allocations: 7.688 kB / 0.5477 GB, free: 9.863 MB / 462.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.001527/0.001557, allocations: 0.51 MB / 0.5482 GB, free: 9.363 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002486/0.004043, allocations: 1.611 MB / 0.5498 GB, free: 7.738 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.381e-05/0.004077, allocations: 3.938 kB / 0.5498 GB, free: 7.734 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.004209, allocations: 19.98 kB / 0.5498 GB, free: 7.715 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 2.609e-05/0.004235, allocations: 11.92 kB / 0.5498 GB, free: 7.703 MB / 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/IBPSA/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0009314/0.005167, allocations: 268.1 kB / 0.5501 GB, free: 7.445 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 7.354e-05/0.00524, allocations: 27.91 kB / 0.5501 GB, free: 7.418 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.863e-05/0.005279, allocations: 7.984 kB / 0.5501 GB, free: 7.41 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.24e-05/0.005321, allocations: 15.92 kB / 0.5501 GB, free: 7.395 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.055e-05/0.005362, allocations: 15.98 kB / 0.5502 GB, free: 7.379 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.005376, allocations: 2.281 kB / 0.5502 GB, free: 7.379 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007122/0.006088, allocations: 427.1 kB / 0.5506 GB, free: 6.961 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.066e-05/0.006138, allocations: 19.92 kB / 0.5506 GB, free: 6.941 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.324e-05/0.006162, allocations: 7.938 kB / 0.5506 GB, free: 6.934 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004959/0.006658, allocations: 339.1 kB / 0.5509 GB, free: 6.602 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.00666, allocations: 4 kB / 0.5509 GB, free: 6.598 MB / 462.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.006661, allocations: 4 kB / 0.5509 GB, free: 6.594 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.828e-06/0.006664, allocations: 0 / 0.5509 GB, free: 6.594 MB / 462.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.0004393/0.007104, allocations: 329.6 kB / 0.5512 GB, free: 6.242 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.007137, allocations: 8.031 kB / 0.5512 GB, free: 6.234 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.007172, allocations: 12.84 kB / 0.5513 GB, free: 6.223 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.00733, allocations: 129.6 kB / 0.5514 GB, free: 6.07 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.007339, allocations: 384 / 0.5514 GB, free: 6.07 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.007353, allocations: 384 / 0.5514 GB, free: 6.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.007456, allocations: 38.25 kB / 0.5514 GB, free: 6.027 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.007466, allocations: 4.188 kB / 0.5514 GB, free: 6.023 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.007474, allocations: 384 / 0.5514 GB, free: 6.023 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.007481, allocations: 3.938 kB / 0.5514 GB, free: 6.02 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.091e-05/0.007512, allocations: 15.94 kB / 0.5514 GB, free: 6.004 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002054/0.007717, allocations: 137.2 kB / 0.5516 GB, free: 5.84 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.978e-05/0.007777, allocations: 22.58 kB / 0.5516 GB, free: 5.809 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.515e-05/0.007802, allocations: 16.91 kB / 0.5516 GB, free: 5.789 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.668e-05/0.007839, allocations: 7.984 kB / 0.5516 GB, free: 5.781 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.007874, allocations: 34.56 kB / 0.5516 GB, free: 5.738 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.007875, allocations: 0 / 0.5516 GB, free: 5.738 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001694/0.008044, allocations: 69.56 kB / 0.5517 GB, free: 5.664 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.008085, allocations: 55.34 kB / 0.5518 GB, free: 5.598 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.008269, allocations: 170.1 kB / 0.5519 GB, free: 5.426 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.008286, allocations: 25.7 kB / 0.552 GB, free: 5.395 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.00835, allocations: 96.12 kB / 0.552 GB, free: 5.297 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.099e-05/0.008361, allocations: 3.953 kB / 0.5521 GB, free: 5.293 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.412e-05/0.008405, allocations: 25.7 kB / 0.5521 GB, free: 5.262 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.00856, allocations: 322.8 kB / 0.5524 GB, free: 4.938 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.789e-05/0.008618, allocations: 35.98 kB / 0.5524 GB, free: 4.902 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.762e-05/0.008665, allocations: 43.98 kB / 0.5525 GB, free: 4.859 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.244e-05/0.008758, allocations: 64.98 kB / 0.5525 GB, free: 4.793 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.00876, allocations: 7.938 kB / 0.5525 GB, free: 4.785 MB / 462.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001653/0.008925, allocations: 129.5 kB / 0.5527 GB, free: 4.652 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.008942, allocations: 8 kB / 0.5527 GB, free: 4.645 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.008955, allocations: 0 / 0.5527 GB, free: 4.645 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.008972, allocations: 3.984 kB / 0.5527 GB, free: 4.641 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.304e-05/0.008985, allocations: 0 / 0.5527 GB, free: 4.641 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.008991, allocations: 3.938 kB / 0.5527 GB, free: 4.637 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.466e-05/0.009016, allocations: 7.953 kB / 0.5527 GB, free: 4.629 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.009025, allocations: 0 / 0.5527 GB, free: 4.629 MB / 462.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: 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.0001548/0.009179, allocations: 130.5 kB / 0.5528 GB, free: 4.492 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.009193, allocations: 11.89 kB / 0.5528 GB, free: 4.48 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.009308, allocations: 53.5 kB / 0.5529 GB, free: 4.422 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.009312, allocations: 11.92 kB / 0.5529 GB, free: 4.41 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.009317, allocations: 3.938 kB / 0.5529 GB, free: 4.406 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.00932, allocations: 0 / 0.5529 GB, free: 4.406 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.009431, allocations: 121.3 kB / 0.553 GB, free: 4.258 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.009432, allocations: 0 / 0.553 GB, free: 4.258 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-06/0.009436, allocations: 0 / 0.553 GB, free: 4.258 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.00944, allocations: 4 kB / 0.553 GB, free: 4.254 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.009446, allocations: 4.031 kB / 0.553 GB, free: 4.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.009447, allocations: 0 / 0.553 GB, free: 4.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.009448, allocations: 0 / 0.553 GB, free: 4.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.79e-05/0.009546, allocations: 81.03 kB / 0.5531 GB, free: 4.152 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.243e-05/0.009558, allocations: 7.953 kB / 0.5531 GB, free: 4.145 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.009572, allocations: 4 kB / 0.5531 GB, free: 4.141 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.185e-05/0.009584, allocations: 0 / 0.5531 GB, free: 4.141 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.663e-05/0.009601, allocations: 0 / 0.5531 GB, free: 4.141 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.009607, allocations: 3.938 kB / 0.5531 GB, free: 4.137 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.009716, allocations: 123.2 kB / 0.5532 GB, free: 4.016 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.009716, allocations: 0 / 0.5532 GB, free: 4.016 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003225/0.01004, allocations: 95.77 kB / 0.5533 GB, free: 3.922 MB / 462.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.0005858/0.01062, allocations: 249 kB / 0.5535 GB, free: 3.699 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001844/0.01081, allocations: 93.66 kB / 0.5536 GB, free: 3.602 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/0.01082, allocations: 8 kB / 0.5536 GB, free: 3.594 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.643e-05/0.01083, allocations: 8 kB / 0.5536 GB, free: 3.586 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.01099, allocations: 10.34 kB / 0.5537 GB, free: 3.578 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003113/0.0113, allocations: 157.3 kB / 0.5538 GB, free: 3.395 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.28e-05/0.01138, allocations: 79.27 kB / 0.5539 GB, free: 3.297 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 1.962e-05/0.0114, allocations: 4 kB / 0.5539 GB, free: 3.293 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.916e-05/0.01142, allocations: 8.5 kB / 0.5539 GB, free: 3.285 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01142, allocations: 0 / 0.5539 GB, free: 3.285 MB / 462.1 MB Notification: Performance of Templates: time 0.005796/0.01722, allocations: 2.112 MB / 0.556 GB, free: 1.176 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4583099745213985] Failed to read output from testmodel.py, exit status != 0: 0.02557787299156189 0.040117055000000006 0.030461475000000002 Calling exit ...