Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001318/0.001318, allocations: 80.2 kB / 19.18 MB, free: 2.527 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.001424/0.001424, allocations: 168.4 kB / 22.46 MB, free: 5.355 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.515/1.515, allocations: 177.1 MB / 202.8 MB, free: 9.188 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.9018/0.9018, allocations: 110.2 MB / 369.4 MB, free: 1.172 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_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d") translateModel(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.5477 GB, free: 9.887 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.104e-05, allocations: 2.281 kB / 0.5477 GB, free: 9.883 MB / 462.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.00161/0.001641, allocations: 0.519 MB / 0.5482 GB, free: 9.379 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002544/0.004184, allocations: 1.605 MB / 0.5498 GB, free: 7.758 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.155e-05/0.004216, allocations: 13.84 kB / 0.5498 GB, free: 7.746 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002241/0.00444, allocations: 63.83 kB / 0.5499 GB, free: 7.684 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 4.644e-05/0.004486, allocations: 35.83 kB / 0.5499 GB, free: 7.648 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.0009375/0.005424, allocations: 257.1 kB / 0.5501 GB, free: 7.402 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 8.301e-05/0.005507, allocations: 39.89 kB / 0.5502 GB, free: 7.363 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.764e-05/0.005545, allocations: 4 kB / 0.5502 GB, free: 7.359 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.572e-05/0.0056, allocations: 23.91 kB / 0.5502 GB, free: 7.336 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.724e-05/0.005678, allocations: 51.92 kB / 0.5503 GB, free: 7.285 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.005691, allocations: 0 / 0.5503 GB, free: 7.285 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000673/0.006364, allocations: 427.1 kB / 0.5507 GB, free: 6.867 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.812e-05/0.006422, allocations: 27.88 kB / 0.5507 GB, free: 6.84 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.52e-05/0.006448, allocations: 11.92 kB / 0.5507 GB, free: 6.828 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004791/0.006927, allocations: 347.1 kB / 0.551 GB, free: 6.488 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.00693, allocations: 0 / 0.551 GB, free: 6.488 MB / 462.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.00693, allocations: 0 / 0.551 GB, free: 6.488 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.006935, allocations: 0 / 0.551 GB, free: 6.488 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.0004709/0.007406, allocations: 361.3 kB / 0.5514 GB, free: 6.105 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.007443, allocations: 16.03 kB / 0.5514 GB, free: 6.09 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.007484, allocations: 12.84 kB / 0.5514 GB, free: 6.078 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.007661, allocations: 130.2 kB / 0.5515 GB, free: 5.926 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.007677, allocations: 8.375 kB / 0.5515 GB, free: 5.918 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-06/0.007686, allocations: 384 / 0.5515 GB, free: 5.918 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.007789, allocations: 34.27 kB / 0.5516 GB, free: 5.879 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.0078, allocations: 192 / 0.5516 GB, free: 5.879 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.007808, allocations: 4.312 kB / 0.5516 GB, free: 5.875 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.007817, allocations: 7.922 kB / 0.5516 GB, free: 5.867 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.533e-05/0.007852, allocations: 19.98 kB / 0.5516 GB, free: 5.848 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000188/0.00804, allocations: 141.3 kB / 0.5517 GB, free: 5.68 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.711e-05/0.008107, allocations: 26.56 kB / 0.5518 GB, free: 5.645 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.683e-05/0.008134, allocations: 12.92 kB / 0.5518 GB, free: 5.629 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.008166, allocations: 7.984 kB / 0.5518 GB, free: 5.621 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.008195, allocations: 34.56 kB / 0.5518 GB, free: 5.578 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/0.008197, allocations: 0 / 0.5518 GB, free: 5.578 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001663/0.008363, allocations: 69.53 kB / 0.5519 GB, free: 5.504 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.008411, allocations: 59.34 kB / 0.5519 GB, free: 5.434 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.008633, allocations: 218.8 kB / 0.5522 GB, free: 5.211 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.008651, allocations: 25.7 kB / 0.5522 GB, free: 5.18 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.526e-05/0.008726, allocations: 104.2 kB / 0.5523 GB, free: 5.074 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.213e-05/0.008739, allocations: 3.953 kB / 0.5523 GB, free: 5.07 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.008782, allocations: 29.7 kB / 0.5523 GB, free: 5.035 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.008931, allocations: 322.8 kB / 0.5526 GB, free: 4.711 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.137e-05/0.009003, allocations: 59.92 kB / 0.5527 GB, free: 4.652 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.572e-05/0.009069, allocations: 55.97 kB / 0.5527 GB, free: 4.598 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.009177, allocations: 88.77 kB / 0.5528 GB, free: 4.508 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.009179, allocations: 0 / 0.5528 GB, free: 4.508 MB / 462.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001932/0.009372, allocations: 164.1 kB / 0.553 GB, free: 4.344 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.009387, allocations: 6.031 kB / 0.553 GB, free: 4.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.009401, allocations: 4 kB / 0.553 GB, free: 4.336 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.009415, allocations: 4 kB / 0.553 GB, free: 4.332 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.351e-05/0.009428, allocations: 0 / 0.553 GB, free: 4.332 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.009434, allocations: 7.938 kB / 0.553 GB, free: 4.324 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.573e-05/0.00946, allocations: 7.891 kB / 0.553 GB, free: 4.316 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.009469, allocations: 4 kB / 0.553 GB, free: 4.312 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: 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.000165/0.009634, allocations: 138.5 kB / 0.5531 GB, free: 4.168 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.009652, allocations: 11.91 kB / 0.5531 GB, free: 4.156 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.009773, allocations: 62.12 kB / 0.5532 GB, free: 4.09 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.009774, allocations: 4.031 kB / 0.5532 GB, free: 4.086 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.009779, allocations: 3.938 kB / 0.5532 GB, free: 4.082 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.009784, allocations: 3.984 kB / 0.5532 GB, free: 4.078 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.009903, allocations: 137.3 kB / 0.5533 GB, free: 3.914 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.009904, allocations: 0 / 0.5533 GB, free: 3.914 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-06/0.009908, allocations: 0 / 0.5533 GB, free: 3.914 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.00991, allocations: 0 / 0.5533 GB, free: 3.914 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.009915, allocations: 0 / 0.5533 GB, free: 3.914 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.009916, allocations: 0 / 0.5533 GB, free: 3.914 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.009917, allocations: 3.938 kB / 0.5533 GB, free: 3.91 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.705e-05/0.01001, allocations: 89 kB / 0.5534 GB, free: 3.805 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.351e-05/0.01003, allocations: 11.95 kB / 0.5534 GB, free: 3.793 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.01004, allocations: 7.938 kB / 0.5535 GB, free: 3.785 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.534e-05/0.01006, allocations: 3.984 kB / 0.5535 GB, free: 3.781 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.123e-05/0.01007, allocations: 0 / 0.5535 GB, free: 3.781 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.01007, allocations: 3.938 kB / 0.5535 GB, free: 3.777 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00014/0.01021, allocations: 148.4 kB / 0.5536 GB, free: 3.633 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01021, allocations: 0 / 0.5536 GB, free: 3.633 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003191/0.01053, allocations: 83.81 kB / 0.5537 GB, free: 3.551 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.0006192/0.01115, allocations: 253 kB / 0.5539 GB, free: 3.316 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002151/0.01137, allocations: 113.7 kB / 0.554 GB, free: 3.199 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01137, allocations: 0 / 0.554 GB, free: 3.199 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.083e-05/0.01139, allocations: 11.98 kB / 0.554 GB, free: 3.188 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.01154, allocations: 9.875 kB / 0.5541 GB, free: 3.18 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003719/0.01191, allocations: 217.8 kB / 0.5543 GB, free: 2.941 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.01201, allocations: 92.28 kB / 0.5543 GB, free: 2.828 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 1.912e-05/0.01203, allocations: 4 kB / 0.5544 GB, free: 2.824 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.736e-05/0.01204, allocations: 8.5 kB / 0.5544 GB, free: 2.816 MB / 462.1 MB Notification: Performance of SimCode: time 3.2e-07/0.01204, allocations: 0 / 0.5544 GB, free: 2.816 MB / 462.1 MB Notification: Performance of Templates: time 0.006316/0.01836, allocations: 2.109 MB / 0.5564 GB, free: 0.7148 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.561901476234198] Failed to read output from testmodel.py, exit status != 0: 0.027117125689983368 0.041829597 0.031759380000000004 Calling exit ...