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.001462/0.001462, allocations: 84.44 kB / 19.94 MB, free: 1.777 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.001586/0.001586, allocations: 162.8 kB / 23.22 MB, free: 4.902 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.393/1.393, allocations: 177.1 MB / 203.5 MB, free: 9.152 MB / 190.1 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.8908/0.8908, allocations: 114 MB / 373.9 MB, free: 13.26 MB / 350.1 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.806e-06/2.806e-06, allocations: 0 / 0.5546 GB, free: 2.645 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.943e-05/4.224e-05, allocations: 4.344 kB / 0.5546 GB, free: 2.641 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.001857/0.001899, allocations: 0.517 MB / 0.5551 GB, free: 2.133 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002552/0.004452, allocations: 1.615 MB / 0.5567 GB, free: 0.5 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.637e-05/0.004488, allocations: 0 / 0.5567 GB, free: 0.5 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.00465, allocations: 19.91 kB / 0.5567 GB, free: 492 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 3.484e-05/0.004684, allocations: 11.92 kB / 0.5568 GB, free: 480 kB / 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'. Notification: Performance of NFTyping.typeClassSections: time 0.0009375/0.005622, allocations: 275 kB / 0.557 GB, free: 204 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 8.594e-05/0.005708, allocations: 27.91 kB / 0.557 GB, free: 176 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.005742, allocations: 0 / 0.557 GB, free: 176 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.814e-05/0.005791, allocations: 19.91 kB / 0.5571 GB, free: 156 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.202e-05/0.005843, allocations: 15.98 kB / 0.5571 GB, free: 140 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.005859, allocations: 0 / 0.5571 GB, free: 140 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007765/0.006635, allocations: 459 kB / 0.5575 GB, free: 15.69 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.502e-05/0.00669, allocations: 23.92 kB / 0.5575 GB, free: 15.66 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.006716, allocations: 7.938 kB / 0.5575 GB, free: 15.66 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005233/0.007239, allocations: 343.2 kB / 0.5579 GB, free: 15.32 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.007242, allocations: 0 / 0.5579 GB, free: 15.32 MB / 478.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.007243, allocations: 0 / 0.5579 GB, free: 15.32 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.007248, allocations: 0 / 0.5579 GB, free: 15.32 MB / 478.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.0005773/0.007825, allocations: 344.2 kB / 0.5582 GB, free: 14.96 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.007872, allocations: 12.62 kB / 0.5582 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.00791, allocations: 4.891 kB / 0.5582 GB, free: 14.94 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.008095, allocations: 130.3 kB / 0.5583 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.008107, allocations: 384 / 0.5583 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.008119, allocations: 4.375 kB / 0.5583 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.008221, allocations: 34.27 kB / 0.5584 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.00823, allocations: 192 / 0.5584 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.008243, allocations: 4.359 kB / 0.5584 GB, free: 14.74 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.00825, allocations: 3.938 kB / 0.5584 GB, free: 14.74 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.133e-05/0.008281, allocations: 12 kB / 0.5584 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002503/0.008532, allocations: 133.2 kB / 0.5585 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.884e-05/0.00859, allocations: 30.52 kB / 0.5586 GB, free: 14.53 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.396e-05/0.008624, allocations: 28.83 kB / 0.5586 GB, free: 14.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.988e-05/0.008664, allocations: 8 kB / 0.5586 GB, free: 14.49 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.008699, allocations: 34.56 kB / 0.5586 GB, free: 14.45 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.008699, allocations: 0 / 0.5586 GB, free: 14.45 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001708/0.00887, allocations: 57.64 kB / 0.5587 GB, free: 14.38 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.008933, allocations: 59.28 kB / 0.5587 GB, free: 14.31 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.009112, allocations: 173.8 kB / 0.5589 GB, free: 14.13 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.009141, allocations: 25.7 kB / 0.5589 GB, free: 14.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.63e-05/0.009207, allocations: 96.08 kB / 0.559 GB, free: 14 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.215e-05/0.00922, allocations: 128 / 0.559 GB, free: 14 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.009263, allocations: 29.7 kB / 0.559 GB, free: 13.97 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.00943, allocations: 318.8 kB / 0.5593 GB, free: 13.65 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.611e-05/0.009496, allocations: 39.98 kB / 0.5594 GB, free: 13.61 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.026e-05/0.009547, allocations: 39.97 kB / 0.5594 GB, free: 13.57 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.095e-05/0.009637, allocations: 68.83 kB / 0.5595 GB, free: 13.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.009639, allocations: 0 / 0.5595 GB, free: 13.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001765/0.009816, allocations: 136.5 kB / 0.5596 GB, free: 13.36 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.009829, allocations: 4 kB / 0.5596 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.009845, allocations: 4 kB / 0.5596 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.009861, allocations: 0 / 0.5596 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.536e-05/0.009876, allocations: 4.062 kB / 0.5596 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.009884, allocations: 3.938 kB / 0.5596 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.841e-05/0.009912, allocations: 15.94 kB / 0.5596 GB, free: 13.33 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.009921, allocations: 0 / 0.5596 GB, free: 13.33 MB / 478.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.0001272/0.01005, allocations: 137.1 kB / 0.5598 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.01006, allocations: 3.953 kB / 0.5598 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.01018, allocations: 53.5 kB / 0.5598 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.01018, allocations: 0 / 0.5598 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.01019, allocations: 3.938 kB / 0.5598 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.0102, allocations: 8.031 kB / 0.5598 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.01031, allocations: 121.3 kB / 0.56 GB, free: 12.97 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.01031, allocations: 0 / 0.56 GB, free: 12.97 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.188e-06/0.01032, allocations: 0 / 0.56 GB, free: 12.97 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.01032, allocations: 0 / 0.56 GB, free: 12.97 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.01033, allocations: 3.938 kB / 0.56 GB, free: 12.97 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.01033, allocations: 0 / 0.56 GB, free: 12.97 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01033, allocations: 4 kB / 0.56 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.01048, allocations: 81.02 kB / 0.56 GB, free: 12.87 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.164e-05/0.01049, allocations: 7.938 kB / 0.5601 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.01051, allocations: 4.031 kB / 0.5601 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.149e-05/0.01052, allocations: 4 kB / 0.5601 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.343e-05/0.01053, allocations: 0 / 0.5601 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.01054, allocations: 7.875 kB / 0.5601 GB, free: 12.84 MB / 478.1 MB Notification: Performance of sorting global known variables: time 9.535e-05/0.01063, allocations: 126.6 kB / 0.5602 GB, free: 12.72 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01063, allocations: 0 / 0.5602 GB, free: 12.72 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004494/0.01108, allocations: 87.8 kB / 0.5603 GB, free: 12.64 MB / 478.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.0006162/0.0117, allocations: 245.5 kB / 0.5605 GB, free: 12.41 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001864/0.01188, allocations: 101.5 kB / 0.5606 GB, free: 12.31 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01188, allocations: 4 kB / 0.5606 GB, free: 12.3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 1.774e-05/0.0119, allocations: 8 kB / 0.5606 GB, free: 12.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.01204, allocations: 4 kB / 0.5606 GB, free: 12.29 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.01238, allocations: 165.2 kB / 0.5608 GB, free: 12.11 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.171e-05/0.01247, allocations: 87.2 kB / 0.5609 GB, free: 12 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 1.81e-05/0.01249, allocations: 4.125 kB / 0.5609 GB, free: 12 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.171e-05/0.01251, allocations: 8.5 kB / 0.5609 GB, free: 11.99 MB / 478.1 MB Notification: Performance of SimCode: time 3.01e-07/0.01251, allocations: 0 / 0.5609 GB, free: 11.99 MB / 478.1 MB Notification: Performance of Templates: time 0.005592/0.0181, allocations: 2.177 MB / 0.563 GB, free: 9.816 MB / 478.1 MB " [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: 5.176083419471979] Failed to read output from testmodel.py, exit status != 0: 0.02661430463194847 0.041424096 0.031111374 Calling exit ...