Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 100.2 kB / 16.36 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 198.3 kB / 17.3 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.839/1.839, allocations: 292.3 MB / 0.5496 GB, free: 17.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 71.03 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2895, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002311/0.2918, allocations: 0.6783 MB / 0.7855 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001744/0.2936, allocations: 1.191 MB / 0.7866 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.385e-05/0.2937, allocations: 3.938 kB / 0.7866 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.538e-05/0.2937, allocations: 7.922 kB / 0.7866 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.298e-05/0.2938, allocations: 15.86 kB / 0.7867 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007218/0.2945, allocations: 218.2 kB / 0.7869 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000243/0.2948, allocations: 187.8 kB / 0.787 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.2949, allocations: 11.98 kB / 0.787 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.295, allocations: 75.81 kB / 0.7871 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.2952, allocations: 75.77 kB / 0.7872 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.623e-05/0.2952, allocations: 16 kB / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.145e-05/0.2953, allocations: 27.98 kB / 0.7872 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.016e-05/0.2954, allocations: 11.94 kB / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.696e-05/0.2955, allocations: 63.81 kB / 0.7873 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.2957, allocations: 151.6 kB / 0.7875 GB, free: 428 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2957, allocations: 0 / 0.7875 GB, free: 428 kB / 0.6544 GB Notification: Performance of FrontEnd: time 3.576e-06/0.2957, allocations: 0 / 0.7875 GB, free: 428 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.016e-06/0.2958, allocations: 0 / 0.7875 GB, free: 428 kB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.4005/0.6962, allocations: 442 kB / 0.7879 GB, free: 49.52 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.6963, allocations: 10.44 kB / 0.7879 GB, free: 49.52 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.17e-05/0.6964, allocations: 9.312 kB / 0.7879 GB, free: 49.52 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.635e-05/0.6965, allocations: 176.8 kB / 0.7881 GB, free: 49.32 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.6965, allocations: 3.344 kB / 0.7881 GB, free: 49.32 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.721e-05/0.6965, allocations: 11.67 kB / 0.7881 GB, free: 49.32 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.6967, allocations: 54.25 kB / 0.7881 GB, free: 49.29 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.6967, allocations: 4.625 kB / 0.7881 GB, free: 49.29 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.6967, allocations: 3.938 kB / 0.7881 GB, free: 49.29 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.6967, allocations: 2.219 kB / 0.7881 GB, free: 49.29 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.64e-05/0.6967, allocations: 13.64 kB / 0.7882 GB, free: 49.29 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004547/0.6972, allocations: 354.1 kB / 0.7885 GB, free: 49.02 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.774e-05/0.6973, allocations: 45.81 kB / 0.7885 GB, free: 48.99 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.63e-05/0.6973, allocations: 18.95 kB / 0.7885 GB, free: 48.98 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.6973, allocations: 0 / 0.7885 GB, free: 48.98 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001938/0.6975, allocations: 90.48 kB / 0.7886 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.6976, allocations: 0 / 0.7886 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0002601/0.6978, allocations: 128 kB / 0.7888 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.6979, allocations: 57.17 kB / 0.7888 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.158e-05/0.6979, allocations: 119.6 kB / 0.7889 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.698, allocations: 32.78 kB / 0.789 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.698, allocations: 95.53 kB / 0.789 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.698, allocations: 16.62 kB / 0.7891 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.869e-05/0.6981, allocations: 53.44 kB / 0.7891 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.646e-05/0.6982, allocations: 320.4 kB / 0.7894 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.6983, allocations: 63.58 kB / 0.7895 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.6984, allocations: 105.2 kB / 0.7896 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.6986, allocations: 189.2 kB / 0.7898 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.6986, allocations: 2.688 kB / 0.7898 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003611/0.699, allocations: 283.7 kB / 0.79 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.619e-05/0.699, allocations: 74.56 kB / 0.7901 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.699, allocations: 2.094 kB / 0.7901 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.6991, allocations: 4.594 kB / 0.7901 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.918e-05/0.6991, allocations: 6.656 kB / 0.7901 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.6991, allocations: 4.125 kB / 0.7901 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.6994, allocations: 53.33 kB / 0.7902 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.6995, allocations: 18.19 kB / 0.7902 GB, free: 47.94 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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 prepare postOptimizeDAE: time 7.14e-05/0.6995, allocations: 127.3 kB / 0.7903 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.6996, allocations: 6.531 kB / 0.7903 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.465e-05/0.6996, allocations: 15.52 kB / 0.7903 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.6996, allocations: 0 / 0.7903 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.6996, allocations: 0 / 0.7903 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.6996, allocations: 2.625 kB / 0.7903 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.6998, allocations: 360 kB / 0.7907 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.6998, allocations: 0.7812 kB / 0.7907 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.816e-06/0.6999, allocations: 1.25 kB / 0.7907 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.6999, allocations: 3.938 kB / 0.7907 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.6999, allocations: 7.031 kB / 0.7907 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.6999, allocations: 0 / 0.7907 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.6999, allocations: 4.922 kB / 0.7907 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.7, allocations: 205.4 kB / 0.7909 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.7001, allocations: 84.27 kB / 0.791 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.7001, allocations: 4.828 kB / 0.791 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.27e-05/0.7001, allocations: 3.438 kB / 0.791 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.7002, allocations: 12.84 kB / 0.791 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.7002, allocations: 2.625 kB / 0.791 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.863e-05/0.7002, allocations: 97.98 kB / 0.7911 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7002, allocations: 0 / 0.7911 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000267/0.7005, allocations: 34.31 kB / 0.7911 GB, free: 47.21 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001244/0.7006, allocations: 108 kB / 0.7912 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003079/0.701, allocations: 258.4 kB / 0.7915 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.701, allocations: 2.031 kB / 0.7915 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.148e-05/0.701, allocations: 37.36 kB / 0.7915 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.7013, allocations: 15 kB / 0.7915 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002986/0.7016, allocations: 159.9 kB / 0.7917 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.7017, allocations: 0.6914 MB / 0.7924 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.585e-05/0.7018, allocations: 12.94 kB / 0.7924 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.82e-05/0.7018, allocations: 11.81 kB / 0.7924 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of SimCode: time 3.01e-07/0.7018, allocations: 2.906 kB / 0.7924 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of Templates: time 0.003779/0.7056, allocations: 1.912 MB / 0.7942 GB, free: 46.11 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)