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.001864/0.001864, allocations: 108 kB / 15.61 MB, free: 152 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.002383/0.002382, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.76/1.76, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.864/1.864, allocations: 292.3 MB / 0.5488 GB, free: 12.84 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.002182/0.002182, allocations: 69.91 kB / 0.6715 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3514, allocations: 114.6 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002613/0.3541, allocations: 0.681 MB / 0.784 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001725/0.3558, allocations: 1.199 MB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.744e-05/0.3559, allocations: 0 / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.666e-05/0.3559, allocations: 7.938 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.266e-05/0.356, allocations: 15.86 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007089/0.3567, allocations: 217.7 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002639/0.357, allocations: 179.8 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.3571, allocations: 19.97 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.3573, allocations: 71.89 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.3574, allocations: 51.86 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.623e-05/0.3575, allocations: 19.94 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.848e-05/0.3576, allocations: 35.92 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.672e-05/0.3576, allocations: 11.98 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.516e-05/0.3577, allocations: 59.81 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.358, allocations: 151.9 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.358, allocations: 0 / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.184e-06/0.358, allocations: 0 / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.358, allocations: 0 / 0.786 GB, free: 10.75 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.0006606/0.3587, allocations: 442.7 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.3587, allocations: 8.031 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.244e-05/0.3588, allocations: 16.84 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.359, allocations: 172.3 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.359, allocations: 4.375 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.359, allocations: 12.36 kB / 0.7866 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.3592, allocations: 50.25 kB / 0.7867 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3592, allocations: 192 / 0.7867 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.3592, allocations: 7.922 kB / 0.7867 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.3593, allocations: 0 / 0.7867 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.451e-05/0.3593, allocations: 19.94 kB / 0.7867 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000662/0.36, allocations: 356.6 kB / 0.7871 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.3601, allocations: 38.52 kB / 0.7871 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.62e-05/0.3601, allocations: 16.94 kB / 0.7871 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.3601, allocations: 0 / 0.7871 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002444/0.3604, allocations: 100.3 kB / 0.7872 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.3604, allocations: 0 / 0.7872 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003154/0.3607, allocations: 129.5 kB / 0.7873 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.3608, allocations: 51.41 kB / 0.7874 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.3609, allocations: 118.2 kB / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.3609, allocations: 33.7 kB / 0.7875 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.539e-05/0.361, allocations: 96.27 kB / 0.7876 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.3611, allocations: 19.8 kB / 0.7876 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.3612, allocations: 53.69 kB / 0.7877 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.3613, allocations: 318.8 kB / 0.788 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.3615, allocations: 63.97 kB / 0.7881 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.3617, allocations: 105.9 kB / 0.7882 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.362, allocations: 193.3 kB / 0.7883 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.362, allocations: 0 / 0.7883 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000455/0.3625, allocations: 284.8 kB / 0.7886 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.996e-05/0.3625, allocations: 67.39 kB / 0.7887 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.3626, allocations: 4 kB / 0.7887 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.3626, allocations: 3.938 kB / 0.7887 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.632e-05/0.3627, allocations: 7.984 kB / 0.7887 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.036e-06/0.3627, allocations: 4 kB / 0.7887 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003528/0.363, allocations: 55.88 kB / 0.7887 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.3631, allocations: 20.08 kB / 0.7888 GB, free: 7.613 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.000137/0.3632, allocations: 128.2 kB / 0.7889 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.3632, allocations: 7.906 kB / 0.7889 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.362e-05/0.3633, allocations: 8.375 kB / 0.7889 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.3633, allocations: 7.984 kB / 0.7889 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.3633, allocations: 0 / 0.7889 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3633, allocations: 0 / 0.7889 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003882/0.3637, allocations: 366.8 kB / 0.7893 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.3637, allocations: 0 / 0.7893 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.636e-06/0.3637, allocations: 0 / 0.7893 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3637, allocations: 0 / 0.7893 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-05/0.3638, allocations: 11.98 kB / 0.7893 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3638, allocations: 4 kB / 0.7893 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3638, allocations: 0 / 0.7893 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.364, allocations: 199.3 kB / 0.7895 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.418e-05/0.364, allocations: 89.02 kB / 0.7896 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.3641, allocations: 0 / 0.7896 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.119e-05/0.3641, allocations: 3.984 kB / 0.7896 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.3642, allocations: 8.078 kB / 0.7896 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.3642, allocations: 11.98 kB / 0.7896 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.686e-05/0.3643, allocations: 95.38 kB / 0.7897 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.314e-06/0.3643, allocations: 0 / 0.7897 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002844/0.3646, allocations: 35.92 kB / 0.7897 GB, free: 6.559 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.0001875/0.3648, allocations: 115.2 kB / 0.7898 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003779/0.3651, allocations: 258.6 kB / 0.7901 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3651, allocations: 0 / 0.7901 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.877e-05/0.3652, allocations: 28 kB / 0.7901 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.3655, allocations: 22.95 kB / 0.7901 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000414/0.366, allocations: 182.6 kB / 0.7903 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.3663, allocations: 0.6846 MB / 0.7909 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.068e-05/0.3663, allocations: 8.656 kB / 0.791 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.132e-05/0.3664, allocations: 11.44 kB / 0.791 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of SimCode: time 1.8e-07/0.3664, allocations: 0 / 0.791 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of Templates: time 0.004877/0.3712, allocations: 1.915 MB / 0.7928 GB, free: 3.277 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)