Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.451/1.451, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001235/0.001234, allocations: 172.7 kB / 327.6 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.748/1.748, allocations: 205.4 MB / 0.5786 GB, free: 20.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007195/0.0007196, allocations: 95.7 kB / 0.6833 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003429, allocations: 11.56 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1767, allocations: 106.3 MB / 0.9015 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001288/0.1781, allocations: 1.116 MB / 0.9026 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003782/0.1785, allocations: 224.2 kB / 0.9028 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.332e-05/0.1785, allocations: 0 / 0.9028 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.04e-05/0.1785, allocations: 0 / 0.9028 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.61e-05/0.1786, allocations: 7.922 kB / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001383/0.1788, allocations: 19.92 kB / 0.9028 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.168e-05/0.1788, allocations: 59.78 kB / 0.9028 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.927e-05/0.1789, allocations: 12 kB / 0.9029 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.495e-05/0.179, allocations: 27.86 kB / 0.9029 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.182e-05/0.179, allocations: 23.91 kB / 0.9029 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.1791, allocations: 3.984 kB / 0.9029 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.164e-05/0.1791, allocations: 4 kB / 0.9029 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.1791, allocations: 3.938 kB / 0.9029 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.39e-05/0.1792, allocations: 49.62 kB / 0.903 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.232e-05/0.1792, allocations: 31.92 kB / 0.903 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1792, allocations: 4 kB / 0.903 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1792, allocations: 4 kB / 0.903 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.1793, allocations: 0 / 0.903 GB, free: 61.9 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004419/0.1797, allocations: 371.6 kB / 0.9034 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.1797, allocations: 12.03 kB / 0.9034 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.046e-05/0.1798, allocations: 4.844 kB / 0.9034 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.683e-05/0.1799, allocations: 176.3 kB / 0.9035 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.1799, allocations: 384 / 0.9035 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.1799, allocations: 8.375 kB / 0.9036 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.531e-05/0.18, allocations: 66.16 kB / 0.9036 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.18, allocations: 192 / 0.9036 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.18, allocations: 7.938 kB / 0.9036 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.18, allocations: 0 / 0.9036 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.028e-05/0.1801, allocations: 19.98 kB / 0.9036 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/0.1804, allocations: 284.8 kB / 0.9039 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.601e-05/0.1805, allocations: 58.44 kB / 0.904 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.268e-05/0.1806, allocations: 16.98 kB / 0.904 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.584e-06/0.1806, allocations: 0 / 0.904 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.1807, allocations: 79.31 kB / 0.9041 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.994e-06/0.1807, allocations: 3.984 kB / 0.9041 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0002045/0.181, allocations: 109.5 kB / 0.9042 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.181, allocations: 63.41 kB / 0.9042 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.616e-05/0.1811, allocations: 117.8 kB / 0.9043 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.1811, allocations: 33.64 kB / 0.9044 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.687e-05/0.1811, allocations: 88 kB / 0.9045 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.1811, allocations: 27.72 kB / 0.9045 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.1811, allocations: 0 / 0.9045 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.368e-05/0.1812, allocations: 322.8 kB / 0.9048 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.824e-05/0.1812, allocations: 12 kB / 0.9048 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.236e-05/0.1813, allocations: 56.22 kB / 0.9049 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.463e-05/0.1813, allocations: 76.16 kB / 0.9049 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1814, allocations: 3.938 kB / 0.9049 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001126/0.1815, allocations: 101.5 kB / 0.905 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.1815, allocations: 4 kB / 0.905 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1815, allocations: 4 kB / 0.905 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.1815, allocations: 0 / 0.905 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.806e-05/0.1816, allocations: 8 kB / 0.905 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1816, allocations: 0 / 0.905 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.313e-05/0.1817, allocations: 24.64 kB / 0.9051 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.1817, allocations: 7.984 kB / 0.9051 GB, free: 59.52 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.onCounter.y,onCounter.y,$whenCondition4,$whenCondition3,$whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,$whenCondition2,reset.y,$PRE.reset.pulseStart,reset.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 prepare postOptimizeDAE: time 5.828e-05/0.1818, allocations: 127.8 kB / 0.9052 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.102e-05/0.1818, allocations: 4 kB / 0.9052 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.484e-05/0.1818, allocations: 8.375 kB / 0.9052 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1818, allocations: 4 kB / 0.9052 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.1818, allocations: 0 / 0.9052 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1818, allocations: 0 / 0.9052 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.1822, allocations: 390.3 kB / 0.9056 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1822, allocations: 3.984 kB / 0.9056 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.658e-06/0.1822, allocations: 4 kB / 0.9056 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1822, allocations: 0 / 0.9056 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1822, allocations: 4 kB / 0.9056 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1822, allocations: 0 / 0.9056 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1822, allocations: 3.938 kB / 0.9056 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.1824, allocations: 191.4 kB / 0.9058 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.026e-05/0.1824, allocations: 81.11 kB / 0.9059 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.1824, allocations: 3.938 kB / 0.9059 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.1825, allocations: 11.98 kB / 0.9059 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.1826, allocations: 19.92 kB / 0.9059 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.1826, allocations: 7.984 kB / 0.9059 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.027e-05/0.1826, allocations: 91.28 kB / 0.906 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1826, allocations: 0 / 0.906 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002153/0.1829, allocations: 23.91 kB / 0.906 GB, free: 58.46 MB / 0.6042 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 (booPul.y,reset.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,onCounter.y,booPul.pulseStart,reset.pulseStart) * 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 9.358e-05/0.183, allocations: 103.2 kB / 0.9061 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001203/0.1831, allocations: 60.47 kB / 0.9062 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1831, allocations: 0 / 0.9062 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.775e-05/0.1832, allocations: 39.86 kB / 0.9062 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.1834, allocations: 26.08 kB / 0.9062 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003268/0.1838, allocations: 209 kB / 0.9064 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.1839, allocations: 0.6888 MB / 0.9071 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.723e-05/0.1839, allocations: 11.44 kB / 0.9071 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of SimCode: time 1.112e-06/0.1839, allocations: 0 / 0.9071 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of Templates: time 0.001965/0.1859, allocations: 1.003 MB / 0.9081 GB, free: 56.28 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)