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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.882/1.882, allocations: 292.3 MB / 308.1 MB, free: 4.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001875/0.001876, allocations: 185.5 kB / 376.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 205 MB / 0.6354 GB, free: 9.816 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001283/0.001283, allocations: 98.2 kB / 0.748 GB, free: 61.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 55.91 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2603, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002114/0.2625, allocations: 0.7467 MB / 0.983 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.2641, allocations: 1.223 MB / 0.9842 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.246e-05/0.2642, allocations: 0 / 0.9842 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.086e-05/0.2642, allocations: 3.938 kB / 0.9842 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.932e-05/0.2643, allocations: 11.92 kB / 0.9842 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006922/0.265, allocations: 199.7 kB / 0.9844 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.2652, allocations: 163.6 kB / 0.9845 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.694e-05/0.2653, allocations: 15.98 kB / 0.9845 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.2654, allocations: 59.88 kB / 0.9846 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.604e-05/0.2655, allocations: 47.88 kB / 0.9846 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.393e-05/0.2656, allocations: 12 kB / 0.9846 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.915e-05/0.2656, allocations: 23.98 kB / 0.9847 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.039e-05/0.2657, allocations: 19.91 kB / 0.9847 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.665e-05/0.2658, allocations: 43.84 kB / 0.9847 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.266, allocations: 151.8 kB / 0.9849 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.266, allocations: 4 kB / 0.9849 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.51e-07/0.266, allocations: 0 / 0.9849 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.266, allocations: 0 / 0.9849 GB, free: 7.668 MB / 0.7136 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.000525/0.2665, allocations: 439.4 kB / 0.9853 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.2666, allocations: 16.03 kB / 0.9853 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.742e-05/0.2666, allocations: 12.84 kB / 0.9853 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.2668, allocations: 164.4 kB / 0.9855 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.2668, allocations: 8.375 kB / 0.9855 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/0.2668, allocations: 8.375 kB / 0.9855 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.2669, allocations: 50.23 kB / 0.9855 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.267, allocations: 192 / 0.9855 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.267, allocations: 7.938 kB / 0.9855 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.267, allocations: 0 / 0.9855 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.981e-05/0.267, allocations: 19.92 kB / 0.9856 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000477/0.2675, allocations: 356.7 kB / 0.9859 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.573e-05/0.2676, allocations: 38.5 kB / 0.9859 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.904e-05/0.2676, allocations: 16.86 kB / 0.986 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.2676, allocations: 7.922 kB / 0.986 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.2678, allocations: 103.4 kB / 0.9861 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.2678, allocations: 0 / 0.9861 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002609/0.2681, allocations: 121.5 kB / 0.9862 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.2682, allocations: 55.41 kB / 0.9862 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.517e-05/0.2683, allocations: 117.8 kB / 0.9863 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.2683, allocations: 37.7 kB / 0.9864 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/0.2684, allocations: 96.22 kB / 0.9865 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.2684, allocations: 19.8 kB / 0.9865 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.568e-05/0.2685, allocations: 53.69 kB / 0.9865 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.542e-05/0.2686, allocations: 318.8 kB / 0.9868 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.2687, allocations: 59.97 kB / 0.9869 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.2689, allocations: 113.9 kB / 0.987 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.2691, allocations: 189.3 kB / 0.9872 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2691, allocations: 0 / 0.9872 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004213/0.2696, allocations: 280.9 kB / 0.9875 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.911e-05/0.2696, allocations: 71.39 kB / 0.9875 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.2696, allocations: 0 / 0.9875 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.2697, allocations: 4 kB / 0.9875 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.8e-05/0.2697, allocations: 4 kB / 0.9875 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.2697, allocations: 7.984 kB / 0.9875 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003461/0.2701, allocations: 59.86 kB / 0.9876 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.2701, allocations: 8 kB / 0.9876 GB, free: 4.539 MB / 0.7136 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.0001043/0.2702, allocations: 148.5 kB / 0.9878 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.2702, allocations: 8.281 kB / 0.9878 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.405e-05/0.2703, allocations: 4.375 kB / 0.9878 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2703, allocations: 0 / 0.9878 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2703, allocations: 0 / 0.9878 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2703, allocations: 3.938 kB / 0.9878 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.2706, allocations: 370.4 kB / 0.9881 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2706, allocations: 0 / 0.9881 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.169e-05/0.2707, allocations: 4 kB / 0.9881 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.2707, allocations: 0 / 0.9881 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.2707, allocations: 0 / 0.9881 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2707, allocations: 0 / 0.9881 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2707, allocations: 4 kB / 0.9881 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004892/0.2712, allocations: 0.7706 MB / 0.9889 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.2712, allocations: 81.11 kB / 0.989 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.2713, allocations: 11.92 kB / 0.989 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.27e-05/0.2713, allocations: 11.94 kB / 0.989 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.2714, allocations: 0 / 0.989 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.2714, allocations: 7.984 kB / 0.989 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.188e-05/0.2715, allocations: 91.27 kB / 0.9891 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2715, allocations: 0 / 0.9891 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003694/0.2718, allocations: 43.91 kB / 0.9891 GB, free: 2.852 MB / 0.7136 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.0001572/0.272, allocations: 108.9 kB / 0.9892 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003803/0.2724, allocations: 258.6 kB / 0.9895 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.2724, allocations: 0 / 0.9895 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.311e-05/0.2725, allocations: 36.12 kB / 0.9895 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.2728, allocations: 20.11 kB / 0.9895 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004841/0.2733, allocations: 303.4 kB / 0.9898 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.2737, allocations: 0.6887 MB / 0.9905 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.451e-05/0.2737, allocations: 8.672 kB / 0.9905 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.2737, allocations: 15.44 kB / 0.9905 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.2737, allocations: 3.938 kB / 0.9905 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of Templates: time 0.004562/0.2783, allocations: 1.892 MB / 0.9924 GB, free: 15.46 MB / 0.7292 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)