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.001364/0.001364, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.001216/0.001216, allocations: 165 kB / 23.8 MB, free: 0.7695 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 1.007/1.007, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.613/0.613, allocations: 115 MB / 375.7 MB, free: 7.629 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 1.753e-06/1.753e-06, allocations: 0 / 481.5 MB, free: 11.97 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.936e-05/3.111e-05, allocations: 2.312 kB / 481.5 MB, free: 11.97 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.001189/0.00122, allocations: 0.5244 MB / 482 MB, free: 11.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.002997, allocations: 1.656 MB / 483.6 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.887e-05/0.003036, allocations: 2.062 kB / 483.6 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001515/0.003188, allocations: 20.22 kB / 483.7 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.358e-05/0.003211, allocations: 12.94 kB / 483.7 MB, free: 10.56 MB / 410.7 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.0008204/0.004032, allocations: 280.7 kB / 484 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.102e-05/0.004103, allocations: 21.8 kB / 484 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.815e-05/0.004141, allocations: 2.219 kB / 484 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.012e-05/0.004181, allocations: 19.91 kB / 484 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.183e-05/0.004213, allocations: 20.16 kB / 484 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.004228, allocations: 1.125 kB / 484 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005212/0.004749, allocations: 451.5 kB / 484.5 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.353e-05/0.004803, allocations: 25.55 kB / 484.5 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.305e-05/0.004826, allocations: 7.969 kB / 484.5 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004445/0.005271, allocations: 343.4 kB / 484.8 MB, free: 10.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.005275, allocations: 0 / 484.8 MB, free: 10.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.005278, allocations: 6.062 kB / 484.8 MB, free: 10.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.005284, allocations: 0 / 484.8 MB, free: 10.2 MB / 410.7 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.000349/0.005633, allocations: 447.6 kB / 485.3 MB, free: 9.766 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.005674, allocations: 9.344 kB / 485.3 MB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.005718, allocations: 12.75 kB / 485.3 MB, free: 9.758 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.005838, allocations: 128.3 kB / 485.4 MB, free: 9.621 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.005847, allocations: 1.562 kB / 485.4 MB, free: 9.621 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.005857, allocations: 1.781 kB / 485.4 MB, free: 9.621 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.292e-05/0.00594, allocations: 32.14 kB / 485.4 MB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.005946, allocations: 0.6875 kB / 485.4 MB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.005956, allocations: 1.312 kB / 485.5 MB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.005964, allocations: 5.219 kB / 485.5 MB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.3e-05/0.005977, allocations: 4.641 kB / 485.5 MB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001176/0.006095, allocations: 139.2 kB / 485.6 MB, free: 9.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.983e-05/0.006134, allocations: 28.5 kB / 485.6 MB, free: 9.391 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.65e-05/0.006151, allocations: 12.25 kB / 485.6 MB, free: 9.379 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.113e-05/0.006202, allocations: 5.656 kB / 485.6 MB, free: 9.379 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.006221, allocations: 34.61 kB / 485.7 MB, free: 9.336 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.006223, allocations: 1.438 kB / 485.7 MB, free: 9.336 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.000139/0.006361, allocations: 44.59 kB / 485.7 MB, free: 9.297 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.006387, allocations: 56.75 kB / 485.8 MB, free: 9.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.006503, allocations: 225.8 kB / 486 MB, free: 9.039 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/0.00651, allocations: 25.7 kB / 486 MB, free: 9.008 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.006548, allocations: 140.9 kB / 486.2 MB, free: 8.871 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.231e-05/0.006561, allocations: 3.953 kB / 486.2 MB, free: 8.867 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.006595, allocations: 32.55 kB / 486.2 MB, free: 8.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002984/0.006893, allocations: 0.4974 MB / 486.7 MB, free: 24.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.816e-05/0.006921, allocations: 9.594 kB / 486.7 MB, free: 24.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.837e-05/0.00694, allocations: 13.27 kB / 486.7 MB, free: 24.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.191e-05/0.006992, allocations: 38 kB / 486.8 MB, free: 24.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.006995, allocations: 5 kB / 486.8 MB, free: 24.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 9.091e-05/0.007086, allocations: 76.41 kB / 486.8 MB, free: 24.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.00711, allocations: 6.719 kB / 486.8 MB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/0.00713, allocations: 0.6875 kB / 486.8 MB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.007145, allocations: 0.625 kB / 486.8 MB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.816e-05/0.007163, allocations: 3.625 kB / 486.8 MB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.00717, allocations: 5.125 kB / 486.8 MB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.109e-05/0.007191, allocations: 7.891 kB / 486.9 MB, free: 24.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.007201, allocations: 4.172 kB / 486.9 MB, free: 24.26 MB / 426.7 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 8.54e-05/0.007287, allocations: 157.8 kB / 487 MB, free: 24.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.195e-06/0.007295, allocations: 9.266 kB / 487 MB, free: 24.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.879e-05/0.007393, allocations: 42.75 kB / 487.1 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.007396, allocations: 0 / 487.1 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.007401, allocations: 7.922 kB / 487.1 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.007403, allocations: 3.625 kB / 487.1 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.935e-05/0.007463, allocations: 133.2 kB / 487.2 MB, free: 23.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.007465, allocations: 6.188 kB / 487.2 MB, free: 23.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.202e-06/0.007471, allocations: 7.844 kB / 487.2 MB, free: 23.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.007473, allocations: 0 / 487.2 MB, free: 23.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.007479, allocations: 1.25 kB / 487.2 MB, free: 23.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.00748, allocations: 0 / 487.2 MB, free: 23.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.007481, allocations: 0.8125 kB / 487.2 MB, free: 23.89 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.573e-05/0.007527, allocations: 81.28 kB / 487.3 MB, free: 23.81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-06/0.007536, allocations: 6.734 kB / 487.3 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.007546, allocations: 0 / 487.3 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.624e-06/0.007554, allocations: 0 / 487.3 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/0.007568, allocations: 0 / 487.3 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.007571, allocations: 5.031 kB / 487.3 MB, free: 23.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.938e-05/0.007631, allocations: 155.6 kB / 487.5 MB, free: 23.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007631, allocations: 0.5 kB / 487.5 MB, free: 23.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002492/0.00788, allocations: 90.36 kB / 487.6 MB, free: 23.66 MB / 426.7 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.0004967/0.008377, allocations: 274 kB / 487.8 MB, free: 23.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001532/0.00853, allocations: 68.7 kB / 487.9 MB, free: 23.47 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.008532, allocations: 0 / 487.9 MB, free: 23.47 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.574e-06/0.00854, allocations: 10.16 kB / 487.9 MB, free: 23.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001175/0.008657, allocations: 1.312 kB / 487.9 MB, free: 23.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002552/0.008913, allocations: 151.6 kB / 488 MB, free: 23.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.631e-05/0.008939, allocations: 63.47 kB / 488.1 MB, free: 23.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.056e-05/0.008959, allocations: 5.922 kB / 488.1 MB, free: 23.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.66e-05/0.008976, allocations: 9.844 kB / 488.1 MB, free: 23.24 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.008977, allocations: 0 / 488.1 MB, free: 23.24 MB / 426.7 MB Notification: Performance of Templates: time 0.00494/0.01392, allocations: 2.611 MB / 490.7 MB, free: 23.07 MB / 426.7 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5161151411011815]