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.001549/0.001549, allocations: 105.3 kB / 16.36 MB, free: 6.309 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.001605/0.001605, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.418/1.418, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.929/1.929, allocations: 292.3 MB / 0.5496 GB, free: 17.44 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.00229/0.00229, allocations: 75.19 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2234, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001894/0.2253, allocations: 0.6855 MB / 0.7855 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.2267, allocations: 1.195 MB / 0.7866 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.576e-05/0.2268, allocations: 0 / 0.7866 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.124e-05/0.2268, allocations: 7.938 kB / 0.7866 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.241e-05/0.2269, allocations: 19.86 kB / 0.7867 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005955/0.2275, allocations: 217.4 kB / 0.7869 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.2277, allocations: 179.8 kB / 0.787 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.609e-05/0.2278, allocations: 15.98 kB / 0.7871 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.699e-05/0.2279, allocations: 75.81 kB / 0.7871 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.2281, allocations: 63.84 kB / 0.7872 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.171e-05/0.2281, allocations: 16 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.426e-05/0.2282, allocations: 31.98 kB / 0.7872 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.2282, allocations: 11.92 kB / 0.7872 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.917e-05/0.2283, allocations: 59.81 kB / 0.7873 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.2285, allocations: 159.6 kB / 0.7875 GB, free: 432 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.2285, allocations: 0 / 0.7875 GB, free: 432 kB / 0.6544 GB Notification: Performance of FrontEnd: time 9.71e-07/0.2285, allocations: 0 / 0.7875 GB, free: 432 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.2285, allocations: 0 / 0.7875 GB, free: 432 kB / 0.6544 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.421/0.6495, allocations: 434.5 kB / 0.7879 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.6496, allocations: 8.969 kB / 0.7879 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.26e-05/0.6497, allocations: 10.89 kB / 0.7879 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.6498, allocations: 183.8 kB / 0.7881 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.6499, allocations: 7.062 kB / 0.7881 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.942e-05/0.6499, allocations: 10.86 kB / 0.7881 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.65, allocations: 51.31 kB / 0.7881 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.6501, allocations: 1.594 kB / 0.7881 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.6501, allocations: 3.938 kB / 0.7881 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.6501, allocations: 2.906 kB / 0.7881 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.165e-05/0.6501, allocations: 11.73 kB / 0.7881 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005151/0.6507, allocations: 352.5 kB / 0.7885 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.293e-05/0.6508, allocations: 41.56 kB / 0.7885 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.622e-05/0.6508, allocations: 20.91 kB / 0.7885 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.367e-06/0.6508, allocations: 1.688 kB / 0.7885 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.651, allocations: 96.2 kB / 0.7886 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.651, allocations: 0 / 0.7886 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0002691/0.6513, allocations: 125.6 kB / 0.7888 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.6513, allocations: 54.81 kB / 0.7888 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.633e-05/0.6514, allocations: 116.6 kB / 0.7889 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.6514, allocations: 39.28 kB / 0.789 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.6515, allocations: 95.64 kB / 0.789 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.6515, allocations: 18.83 kB / 0.7891 GB, free: 48 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.173e-05/0.6516, allocations: 54.03 kB / 0.7891 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.663e-05/0.6516, allocations: 321.3 kB / 0.7894 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.6518, allocations: 59.83 kB / 0.7895 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.6519, allocations: 114.2 kB / 0.7896 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.6521, allocations: 186.6 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.6521, allocations: 2.078 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003766/0.6525, allocations: 285.3 kB / 0.79 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.457e-05/0.6525, allocations: 67.58 kB / 0.7901 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.6526, allocations: 2.688 kB / 0.7901 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.6526, allocations: 2.656 kB / 0.7901 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.415e-05/0.6526, allocations: 8.938 kB / 0.7901 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.6526, allocations: 2.688 kB / 0.7901 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000324/0.653, allocations: 59.59 kB / 0.7902 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/0.653, allocations: 12.69 kB / 0.7902 GB, free: 47.33 MB / 0.6544 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 8.806e-05/0.6531, allocations: 128.5 kB / 0.7903 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.6531, allocations: 7.25 kB / 0.7903 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.02e-05/0.6532, allocations: 16.55 kB / 0.7903 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.6532, allocations: 0 / 0.7903 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.6532, allocations: 0 / 0.7903 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.6532, allocations: 0 / 0.7903 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.6535, allocations: 359.4 kB / 0.7907 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.6535, allocations: 2.062 kB / 0.7907 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.829e-06/0.6535, allocations: 4 kB / 0.7907 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.6535, allocations: 2.953 kB / 0.7907 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.6535, allocations: 8.875 kB / 0.7907 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.6536, allocations: 0.7188 kB / 0.7907 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.6536, allocations: 0 / 0.7907 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.6537, allocations: 204.1 kB / 0.7909 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.6538, allocations: 86.95 kB / 0.791 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.6538, allocations: 2.156 kB / 0.791 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.08e-05/0.6539, allocations: 6.75 kB / 0.791 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.6539, allocations: 3.688 kB / 0.791 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.6539, allocations: 11.86 kB / 0.791 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.915e-05/0.654, allocations: 98.62 kB / 0.7911 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.654, allocations: 1.062 kB / 0.7911 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002823/0.6543, allocations: 28.06 kB / 0.7911 GB, free: 46.6 MB / 0.6544 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.0001881/0.6545, allocations: 113.6 kB / 0.7912 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003389/0.6548, allocations: 257.2 kB / 0.7915 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6548, allocations: 0 / 0.7915 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.261e-05/0.6549, allocations: 35.86 kB / 0.7915 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.6552, allocations: 22.77 kB / 0.7915 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003614/0.6556, allocations: 200.6 kB / 0.7917 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.6557, allocations: 0.6882 MB / 0.7924 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.987e-05/0.6557, allocations: 10.06 kB / 0.7924 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.6558, allocations: 0 / 0.7924 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of Templates: time 0.003178/0.6589, allocations: 1.484 MB / 0.7938 GB, free: 45.48 MB / 0.6544 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)