Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0006371/0.0006371, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008365/0.001474, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007117/0.0007117, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008816/0.001593, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9432/0.9432, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08688/1.03, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.844/1.844, allocations: 389.9 MB / 0.6191 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4797/2.324, allocations: 127.1 MB / 0.7432 GB, free: 4.613 MB / 0.7136 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_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d") translateModel(Buildings.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.7444 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.438e-05, allocations: 6.25 kB / 0.7444 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_1d): time 0.001686/0.00171, allocations: 0.5733 MB / 0.745 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002257/0.003967, allocations: 1.675 MB / 0.7466 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.362e-05/0.004001, allocations: 0 / 0.7466 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.442e-05/0.004095, allocations: 24.45 kB / 0.7467 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.562e-05/0.004121, allocations: 13.08 kB / 0.7467 GB, free: 1.094 MB / 0.7136 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.0007438/0.004865, allocations: 257.9 kB / 0.7469 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.412e-05/0.004939, allocations: 24.03 kB / 0.7469 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.322e-05/0.004972, allocations: 0 / 0.7469 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.512e-05/0.005037, allocations: 22.38 kB / 0.747 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.977e-05/0.005077, allocations: 12.97 kB / 0.747 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.005091, allocations: 0 / 0.747 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000815/0.005906, allocations: 464.7 kB / 0.7474 GB, free: 352 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.933e-05/0.005965, allocations: 18.47 kB / 0.7474 GB, free: 340 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.005988, allocations: 6.625 kB / 0.7474 GB, free: 336 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004612/0.006449, allocations: 291.2 kB / 0.7477 GB, free: 44 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.023e-05/0.006469, allocations: 0 / 0.7477 GB, free: 44 kB / 0.7136 GB Notification: Performance of FrontEnd: time 8.01e-07/0.00647, allocations: 0 / 0.7477 GB, free: 44 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.197e-05/0.006492, allocations: 0 / 0.7477 GB, free: 44 kB / 0.7136 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.0005709/0.007063, allocations: 339.9 kB / 0.748 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.007106, allocations: 8.594 kB / 0.748 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.007149, allocations: 10.73 kB / 0.7481 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.007325, allocations: 127 kB / 0.7482 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.00734, allocations: 8.312 kB / 0.7482 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.007351, allocations: 384 / 0.7482 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.732e-05/0.007438, allocations: 33.08 kB / 0.7482 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.007445, allocations: 2.625 kB / 0.7482 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.501e-06/0.007451, allocations: 384 / 0.7482 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.007458, allocations: 7.938 kB / 0.7482 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.455e-05/0.007473, allocations: 0 / 0.7482 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001022/0.007575, allocations: 70.66 kB / 0.7483 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.909e-05/0.007614, allocations: 22.55 kB / 0.7483 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.245e-05/0.007627, allocations: 5.891 kB / 0.7483 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.652e-05/0.007673, allocations: 4.062 kB / 0.7483 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.007701, allocations: 39.55 kB / 0.7484 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.007702, allocations: 0 / 0.7484 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001/0.007802, allocations: 30.3 kB / 0.7484 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.007837, allocations: 51.41 kB / 0.7484 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.007957, allocations: 158.1 kB / 0.7486 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.007969, allocations: 25.7 kB / 0.7486 GB, free: 15 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.208e-05/0.008011, allocations: 101.5 kB / 0.7487 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.848e-06/0.008021, allocations: 0 / 0.7487 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.00806, allocations: 29.62 kB / 0.7487 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.201e-05/0.008152, allocations: 322.8 kB / 0.7491 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.593e-05/0.008178, allocations: 15.95 kB / 0.7491 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.535e-05/0.008194, allocations: 11.98 kB / 0.7491 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.407e-05/0.008238, allocations: 27.67 kB / 0.7491 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.00824, allocations: 1.062 kB / 0.7491 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.881e-05/0.008329, allocations: 53.69 kB / 0.7492 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.008343, allocations: 11.41 kB / 0.7492 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.008356, allocations: 0 / 0.7492 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.008367, allocations: 0 / 0.7492 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.884e-05/0.008386, allocations: 0.5 kB / 0.7492 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.008388, allocations: 4.625 kB / 0.7492 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.669e-05/0.008415, allocations: 15.83 kB / 0.7492 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.008423, allocations: 0.9688 kB / 0.7492 GB, free: 14.39 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (labels[1],labels[2],labels[3],labels[4],labels[5],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.412e-05/0.008507, allocations: 118.1 kB / 0.7493 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.008518, allocations: 8 kB / 0.7493 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.42e-05/0.008603, allocations: 41.44 kB / 0.7493 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.008604, allocations: 0.6562 kB / 0.7494 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.008607, allocations: 4 kB / 0.7494 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.00861, allocations: 0.6875 kB / 0.7494 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.891e-05/0.008689, allocations: 81.8 kB / 0.7494 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.00869, allocations: 5.719 kB / 0.7494 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.44e-06/0.008696, allocations: 0 / 0.7494 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.043e-05/0.008706, allocations: 3.953 kB / 0.7494 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.00871, allocations: 4 kB / 0.7494 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-06/0.008713, allocations: 0.8125 kB / 0.7494 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.008715, allocations: 0 / 0.7494 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.008716, allocations: 0 / 0.7494 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.87e-05/0.008784, allocations: 71.78 kB / 0.7495 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.008796, allocations: 4 kB / 0.7495 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.243e-05/0.008809, allocations: 3.156 kB / 0.7495 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.046e-05/0.008819, allocations: 3.984 kB / 0.7495 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.008822, allocations: 0 / 0.7495 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.009e-05/0.008862, allocations: 35.67 kB / 0.7496 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.008863, allocations: 0 / 0.7496 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003098/0.009172, allocations: 91.73 kB / 0.7496 GB, free: 13.88 MB / 0.7292 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.0004303/0.009603, allocations: 266.7 kB / 0.7499 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.174e-05/0.009694, allocations: 66.42 kB / 0.75 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.009698, allocations: 1.812 kB / 0.75 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.7e-06/0.009703, allocations: 8.859 kB / 0.75 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.832e-05/0.009762, allocations: 11.94 kB / 0.75 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001849/0.009947, allocations: 166.3 kB / 0.7501 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.699e-05/0.009974, allocations: 60.22 kB / 0.7502 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.541e-05/0.009989, allocations: 0 / 0.7502 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.93e-05/0.01002, allocations: 56.2 kB / 0.7503 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of SimCode: time 4.51e-07/0.01002, allocations: 0 / 0.7503 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of Templates: time 0.00395/0.01397, allocations: 2.588 MB / 0.7528 GB, free: 10.79 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe ; mkfifo Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe >> ../files/Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d.sim & ./Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.742596326395869]