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.002504/0.002504, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.003003/0.003003, allocations: 173.6 kB / 23.24 MB, free: 1.324 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.607/1.607, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 178] 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 3.159/3.159, allocations: 389.5 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 176] 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.663e-06/1.663e-06, allocations: 0 / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.734e-05, allocations: 2.281 kB / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_2d): time 0.001723/0.001751, allocations: 0.5241 MB / 1.002 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002917/0.004668, allocations: 1.603 MB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.887e-05/0.004707, allocations: 3.938 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.004914, allocations: 59.84 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.341e-05/0.004968, allocations: 39.81 kB / 1.003 GB, free: 10.82 MB / 0.9636 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.001019/0.005987, allocations: 279 kB / 1.004 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.006088, allocations: 39.89 kB / 1.004 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.321e-05/0.006122, allocations: 0 / 1.004 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.556e-05/0.006177, allocations: 19.97 kB / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.208e-05/0.006259, allocations: 47.94 kB / 1.004 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.006273, allocations: 0 / 1.004 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008708/0.007144, allocations: 447.1 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.081e-05/0.007215, allocations: 27.92 kB / 1.004 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.488e-05/0.00725, allocations: 7.938 kB / 1.004 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0007552/0.008005, allocations: 371 kB / 1.004 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.008008, allocations: 0 / 1.004 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.252e-06/0.00801, allocations: 0 / 1.004 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.008014, allocations: 0 / 1.004 GB, free: 9.602 MB / 0.9636 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.0006195/0.008634, allocations: 365.4 kB / 1.005 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.008677, allocations: 13.34 kB / 1.005 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/0.008726, allocations: 8.875 kB / 1.005 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.008941, allocations: 138.3 kB / 1.005 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.008957, allocations: 4.375 kB / 1.005 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.008969, allocations: 4.375 kB / 1.005 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.00908, allocations: 42.19 kB / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.009093, allocations: 4.172 kB / 1.005 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.009101, allocations: 384 / 1.005 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.009108, allocations: 3.938 kB / 1.005 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.744e-05/0.009155, allocations: 23.98 kB / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002489/0.009404, allocations: 141.2 kB / 1.005 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.573e-05/0.00947, allocations: 22.58 kB / 1.005 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.674e-05/0.009506, allocations: 16.91 kB / 1.005 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.866e-05/0.009555, allocations: 7.938 kB / 1.005 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.0096, allocations: 34.56 kB / 1.005 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.009601, allocations: 0 / 1.005 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0002108/0.009812, allocations: 69.58 kB / 1.005 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/0.009876, allocations: 59.34 kB / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/0.01019, allocations: 207.4 kB / 1.006 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.01021, allocations: 33.83 kB / 1.006 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.01032, allocations: 104.1 kB / 1.006 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.147e-06/0.01033, allocations: 0 / 1.006 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.116e-05/0.0104, allocations: 29.7 kB / 1.006 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002286/0.01063, allocations: 322.8 kB / 1.006 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.01074, allocations: 59.97 kB / 1.006 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.532e-05/0.01084, allocations: 55.92 kB / 1.006 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.011, allocations: 92.75 kB / 1.006 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.011, allocations: 0 / 1.006 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002994/0.0113, allocations: 161.5 kB / 1.006 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.01132, allocations: 8 kB / 1.006 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.01134, allocations: 4.062 kB / 1.006 GB, free: 7.434 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.01135, allocations: 0 / 1.006 GB, free: 7.434 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.686e-05/0.01137, allocations: 4 kB / 1.006 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.01138, allocations: 7.938 kB / 1.006 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.29e-05/0.01142, allocations: 11.88 kB / 1.006 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.01143, allocations: 0 / 1.006 GB, free: 7.41 MB / 0.9636 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 (cluster_size[3],cluster_size[2],cluster_size[1],labels[6],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.0001694/0.0116, allocations: 137.8 kB / 1.007 GB, free: 7.266 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.01163, allocations: 11.91 kB / 1.007 GB, free: 7.254 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001574/0.01178, allocations: 62.17 kB / 1.007 GB, free: 7.184 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01179, allocations: 4 kB / 1.007 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.01179, allocations: 3.938 kB / 1.007 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.0118, allocations: 0 / 1.007 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.01197, allocations: 133.3 kB / 1.007 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.01197, allocations: 0 / 1.007 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.28e-06/0.01198, allocations: 0 / 1.007 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.01198, allocations: 0 / 1.007 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.01199, allocations: 0 / 1.007 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.01199, allocations: 0 / 1.007 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01199, allocations: 0 / 1.007 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.01214, allocations: 92.97 kB / 1.007 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.835e-05/0.01216, allocations: 15.91 kB / 1.007 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.01218, allocations: 0 / 1.007 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.025e-05/0.0122, allocations: 4 kB / 1.007 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.268e-05/0.01221, allocations: 0 / 1.007 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.01222, allocations: 3.938 kB / 1.007 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.000211/0.01243, allocations: 148.4 kB / 1.007 GB, free: 6.738 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.11e-07/0.01243, allocations: 0 / 1.007 GB, free: 6.738 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0005134/0.01294, allocations: 87.8 kB / 1.007 GB, free: 6.652 MB / 0.9636 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.0009222/0.01387, allocations: 263.4 kB / 1.007 GB, free: 6.41 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002531/0.01412, allocations: 113.7 kB / 1.007 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01412, allocations: 0 / 1.007 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.551e-05/0.01415, allocations: 11.94 kB / 1.007 GB, free: 6.281 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.01438, allocations: 8 kB / 1.007 GB, free: 6.273 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.01485, allocations: 213.8 kB / 1.008 GB, free: 6.039 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.01499, allocations: 100.2 kB / 1.008 GB, free: 5.922 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.032e-05/0.01501, allocations: 0 / 1.008 GB, free: 5.922 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.136e-05/0.01503, allocations: 12.5 kB / 1.008 GB, free: 5.91 MB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.01503, allocations: 0 / 1.008 GB, free: 5.91 MB / 0.9636 GB Notification: Performance of Templates: time 0.008503/0.02353, allocations: 2.188 MB / 1.01 GB, free: 3.727 MB / 0.9636 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.935006830841303]