Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0009411/0.0009411, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.0009541/0.0009541, allocations: 169.8 kB / 25.18 MB, free: 9.113 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 0.9186/0.9186, allocations: 177.2 MB / 205.6 MB, free: 4.363 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.913/1.913, allocations: 389.6 MB / 0.6364 GB, free: 13.32 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d") translateModel(Buildings.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.7755 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.575e-05/1.72e-05, allocations: 6.312 kB / 0.7755 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_2d): time 0.001116/0.001134, allocations: 0.579 MB / 0.7761 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.00284, allocations: 1.657 MB / 0.7777 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.608e-05/0.002876, allocations: 0 / 0.7777 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002639/0.00314, allocations: 63.78 kB / 0.7778 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.927e-05/0.003169, allocations: 31.95 kB / 0.7778 GB, free: 12.29 MB / 0.7448 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.0006162/0.003785, allocations: 251 kB / 0.778 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.793e-05/0.003853, allocations: 35.91 kB / 0.7781 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.113e-05/0.003884, allocations: 0 / 0.7781 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.95e-05/0.003934, allocations: 31.89 kB / 0.7781 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.744e-05/0.003981, allocations: 35.95 kB / 0.7781 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.003994, allocations: 0 / 0.7781 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005309/0.004525, allocations: 479 kB / 0.7786 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.756e-05/0.004573, allocations: 27.88 kB / 0.7786 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.484e-05/0.004598, allocations: 15.92 kB / 0.7786 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.004912, allocations: 359 kB / 0.779 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.004914, allocations: 0 / 0.779 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.61e-07/0.004915, allocations: 7.938 kB / 0.779 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.004918, allocations: 0 / 0.779 GB, free: 11.07 MB / 0.7448 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.0002842/0.005203, allocations: 335.9 kB / 0.7793 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.005232, allocations: 12.03 kB / 0.7793 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.163e-05/0.005254, allocations: 0.9375 kB / 0.7793 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.005363, allocations: 137.6 kB / 0.7794 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-06/0.00537, allocations: 384 / 0.7794 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.005378, allocations: 4.359 kB / 0.7794 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.728e-05/0.005436, allocations: 33.08 kB / 0.7795 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.521e-06/0.005441, allocations: 4.188 kB / 0.7795 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.2e-06/0.005446, allocations: 384 / 0.7795 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.005452, allocations: 7.938 kB / 0.7795 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.664e-06/0.00546, allocations: 0 / 0.7795 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.187e-05/0.005542, allocations: 74.64 kB / 0.7796 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.649e-05/0.005578, allocations: 22.55 kB / 0.7796 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.087e-05/0.005589, allocations: 8.859 kB / 0.7796 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.005621, allocations: 8.047 kB / 0.7796 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.005641, allocations: 34.56 kB / 0.7796 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.005642, allocations: 0 / 0.7796 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 8.971e-05/0.005732, allocations: 33.64 kB / 0.7797 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.005763, allocations: 63.52 kB / 0.7797 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.688e-05/0.00586, allocations: 182.3 kB / 0.7799 GB, free: 10 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.667e-06/0.005869, allocations: 29.7 kB / 0.7799 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.197e-05/0.005901, allocations: 100 kB / 0.78 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.035e-06/0.005909, allocations: 0 / 0.78 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.005939, allocations: 33.67 kB / 0.7801 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.474e-05/0.006014, allocations: 326.8 kB / 0.7804 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.213e-05/0.006036, allocations: 14.83 kB / 0.7804 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.167e-05/0.006047, allocations: 12 kB / 0.7804 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.731e-05/0.006085, allocations: 35.66 kB / 0.7804 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.006086, allocations: 0 / 0.7804 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16) (initialization): time 6.308e-05/0.006149, allocations: 77.66 kB / 0.7805 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.006161, allocations: 8 kB / 0.7805 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.006174, allocations: 0 / 0.7805 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.603e-06/0.00618, allocations: 0 / 0.7805 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.129e-05/0.006191, allocations: 0 / 0.7805 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.006195, allocations: 0 / 0.7805 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.835e-05/0.006213, allocations: 19.77 kB / 0.7805 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.00622, allocations: 0 / 0.7805 GB, free: 9.324 MB / 0.7448 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 6.181e-05/0.006282, allocations: 116.7 kB / 0.7806 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-06/0.006287, allocations: 8.031 kB / 0.7806 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.225e-05/0.006349, allocations: 50.14 kB / 0.7807 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.00635, allocations: 0 / 0.7807 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.006352, allocations: 0 / 0.7807 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.006355, allocations: 3.938 kB / 0.7807 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.7e-05/0.006412, allocations: 85.77 kB / 0.7808 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.006413, allocations: 0 / 0.7808 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.365e-06/0.006415, allocations: 0 / 0.7808 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.52e-07/0.006416, allocations: 0 / 0.7808 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-06/0.006419, allocations: 0 / 0.7808 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.006419, allocations: 0 / 0.7808 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.006421, allocations: 8.031 kB / 0.7808 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.597e-05/0.006467, allocations: 70.7 kB / 0.7809 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-06/0.006475, allocations: 3.953 kB / 0.7809 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.006485, allocations: 7.984 kB / 0.7809 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.194e-06/0.006492, allocations: 3.938 kB / 0.7809 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.276e-06/0.006501, allocations: 0 / 0.7809 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-06/0.006502, allocations: 0 / 0.7809 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.322e-05/0.006535, allocations: 53.72 kB / 0.7809 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006535, allocations: 0 / 0.7809 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001698/0.006705, allocations: 91.8 kB / 0.781 GB, free: 8.777 MB / 0.7448 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.0003763/0.007081, allocations: 266.8 kB / 0.7813 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.171e-05/0.007173, allocations: 66.53 kB / 0.7813 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.007178, allocations: 0 / 0.7813 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.793e-06/0.007185, allocations: 12.92 kB / 0.7813 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.765e-05/0.007242, allocations: 11.36 kB / 0.7813 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002215/0.007464, allocations: 216.6 kB / 0.7816 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.582e-05/0.00752, allocations: 88.3 kB / 0.7816 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.007549, allocations: 47.38 kB / 0.7817 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of SimCode: time 6.21e-07/0.00755, allocations: 0 / 0.7817 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of Templates: time 0.002704/0.01025, allocations: 2.485 MB / 0.7841 GB, free: 5.562 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.pipe ; mkfifo Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.pipe >> ../files/Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.sim & ./Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d > Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.213141104206443]