Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.0006128/0.0006128, allocations: 80.47 kB / 20.69 MB, free: 3.863 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.0007373/0.0007373, allocations: 169.9 kB / 23.97 MB, free: 0.582 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.8601/0.8601, allocations: 177.1 MB / 204.3 MB, free: 5.742 MB / 186.7 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.5595/0.5595, allocations: 114 MB / 374.7 MB, free: 8.707 MB / 346.7 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_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d") translateModel(IBPSA.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 0.5554 GB, free: 2.34 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/3.07e-05, allocations: 4.109 kB / 0.5554 GB, free: 2.336 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.001099/0.001129, allocations: 0.5228 MB / 0.5559 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002402/0.003532, allocations: 1.61 MB / 0.5575 GB, free: 192 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.564e-05/0.003577, allocations: 3.938 kB / 0.5575 GB, free: 188 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001944/0.003772, allocations: 23.91 kB / 0.5575 GB, free: 164 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 2.813e-05/0.0038, allocations: 11.92 kB / 0.5575 GB, free: 152 kB / 0.5105 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.0007969/0.004597, allocations: 286.2 kB / 0.5578 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 6.651e-05/0.004663, allocations: 23.92 kB / 0.5578 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.869e-05/0.004702, allocations: 3.984 kB / 0.5578 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.984e-05/0.004742, allocations: 11.98 kB / 0.5578 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 3.543e-05/0.004777, allocations: 11.98 kB / 0.5578 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.004793, allocations: 4 kB / 0.5578 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004708/0.005263, allocations: 451 kB / 0.5583 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.724e-05/0.005311, allocations: 23.92 kB / 0.5583 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 1.601e-05/0.005327, allocations: 8 kB / 0.5583 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.005658, allocations: 355.1 kB / 0.5586 GB, free: 15 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.00566, allocations: 0 / 0.5586 GB, free: 15 MB / 0.5261 GB Notification: Performance of FrontEnd: time 6.51e-07/0.00566, allocations: 0 / 0.5586 GB, free: 15 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.005665, allocations: 0 / 0.5586 GB, free: 15 MB / 0.5261 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.000324/0.005989, allocations: 333.6 kB / 0.5589 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.006026, allocations: 8.031 kB / 0.559 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.006059, allocations: 8.891 kB / 0.559 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.006174, allocations: 121.7 kB / 0.5591 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.006182, allocations: 4.375 kB / 0.5591 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.00619, allocations: 384 / 0.5591 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.625e-05/0.006277, allocations: 42.19 kB / 0.5591 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.006283, allocations: 192 / 0.5591 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.006292, allocations: 4.312 kB / 0.5591 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.006297, allocations: 7.938 kB / 0.5591 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.259e-05/0.00632, allocations: 15.98 kB / 0.5592 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001328/0.006453, allocations: 125.2 kB / 0.5593 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.04e-05/0.006493, allocations: 26.58 kB / 0.5593 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.933e-05/0.006513, allocations: 16.91 kB / 0.5593 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/0.006548, allocations: 8 kB / 0.5593 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.00657, allocations: 34.5 kB / 0.5594 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 5.01e-07/0.00657, allocations: 0 / 0.5594 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001425/0.006713, allocations: 65.62 kB / 0.5594 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.006744, allocations: 55.34 kB / 0.5595 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.006866, allocations: 165.5 kB / 0.5596 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.006877, allocations: 25.7 kB / 0.5597 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.904e-05/0.006926, allocations: 100.1 kB / 0.5597 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.114e-05/0.006937, allocations: 4 kB / 0.5598 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.006968, allocations: 25.7 kB / 0.5598 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.916e-05/0.007057, allocations: 327 kB / 0.5601 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.372e-05/0.007101, allocations: 39.98 kB / 0.5601 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.01e-05/0.007131, allocations: 39.92 kB / 0.5602 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.391e-05/0.007195, allocations: 72.77 kB / 0.5602 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.007197, allocations: 0 / 0.5602 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000102/0.007299, allocations: 125.3 kB / 0.5604 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.007313, allocations: 4 kB / 0.5604 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.007328, allocations: 3.984 kB / 0.5604 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.007341, allocations: 4 kB / 0.5604 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.263e-05/0.007354, allocations: 3.984 kB / 0.5604 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.00736, allocations: 8 kB / 0.5604 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.694e-05/0.007377, allocations: 11.89 kB / 0.5604 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-06/0.007385, allocations: 4 kB / 0.5604 GB, free: 13.03 MB / 0.5261 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 (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 8.889e-05/0.007474, allocations: 125.8 kB / 0.5605 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.009e-06/0.007479, allocations: 3.953 kB / 0.5605 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.995e-05/0.007569, allocations: 61.42 kB / 0.5606 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.007571, allocations: 0 / 0.5606 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.007577, allocations: 3.938 kB / 0.5606 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.00758, allocations: 0 / 0.5606 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.892e-05/0.007649, allocations: 125.3 kB / 0.5607 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.007649, allocations: 0 / 0.5607 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.035e-06/0.007652, allocations: 0 / 0.5607 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.82e-07/0.007653, allocations: 0 / 0.5607 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.007658, allocations: 0 / 0.5607 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.007659, allocations: 0 / 0.5607 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.007661, allocations: 3.984 kB / 0.5607 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.667e-05/0.007717, allocations: 88.95 kB / 0.5608 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-06/0.007726, allocations: 3.953 kB / 0.5608 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.918e-06/0.007736, allocations: 0 / 0.5608 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.492e-06/0.007743, allocations: 3.938 kB / 0.5608 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.463e-05/0.007757, allocations: 8.031 kB / 0.5608 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.00776, allocations: 3.938 kB / 0.5608 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.092e-05/0.007821, allocations: 127.1 kB / 0.5609 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.007821, allocations: 0 / 0.5609 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002091/0.00803, allocations: 87.8 kB / 0.561 GB, free: 12.33 MB / 0.5261 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.0003688/0.008399, allocations: 246.1 kB / 0.5612 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001327/0.008532, allocations: 93.66 kB / 0.5613 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.008534, allocations: 0 / 0.5613 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.125e-06/0.008542, allocations: 8 kB / 0.5613 GB, free: 12 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001155/0.008658, allocations: 18.06 kB / 0.5614 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002519/0.008909, allocations: 191 kB / 0.5615 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.907e-05/0.008968, allocations: 91.23 kB / 0.5616 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.474e-05/0.008983, allocations: 8.5 kB / 0.5616 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of SimCode: time 3.41e-07/0.008984, allocations: 4.125 kB / 0.5616 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of Templates: time 0.003087/0.01207, allocations: 2.36 MB / 0.5639 GB, free: 9.285 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.sim & ./IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.199852524325252] Failed to read output from testmodel.py, exit status != 0: 0.01771784946322441 0.024658126000000002 0.017379383 Calling exit ...