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.001246/0.001246, allocations: 109.4 kB / 15.69 MB, free: 124 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 189.6 kB / 16.62 MB, free: 6.578 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.566/1.566, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.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.909/1.909, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001703/0.001703, allocations: 66.72 kB / 0.6723 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3061, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002651/0.3088, allocations: 0.6807 MB / 0.7848 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002116/0.3109, allocations: 1.203 MB / 0.786 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.482e-05/0.311, allocations: 4 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.354e-05/0.3111, allocations: 3.938 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.688e-05/0.3112, allocations: 15.84 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007726/0.312, allocations: 219.2 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000247/0.3123, allocations: 183.8 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.3124, allocations: 8 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.3125, allocations: 71.88 kB / 0.7865 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.3126, allocations: 63.83 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.256e-05/0.3127, allocations: 16 kB / 0.7865 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.018e-05/0.3128, allocations: 35.92 kB / 0.7866 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.731e-05/0.3128, allocations: 11.94 kB / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.728e-05/0.3129, allocations: 67.81 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.3131, allocations: 159.6 kB / 0.7868 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3131, allocations: 0 / 0.7868 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3131, allocations: 0 / 0.7868 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3131, allocations: 0 / 0.7868 GB, free: 10.01 MB / 0.6075 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.0005907/0.3137, allocations: 438.7 kB / 0.7872 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.3138, allocations: 8.031 kB / 0.7872 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.195e-05/0.3138, allocations: 12.84 kB / 0.7872 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.314, allocations: 172.3 kB / 0.7874 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.314, allocations: 4.375 kB / 0.7874 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.3141, allocations: 16.31 kB / 0.7874 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.3142, allocations: 62.17 kB / 0.7875 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.3142, allocations: 192 / 0.7875 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.3142, allocations: 3.938 kB / 0.7875 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.3142, allocations: 0 / 0.7875 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.26e-05/0.3143, allocations: 12 kB / 0.7875 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006185/0.3149, allocations: 364.6 kB / 0.7878 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.801e-05/0.315, allocations: 46.44 kB / 0.7879 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.161e-05/0.3151, allocations: 13.92 kB / 0.7879 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.393e-06/0.3151, allocations: 0 / 0.7879 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002021/0.3153, allocations: 91.45 kB / 0.788 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.3153, allocations: 0 / 0.788 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0002934/0.3156, allocations: 125.5 kB / 0.7881 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.3156, allocations: 51.41 kB / 0.7882 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.3158, allocations: 129.8 kB / 0.7883 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.3158, allocations: 33.7 kB / 0.7883 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.169e-05/0.3159, allocations: 92.28 kB / 0.7884 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.3159, allocations: 27.72 kB / 0.7884 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.316, allocations: 49.69 kB / 0.7885 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.3161, allocations: 318.8 kB / 0.7888 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.3163, allocations: 63.95 kB / 0.7888 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.3165, allocations: 110 kB / 0.7889 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.3167, allocations: 181.3 kB / 0.7891 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3167, allocations: 0 / 0.7891 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004335/0.3171, allocations: 284.7 kB / 0.7894 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.5e-05/0.3172, allocations: 71.33 kB / 0.7895 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3172, allocations: 4 kB / 0.7895 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.3172, allocations: 4 kB / 0.7895 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.646e-05/0.3173, allocations: 4.375 kB / 0.7895 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3173, allocations: 4.156 kB / 0.7895 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003433/0.3177, allocations: 63.81 kB / 0.7895 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-05/0.3177, allocations: 15.98 kB / 0.7895 GB, free: 6.867 MB / 0.6075 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 0.0001185/0.3178, allocations: 130.4 kB / 0.7897 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.3179, allocations: 7.906 kB / 0.7897 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.288e-05/0.3179, allocations: 12.36 kB / 0.7897 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3179, allocations: 4 kB / 0.7897 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3179, allocations: 0 / 0.7897 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3179, allocations: 0 / 0.7897 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003624/0.3183, allocations: 362.5 kB / 0.79 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3183, allocations: 0 / 0.79 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.887e-06/0.3183, allocations: 0 / 0.79 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3183, allocations: 0 / 0.79 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.3183, allocations: 7.984 kB / 0.79 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.3184, allocations: 3.938 kB / 0.79 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3184, allocations: 0 / 0.79 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.3186, allocations: 199.4 kB / 0.7902 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.068e-05/0.3186, allocations: 88.95 kB / 0.7903 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.3187, allocations: 3.984 kB / 0.7903 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.335e-05/0.3187, allocations: 0 / 0.7903 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.3188, allocations: 8 kB / 0.7903 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.3188, allocations: 7.984 kB / 0.7903 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.588e-05/0.3189, allocations: 91.22 kB / 0.7904 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3189, allocations: 4 kB / 0.7904 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002836/0.3192, allocations: 35.98 kB / 0.7905 GB, free: 5.82 MB / 0.6075 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.0001908/0.3194, allocations: 103.2 kB / 0.7906 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003953/0.3198, allocations: 254.6 kB / 0.7908 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.3198, allocations: 0 / 0.7908 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.244e-05/0.3198, allocations: 40.05 kB / 0.7908 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.3202, allocations: 20.3 kB / 0.7909 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004227/0.3206, allocations: 178.3 kB / 0.791 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/0.3211, allocations: 0.6846 MB / 0.7917 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.538e-05/0.3211, allocations: 8.656 kB / 0.7917 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/0.3212, allocations: 11.44 kB / 0.7917 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.3212, allocations: 0 / 0.7917 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of Templates: time 0.005015/0.3262, allocations: 1.925 MB / 0.7936 GB, free: 2.543 MB / 0.6075 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)