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.0008133/0.0008136, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009539/0.0009538, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.737/1.737, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005628/0.0005629, allocations: 16.12 kB / 0.6737 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2352, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.0008346/0.2361, allocations: 413.6 kB / 0.7877 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.2377, allocations: 1.181 MB / 0.7888 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.725e-05/0.2377, allocations: 0 / 0.7888 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.709e-05/0.2378, allocations: 0 / 0.7888 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.463e-05/0.2378, allocations: 7.875 kB / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006539/0.2385, allocations: 203.3 kB / 0.789 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.2387, allocations: 143.7 kB / 0.7892 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.785e-05/0.2388, allocations: 4 kB / 0.7892 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.2389, allocations: 63.89 kB / 0.7892 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.324e-05/0.239, allocations: 43.86 kB / 0.7893 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.239, allocations: 11.94 kB / 0.7893 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.496e-05/0.2391, allocations: 23.98 kB / 0.7893 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.2391, allocations: 7.984 kB / 0.7893 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.867e-05/0.2392, allocations: 45.7 kB / 0.7894 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.2393, allocations: 115.8 kB / 0.7895 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2393, allocations: 0 / 0.7895 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2393, allocations: 0 / 0.7895 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.2394, allocations: 0 / 0.7895 GB, free: 9.664 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.0004294/0.2398, allocations: 406.6 kB / 0.7899 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.2398, allocations: 12.03 kB / 0.7899 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.527e-05/0.2399, allocations: 7.984 kB / 0.7899 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.24, allocations: 174.9 kB / 0.7901 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.24, allocations: 8 kB / 0.7901 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.2401, allocations: 16 kB / 0.7901 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.2402, allocations: 45.67 kB / 0.7901 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.2402, allocations: 0 / 0.7901 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.2402, allocations: 0 / 0.7901 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.2402, allocations: 4 kB / 0.7901 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.937e-05/0.2403, allocations: 19.92 kB / 0.7901 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.2408, allocations: 352.7 kB / 0.7905 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.676e-05/0.2409, allocations: 42.56 kB / 0.7905 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.788e-05/0.2409, allocations: 20.94 kB / 0.7905 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.2409, allocations: 0 / 0.7905 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.2411, allocations: 91.2 kB / 0.7906 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.2411, allocations: 0 / 0.7906 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0002518/0.2414, allocations: 117.9 kB / 0.7907 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.2414, allocations: 71.44 kB / 0.7908 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.579e-05/0.2415, allocations: 121.7 kB / 0.7909 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.2415, allocations: 29.7 kB / 0.791 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.539e-05/0.2416, allocations: 92.36 kB / 0.791 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.2416, allocations: 19.8 kB / 0.7911 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-05/0.2417, allocations: 8 kB / 0.7911 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.788e-05/0.2418, allocations: 326.8 kB / 0.7914 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.2419, allocations: 55.97 kB / 0.7914 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.2421, allocations: 116.7 kB / 0.7915 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.2422, allocations: 119.4 kB / 0.7917 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.2422, allocations: 0 / 0.7917 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004026/0.2426, allocations: 284.8 kB / 0.7919 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.985e-05/0.2427, allocations: 67.41 kB / 0.792 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2427, allocations: 0 / 0.792 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.2427, allocations: 8.078 kB / 0.792 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.12e-05/0.2428, allocations: 11.92 kB / 0.792 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2428, allocations: 0 / 0.792 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000348/0.2431, allocations: 83.89 kB / 0.7921 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.2432, allocations: 19.98 kB / 0.7921 GB, free: 6.676 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 ($PRE.onCounter.y,onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$PRE.reset.y,reset.y,$whenCondition1,$PRE.booPul.y,booPul.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.674e-05/0.2433, allocations: 124.3 kB / 0.7922 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/0.2433, allocations: 7.906 kB / 0.7922 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.54e-05/0.2433, allocations: 16.3 kB / 0.7923 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2433, allocations: 4 kB / 0.7923 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2434, allocations: 0 / 0.7923 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.2434, allocations: 0 / 0.7923 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003072/0.2437, allocations: 354.5 kB / 0.7926 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2437, allocations: 0 / 0.7926 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.206e-05/0.2437, allocations: 7.984 kB / 0.7926 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2437, allocations: 0 / 0.7926 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.2437, allocations: 4 kB / 0.7926 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2437, allocations: 0 / 0.7926 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2437, allocations: 3.953 kB / 0.7926 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.2439, allocations: 195.5 kB / 0.7928 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.941e-05/0.244, allocations: 85.02 kB / 0.7929 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.244, allocations: 3.984 kB / 0.7929 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.005e-05/0.244, allocations: 8 kB / 0.7929 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.2441, allocations: 7.984 kB / 0.7929 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.2441, allocations: 7.953 kB / 0.7929 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.821e-05/0.2442, allocations: 95.75 kB / 0.793 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2442, allocations: 0 / 0.793 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002731/0.2444, allocations: 36 kB / 0.793 GB, free: 5.637 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001473/0.2446, allocations: 103.2 kB / 0.7931 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003382/0.2449, allocations: 266.6 kB / 0.7934 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.245, allocations: 4 kB / 0.7934 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.362e-05/0.245, allocations: 31.94 kB / 0.7934 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.2453, allocations: 15.98 kB / 0.7934 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000329/0.2456, allocations: 185.8 kB / 0.7936 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.2459, allocations: 0.6887 MB / 0.7943 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.198e-05/0.2459, allocations: 12.66 kB / 0.7943 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.673e-05/0.246, allocations: 11.44 kB / 0.7943 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.246, allocations: 0 / 0.7943 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of Templates: time 0.004056/0.25, allocations: 1.752 MB / 0.796 GB, free: 2.512 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: